[wellylug] Rotating backups

Duane Griffin duaneg at dghda.com
Sun Apr 29 10:35:55 NZST 2012


Hi,

On 28 April 2012 22:23, Phil Donaldson <philtm at anyware.co.nz> wrote:
> Can anyone suggest a good tool to use to set up rotating backups on my suse 10.1 file server?
>
> Backups will be written to my NAS disk and I'll swap the disk every week so I have offsite backups.
> I'm looking for both daily and fortnightly rotating backups.
> Every day the backup will be written to a file named daily-mon, daily-tue, daily-wed etc so I end up with 7 daily backups going back 1 week that over-write each other.
> Every fortnight the backup file will be written to a file named weekly-1, weekly-2, weekly-3 etc so I end up with 26 fortnightly backups going back a year that over-write each other.

What is it you need to backup? The whole system, some databases, just
a bunch of files? Is it just a single machine? What sort of restore
capabilities do you need?

Assuming it is something straight-forward (single machine, just a few
directories and a small database or two, only basic restore
requirements) then a simple shell script and logrotate would be the
quickest and easiest way to go. On the other hand, it will be fragile
and won't scale well. A more professional solution would be to use a
tool like bacula which is excellent, extremely powerful, but not quick
or easy to setup if you aren't familiar with it.

> Thanks,
> Phil

Cheers,
Duane.

--
"I never could learn to drink that blood and call it wine" - Bob Dylan



More information about the wellylug mailing list