rsnapshot-discuss-request < at > lists.sourceforge.net schrieb:
[Update]
I am watching some bad 'funny' behaviour ... *backup data* is deleted.
*Versions*
rsnapshot 1.2
rsync 2.6.4pre2
*Parameters*
rsync -azx (x because of one_fs = 1)
rsync --delete --numeric-ids --relative --partial --delete-excluded
*Backups are performed in the following order*
backup root < at > server:/partition1/ to snapshot_root
backup root < at > server:/partition2/ to snapshot_root
backup root < at > server:/partition3/ to snapshot_root
backup root < at > server:/partition4/ to snapshot_root
backup root < at > server:/partition5/ to snapshot_root
backup root < at > server:/ to snapshot_root
*Result*
All five partitions 1-5 are backuped fine.
In the last step all *five partitions 1-5 are deleted and only / is
kept* in hourly.0.
Off course 'only' the backups are deleted not the original partitions.
!!!: IF you use a script to crosscheck the single backup command lines
against every single resulting backup directory everything will look fine.
Off course / is also an extra partition.
And all six partitions are on the same server.
In my understanding every partition is a different filesystem and the
activated one_fs should handle the backups independently.
*???*
/ is ext3, the other partitions are reiserfs
Is this bad 'funny' behaviour a bug or a feature?
Maybe there is a bug in some "auto exclude" feature?
The logs don't show any rsync "auto exclude" commands.
I will put the backup of / into the first line and check what happens then.
I have two other backup configurations where the backup of
root < at > another-server/ is in the first line and it works fine.
Also on this server the same behaviour -> If the root backup (/) runs
first everything is fine.
I am not sure where the deletion (some invisible rm command) comes from,
but I feel there is something wrong with the "one_fs" behaviour (in
cooperation with rsync) or I have a misunderstanding with the functional
concept of what "one filesystem" is all about.
Right now (rsnapshot 1.2 + rsync 2.6.4pre2) it seems to me that nested
filesystems must be backupped with rsnapshot in the order from / down.
In other words: A 'higher' directory level must come first. In more
complex storage server configurations - n filesystems mounted in
different places - a wrong backup order could result in backup data loss
without seeing the 'invisible rm command' in the rsnapshot protocol!
Markus
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss
