SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
why is an out of date backup used to create the next backup
Author Message
Post why is an out of date backup used to create the next backup 
On Wed, Jun 13, 2012 at 06:20:01PM -0400, Zachary Stern wrote:
I noticed that the latest "daily" backup folder, daily.0, created today,
has a timestamp several days old.

...

I can see that hourly.8 was turned into daily.0.

What's the point of running a daily job at a certain time if it's not only
not creating a new backup for changed files, but ALSO it's creating the
latest daily from my most out-of-date hourly.

I assume I'm missing something here.

The idea is that if you want to recover data from an up-to-date backup,
then you go to hourly.0, daily.0 is a day older than that, daily.1 is
another day older, and so on. The alternative would be that we do this:

delete daily.7
daily.6 -> daily.7
daily.5 -> daily.6
...
daily.0 -> daily.1
hourly.0 -> daily.0

but then we also need to ...

hourly.1 -> hourly.0
hourly.2 -> hourly.1
...

once you also consider doing the same for weekly, monthly and quarterly
backups, it becomes unpredictable which is your most recent backup,
which was from three hours ago, which from six hours ago, and so on.
And the code for figuring out which directories to rename to what in
what order becomes more complicated and error-prone.

Also, the rsnapshot way is pretty much the same as what an awful lot of
tape-based backup systems do.

--
David Cantrell | London Perl Mongers Deputy Chief Heretic

All children should be aptitude-tested at an early age and,
if their main or only aptitude is for marketing, drowned.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB