I would like to backup our servers via rsync to a central backup server. The problem is that the DA built-in backup script compresses each account to a single file, and this is not optimal for a hardlinked backup rotation.
Rsync will do incremental backups on large zip files, where it only transfers the blocks that have changed (thus saving network bandwidth), but if just 1 block is changed, the file cannot be hardlinked to its previous version (to save disk space). If the files are uncompressed, the unchanged files can be hardlinked and only the files the actually changed will take up extra space.
I have the rotation scripts written and tested with non-DA servers, but I would like to use the DA backup script to do the actual account backups on the DA servers rather than write my own (reinventing the wheel etc).
Is there a way to have the DA backups just backup the accounts (without compressing) to a specified directory and then have an rsync script fired off afterwards?
Does anyone have any ideas for the correct way of doing this, or a better way?
Or failing that, can someone point me at the backup script so that I can rewrite it to suit our situation?
Cheers,
Daz
Rsync will do incremental backups on large zip files, where it only transfers the blocks that have changed (thus saving network bandwidth), but if just 1 block is changed, the file cannot be hardlinked to its previous version (to save disk space). If the files are uncompressed, the unchanged files can be hardlinked and only the files the actually changed will take up extra space.
I have the rotation scripts written and tested with non-DA servers, but I would like to use the DA backup script to do the actual account backups on the DA servers rather than write my own (reinventing the wheel etc).
Is there a way to have the DA backups just backup the accounts (without compressing) to a specified directory and then have an rsync script fired off afterwards?
Does anyone have any ideas for the correct way of doing this, or a better way?
Or failing that, can someone point me at the backup script so that I can rewrite it to suit our situation?
Cheers,
Daz