Difference between revisions of "Talk:Backup with dar"
From SME Server
Jump to navigationJump to search (→Instructions are outdated: new section) |
|||
Line 1: | Line 1: | ||
+ | == 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 == | == Instructions are outdated == | ||
AFAIK the installation instructions are outdated as SME Server 7.4 comes with a built in backup that can use dar. <small>— [[User:Cactus|Cactus]] ([[User talk:Cactus|talk]] | [[Special:Contributions/Cactus|contribs]]) </small> 22:12, 26 November 2008 (UTC) | AFAIK the installation instructions are outdated as SME Server 7.4 comes with a built in backup that can use dar. <small>— [[User:Cactus|Cactus]] ([[User talk:Cactus|talk]] | [[Special:Contributions/Cactus|contribs]]) </small> 22:12, 26 November 2008 (UTC) |
Revision as of 15:04, 14 December 2008
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)