Hello Helmut,
Am Samstag, den 28.07.2007, 14:37 +0200 schrieb Helmut Hullen:
Hallo, Dominik,
Du (dominik) meintest am 28.07.07:
For this I tried the pre and post script feaure of rsnapshot to
unlock, mount, backup (rsnapshot), unmount, lock the harddisk.
[...]
I think it is possible to unlock and mount the harddisk with a own
script and let then execute rsnapshot by this script.
I prefer this way.
I wrote a script by myself which did all the uncrypt, mount, backup
(rsnapshot), umount an crypt stuff.
It works fine but for this I didn't use the rsnapshot pre and post
features.
I thought it would be more flexible to use the pre and post feature. Now
I only do a hourly backup and can not use a daily, weekly, monthly, ...
backup.
On a server which mount and unmount the directory befor the backup it
would be nice to execute the pre script befor all other rsnapshot tasks.
So you always have to write one more script to mount the
partition/harddisk for example with the rsnapshot cronjob for hourly,
daily etc. (for example).
These are just my thoughts about using rsnapshot for backups with
mounted partitions/harddisks.
I do some more testing when I set up some new Xen systems which I have
to backup with rsnapshot.
But it would be better when a pre script in rsnapshot is executed
before every other task that rsnapshot do. So it is a real pre
script.
How will you manage the case "no target found"?
Do a check in the pre script if the target directory/file is available.
Otherwise stop or something like this. But I think I can not tell
rsnapshot not to start if something go wrong in the pre script. Or can
I?
Best regards
Dominik Schips
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss
