SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
double/triple rsync call?
Author Message
Post double/triple rsync call? 
Hi,

sorry for bothering you again Smile Is it possible to tell rsnapshot to
perform each rsync call twice? The reason is that I want to have
whole snapshot from a very short time window, so it will be coherent if
restored. Perhaps I'm too concerned abuout safety here...

Before I started using rsnaphost I used just rsync to do that, and
usually first rsync call takes 20 minutes, second call takes 2
minutes, third call takes 2 seconds. So on the third call I know it's
rsynced in a really short time window. This behaviour must be
of course due to HDD caching (which is good).

Currently I had put two calls in crontab (using sync_first=1):

/usr/bin/rsnapshot sync && /usr/bin/rsnapshot sync && /usr/bin/rsnapshot hourly

But the problem is that it doesn't work like I described above,
because HDD caching cannot work when at first everything is synced,
and on second call again everything is synced - it's too much data to
cache.

What I really want is to have two (or three) rscync calls
corresponding to each "backup ..." line in /etc/rsnapshot.conf. This
will allow caching to kick in and speed up the second/third rsync call.

thank you in advance for your kind help
--
Janek Kozicki |

-------------------------------------------------------------------------
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 double/triple rsync call? 
Serge van Ginderachter said: (by the date of Sun, 29 Jul 2007 13:48:20 +0200)

IMHO, this sounds like a 'hack' around how rsync and disks and
filesystems behave.

You might consider using LVM snapshots for a consistent file system
state. See also the patch that was posted yesterday by Ben Low.

thanks, this is an interesting approach.

--
Janek Kozicki |

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