Changes

From SME Server
Jump to navigationJump to search
449 bytes added ,  13:25, 19 July 2018
Add notes on manually mounting the configured backup destination, finding backup sets, and unmounting
Line 382: Line 382:  
First, MOUNT THE BACKUP DRIVE (if required):
 
First, MOUNT THE BACKUP DRIVE (if required):
 
  mount /dev/sdc1 /media/BackupDrive1/
 
  mount /dev/sdc1 /media/BackupDrive1/
 +
 +
You can mount the configured CIFS/SMB destination using<syntaxhighlight>
 +
mount -t cifs //$(config getprop backupwk SmbHost)/$(config getprop backupwk SmbShare) /mnt/smb -o credentials=/etc/dar/CIFScredentials
 +
</syntaxhighlight>List available backup sets using<syntaxhighlight>
 +
ls /mnt/smb/$(config get SystemName).$(config get DomainName)/
 +
</syntaxhighlight>
    
Then, RESTORE THE DIRECTORY:
 
Then, RESTORE THE DIRECTORY:
Line 389: Line 395:     
{{Warning box|Be sure to use -R ./ (the dot) to restore in the current dir, otherwise you'll restore files/dirs in their original path}}
 
{{Warning box|Be sure to use -R ./ (the dot) to restore in the current dir, otherwise you'll restore files/dirs in their original path}}
  −
      
You may also have to RESTORE ANY INCREMENTS:
 
You may also have to RESTORE ANY INCREMENTS:
Line 398: Line 402:  
  dar -x /media/BackupDrive1/server.domain.local/set2/inc-004-201408132200.1.dar -N -R ./ -w -g home/e-smith/files/ibays/share_data/files
 
  dar -x /media/BackupDrive1/server.domain.local/set2/inc-004-201408132200.1.dar -N -R ./ -w -g home/e-smith/files/ibays/share_data/files
   −
 
+
{{Note box|Unmount the backup destination after any manual exploration:
 +
  umount /mnt/smb}}
 
----
 
----
    
[[Category: Backup]]
 
[[Category: Backup]]
 
[[Category:Howto]]
 
[[Category:Howto]]

Navigation menu