Line 3: |
Line 3: |
| [http://dar.linux.free.fr/ DAR homepage] | | [http://dar.linux.free.fr/ DAR homepage] |
| | | |
− | ===Detailed Information===
| + | ===Backup disk size limits workaround=== |
− | | |
− | ====What is e-smith-backup with dar ?====
| |
− | | |
− | e-smith-backup with dar is an upgrade of e-smith-backup sme core rpm which provides panels for daily full or incremental backup on LAN workstation (via nfs or cifs) or local usb disk, and full or selective restore with use of dar program.
| |
− | | |
− | ====Are new functions provided ?====
| |
− | | |
− | Yes. Aside use of session timeout, the first is incremental backup.
| |
− | This means that you can backup and restore data for the period of time you want : one day, three days, one week, one month, 100 days... and restore your system at any state it was during this period of time. This probably has no utility to do full restore of the system as it was one month ago, but restoring a file lost by a user two or three weeks ago can be useful. And restoring a safe system more than one day old can be needed.
| |
− | | |
− | The second function is keeping more than one set of backup (a set is full backup data and all datas of next daily incremental backups) with automatic rotation. e.g. you can do only nightly full backups but keep three sets of backup for security reason (as being able to restore the system as it was 72h ago).
| |
− | | |
− | The third function is selective restore of any saved file or directory, exactly as it was for any of the saved days in your sets. Not only you can restore a lost file at it's last state, but also say : make restore of the most recent version of the file before this given date... Selective restore is not an easy thing to manage by hand, and providing this in a simple way with panels is useful. Dar permits to manage selective restore and e-smith-backup with dar panels tries to keep this function as simple as possible to use.
| |
− | | |
− | ===Practical setup tips===
| |
− | | |
− | ====Typical settings====
| |
− | | |
− | Change these to suit your particular situation.
| |
− | | |
− | In a typical scenario with Windows workstations backing up to a removable or attached drive in a workstation, with a weekly full backup on Friday and subsequent daily incremental backups & you wish to retain 2 backup sets on each disk, with backup to start at 8pm and finish at 8am, use the following settings.
| |
− | | |
− | Backup is enabled.
| |
− | | |
− | Backup is made on LAN workstation netshare via smbfs
| |
− | | |
− | Destination backup share folder is backup
| |
− | | |
− | Login is backupuser
| |
− | | |
− | Password is ********
| |
− | | |
− | Number of rotating backup sets is 2
| |
− | | |
− | Number of daily backups contained in each set is 7
| |
− | | |
− | Compression level (0-7) of backup is 4
| |
− | | |
− | Daily backup occurs at 20:00
| |
− | | |
− | Each daily backup session is cleanly timed out after 12h except full backups which are cleanly timed out after 24 hours
| |
− | | |
− | Full backup session (new backup sets) is allowed only on Friday
| |
− | | |
− | | |
− | ====Backup disk size limits workaround====
| |
| | | |
| If having issues with the size of removable backup disks (eg 120Gb IDE on a workstation) versus the resultant backup data size (eg 120Gb of data compressing to approx 50Gb), then you can manually setup a cron job to delete the old backup file(s) before saving the new backup file(s). | | If having issues with the size of removable backup disks (eg 120Gb IDE on a workstation) versus the resultant backup data size (eg 120Gb of data compressing to approx 50Gb), then you can manually setup a cron job to delete the old backup file(s) before saving the new backup file(s). |
Line 95: |
Line 49: |
| 50 1 * * 6 root . /opt/scripts/deletebkp1 | | 50 1 * * 6 root . /opt/scripts/deletebkp1 |
| | | |
− | ====Howto set the backup file slice size====
| + | ===Howto set the backup file slice size=== |
| | | |
| The default slice or part setting is 700Mb (to suit CD's). | | The default slice or part setting is 700Mb (to suit CD's). |
Line 125: |
Line 79: |
| | | |
| | | |
− | ====Adding Directories and Files to the list of backup inclusions====
| + | ===Adding Directories and Files to the list of backup inclusions=== |
| | | |
| {{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, as indicated, but that should typically be the extent of changes made.}} |