-----BEGIN PGP SIGNED MESSAGE-----
On 11/08/11 19:55, David Uhlmann wrote:
> Dear all,
> I want to run a Backup to 2 NAS-Systems, attached via NFS. Because BackupPC can do backups to only one folder, my idea is this:
> Create Directory /backup
> Run a Cron Job to mount the NAS via NFS, linked to the /backup-Folder. After the Job, umount the NAS and mount the other one.
> What do you think about that solution?
Depends on what you want to end up with:
1) Backup day1,3,5,7,9,etc on nas1 and day 2,4,6,8,etc on nas2
2) Have all backups on nas1 and nas2
To get the first one, similar to what you have, but more complete would be:
1) shutdown backuppc and ensure all processes have completed/stopped
2) umount /backup, mount the required nas to /backup
3) startup backuppc,
4) ensure all backups are triggered
5) ensure the daily run will happen
6) go back to step 1
To get the second one to happen, depending on how your NAS is being
presented (iSCSI would be ideal), just use linux software RAID1 (md
driver) and mount the resulting md array on /backup. This will ensure
all backups are always stored on both nas boxes.
There are advantages and dis advantages to both options. The first
method means half your backups are offline (unmounted) and thus you
can't restore them. Equally, you can't damage them either intentionally
nor accidentally (through bug or otherwise).
I hope this gives you some ideas/suggestions to think about.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----