Line 240: |
Line 240: |
| ===Adding/Excluding Directories and Files from the backup list=== | | ===Adding/Excluding Directories and Files from the backup list=== |
| | | |
− | {{Warning box|The e-smith-backup panel is designed to be used as a full disaster recovery backup & restore method for your sme server, and as such relies on the correct directories being included in the backup. Do not delete any of the default directories from 40go-into as these are all essential for a successful full Restore of your backup to a clean install of the sme server operating system (you will need to reinstall add on apps or contribs). You can safely add directories eg /opt, as indicated, but that should typically be the extent of changes made.}} | + | {{Warning box|The e-smith-backup panel is designed to be used as a full disaster recovery backup & restore method for your sme server, and as such relies on the correct directories being included in the backup. Do not delete any of the default directories from 40go-into as these are all essential for a successful full Restore of your backup to a clean install of the sme server operating system (you will need to reinstall add on apps or contribs). You can safely add directories eg /opt (without leading '/' ), as indicated, but that should typically be the extent of changes made.}} |
| ====Adding Files and Directories==== | | ====Adding Files and Directories==== |
| The default backup does not include /opt | | The default backup does not include /opt |
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> |
Line 406: |
Line 406: |
| {{Note box|Unmount the backup destination after any manual exploration: | | {{Note box|Unmount the backup destination after any manual exploration: |
| umount $(config getprop backupwk Mount)}} | | umount $(config getprop backupwk Mount)}} |
| + | |
| ---- | | ---- |
| | | |
| [[Category: Backup]] | | [[Category: Backup]] |
− | [[Category:Howto]] | + | [[Category: Howto]] |