SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
one daily, one weekly?
Author Message
Post one daily, one weekly? 
Hi, Folks,

Do to space constraints (and big nasty binary blobs to back up), I'd
like to keep a daily.0 and a weekly.0, so I only have two copies of
the data I'm backing up, but at least have yesterday's and last
week's (and previous weeks on tape). Each are about half a terabyte
and my backup RAID array is only 1.2TB.

So, I tried:

interval daily 1
interval weekly 1

But that fails with:

"ERROR: Can not have first interval set to 1, and have a second
interval"

So, I'm missing a concept and/or looking for a workaround. I
understand the error message, but not the concept behind it.

Thanks,
-Bill

-----
Bill McGonigle, Owner Work: 603.448.4440
BFC Computing, LLC Home: 603.448.1668
bill < at > bfccomputing.com Cell: 603.252.2606
http://www.bfccomputing.com/ Page: 603.442.1833
Blog: http://blog.bfccomputing.com/
VCard: http://bfccomputing.com/vcard/bill.vcf


-------------------------------------------------------------------------
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

Post one daily, one weekly? 
On Jul 26, 2007, at 11:31, Scott Hess wrote:

I was thinking that solution, too, but ... then I realized that this
would leave you with a daily backup, and a backup which varied between
one day and a week old. Which may be fine, I suppose.

In this case it would, as I'd schedule the weekly to go to tape on
the night the weekly was created.

Bill, you mention having 1.2T, and that each backup is only .5T. Have
you actually tried just using rsnapshot to do normal dailies and one
weekly? It should handle big nasty binary blobs just fine, it's only
if they're being modified frequently that it will break down.

Yeah, it's a long story, but we used to have a lovely Cyrus mail
system that would back up gracefully using rsnapshot, but now there's
an unholy one in place that creates a new blob each night that's
about 430GB in size. I've played with a few diff tools and with the
type of compression they're using there's nothing useful to match
against for diffing. It's like sysadmining the stone age.

On 7/26/07, David Cantrell <david < at > cantrell.org.uk> wrote:

What you want to do makes sense, I think, and the only reason
rsnapshot
won't let you do it is that no-one else has wanted to so we've not
fiddled with the code to make it work :-)

Fair answer. Smile Also very useful as I know to move to Plan B and
that I wasn't just missing the obvious again.

first create a weekly backup, using rsync.
from that, create a daily backup using cp -al or its equivalent.
every day, update that daily backup from the live data using rsync.
once a week, use rsync to update the weekly backup from the daily.

Good strategy - much appreciated. I'll add looking at the rsnapshot
source to see how this might fit in there to my list (unless somebody
else happens to scratch the itch first).

Thanks guys!

-Bill

-----
Bill McGonigle, Owner Work: 603.448.4440
BFC Computing, LLC Home: 603.448.1668
bill < at > bfccomputing.com Cell: 603.252.2606
http://www.bfccomputing.com/ Page: 603.442.1833
Blog: http://blog.bfccomputing.com/
VCard: http://bfccomputing.com/vcard/bill.vcf


-------------------------------------------------------------------------
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

Post one daily, one weekly? 
Am Donnerstag 26 Juli 2007 schrieb David Cantrell:
On Thu, Jul 26, 2007 at 09:55:40AM -0400, Bill McGonigle wrote:
Do to space constraints (and big nasty binary blobs to back up), I'd
like to keep a daily.0 and a weekly.0, so I only have two copies of
the data I'm backing up, but at least have yesterday's and last
week's (and previous weeks on tape). Each are about half a terabyte
and my backup RAID array is only 1.2TB.

So, I tried:
interval daily 1
interval weekly 1

But that fails with:
"ERROR: Can not have first interval set to 1, and have a second
interval"

So, I'm missing a concept and/or looking for a workaround. I
understand the error message, but not the concept behind it.

What you want to do makes sense, I think, and the only reason rsnapshot
won't let you do it is that no-one else has wanted to so we've not
fiddled with the code to make it work :-)

I can't think of any reasonable work-around though at the moment, at
least not one that's still based around using rsnapshot. Without
rsnapshot ...

first create a weekly backup, using rsync.
from that, create a daily backup using cp -al or its equivalent.
every day, update that daily backup from the live data using rsync.
once a week, use rsync to update the weekly backup from the daily.

The reason for not allowing interval 1 is failure of backup rotation. The
oldest backup is deleted, the remaining ones are renamed and daily.0 is
created from daily.1 .

My workaround would be to use interval 2 and delete the oldest backup of the
interval after rotation. But in your case (without gain from unchanged files)
that might require too much disk space.

HTH,

Johannes Nieß

-------------------------------------------------------------------------
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

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