Talk:Backup with dar
From SME Server
Add how to exclude an ibay from the backup?
Should there also be added a section on how to avoid an ibay being backed up. You may not want to back up an ibay that is a mirror for instance.
create a custom template, 45prune, in /etc/e-smith/templates-custom/etc/dar/DailyBackup.dcf/
{
my @excludes = ('home/e-smith/files/ibays/ibaytoexclude1','home/e-smith/files/ibays/ibaytoexclude2');
foreach my $dir ( @excludes ) { $OUT .= "--prune $dir\n"; }
}
expand-template /etc/dar/DailyBackup.dcf
Add how to start a one-off backup?
To backup up to workstation as a one-off, not a scheduled event, run
/sbin/e-smith/do_backupwk
However note that scheduled backups must be enabled for the above command to work.
mc dar plugin
This is mentioned in the text, but not how to use it.