Talk:Backup with dar
From SME Server
Revision as of 15:04, 14 December 2008 by Wellsi (talk | contribs) (→Add information on prune and starting a one-off backup)
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.
Instructions are outdated
AFAIK the installation instructions are outdated as SME Server 7.4 comes with a built in backup that can use dar. — Cactus (talk | contribs) 22:12, 26 November 2008 (UTC)