Hi,
Op Ma, december 4, 2006 18:45 schreef Jon:
This is primarily speculation, but I believe what you're seeing is the
correct behaviour.
The first thing Rsnapshot does when it launches is to copy the daily.n
to daily.n+1. It then start backing up up into daily.0. I believe the
backup behaviour is such that if a file exists in a previous backup, but
not the current one, that Rsnapshot creates a hardlink to that file from
daily.0 to whatever daily.n directory it exists in.
I think this is not true.
Daily.0 will reflect today's state, Daily.1 that of yesterday, etc.
But if a file has not changed, it will be a hard link to the first backup
of it that has been made in the past, say in Daily.n
But if a file changes from day to day, it will get stuffed as a complete
new file in each daily backup, thus occupying more space each day.
If a file is deleted, it will not be found in the recent backup, only in
previous backups; it certainly won't get hard linked in the daily.0. It
should be gone.
Therefore, I think you will continue to see those old directories until
such time as they "fall off" the backup rotation.
No, there must be some other explanation, that I can't think of.
That's how I understand it, but corrections are most certainly welcome.
Jon
Ryan x wrote:
I am currently trying out rsnapshot as a backup solution. I had this
line in my config file
backup /home/WWW-data server1-WWW-data
When I went in to view the backup, it had this structure:
server1-WWW-data/home/WWW-data
I didn't realize it was going to put the full path under there. So I
changed my config to just use this:
backup /home/WWW-data server1
So that I end up with server1/home/WWW-data
But my server1-WWW-data directory still exists in all my new backups.
Why is this?
I don't know, but in my configuration I use / after each directory:
backup /home/WWW-data/ server1/
Maybe that is vital.
Thanks,
-Ryan
Greets,
Marc
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss
