Changes

From SME Server
Jump to navigationJump to search
27 bytes added ,  22:19, 15 March 2020
no edit summary
Line 385: Line 385:  
  mount /dev/sdc1 /media/BackupDrive1/
 
  mount /dev/sdc1 /media/BackupDrive1/
   −
You can mount the configured CIFS/SMB destination using<syntaxhighlight>
+
You can mount the configured CIFS/SMB destination using<syntaxhighlight lang="bash" >
 
mount -t cifs //$(config getprop backupwk SmbHost)/$(config getprop backupwk SmbShare) $(config getprop backupwk Mount) -o credentials=/etc/dar/CIFScredentials
 
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>
+
</syntaxhighlight>List available backups<syntaxhighlight lang="bash" >
 
find $(config getprop backupwk Mount)/$(config get SystemName).$(config get DomainName) -name "*.1.dar" | sed s/\.1\.dar$//
 
find $(config getprop backupwk Mount)/$(config get SystemName).$(config get DomainName) -name "*.1.dar" | sed s/\.1\.dar$//
 
</syntaxhighlight>
 
</syntaxhighlight>
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,254

edits

Navigation menu