Changes

From SME Server
Jump to navigationJump to search
548 bytes added ,  14:48, 19 July 2018
replace "/mnt/smb" with "$(config getprop backupwk Mount)" in manual mount/list/unmount notes
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) $(config getprop backupwk Mount) -o credentials=/etc/dar/CIFScredentials
 +
</syntaxhighlight>List available backups<syntaxhighlight>
 +
find $(config getprop backupwk Mount)/$(config get SystemName).$(config get DomainName) -name "*.1.dar" | sed s/\.1\.dar$//
 +
</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 $(config getprop backupwk Mount)}}
 
----
 
----
    
[[Category: Backup]]
 
[[Category: Backup]]
 
[[Category:Howto]]
 
[[Category:Howto]]

Navigation menu