SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Remote rsync Storage
Author Message
Post Remote rsync Storage 
Hi,

I have been using rsnapshot for quite some time now and am very happy
with it. I am exploring using remote storage services that offer rsync
over SSH, and can't seem to figure out how to use rsnapshot in this
situation.

What I know so far is that the remote storage service doesn't allow
rsnapshot or cron jobs to be installed on their server, so rsnapshot
will need to be installed on the machines that will then "back
themselves up" to the remote server.

Is this something rsnapshot can do? Tips would be most welcome.

Thank you very much.

Cheers!

--
Federico Sevilla III
F S 3 Consulting Inc.
http://www.fs3.ph

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

Post Remote rsync Storage 
On Sat, Mar 03, 2007 at 11:18:02AM +0800, Federico Sevilla III wrote:

... the machines that will then "back
themselves up" to the remote server.

Is this something rsnapshot can do? Tips would be most welcome.

No, you can't "push" a backup to a server using rsnapshot.

If, hypothetically, we were to allow that (and see the FAQ for the
reasons why we don't) then to get it working you would need to be able
to issue rm, mv and GNU cp commands to the remote server as well as
rsyncing to it.

--
David Cantrell | London Perl Mongers Deputy Chief Heretic

Blessed are the pessimists, for they test their backups

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

Post Remote rsync Storage 
On Sun, Mar 04, 2007 at 10:23:48PM +0100, m.van.munnen < at > hccnet.nl wrote:
Op Zo, maart 4, 2007 21:55 schreef David Cantrell:
No, you can't "push" a backup to a server using rsnapshot.
If, hypothetically, we were to allow that (and see the FAQ for the
reasons why we don't) then to get it working you would need to be able to
issue rm, mv and GNU cp commands to the remote server as well as rsyncing
to it.
Oh? Maybe that's just what I'm doing. I run rsnapshot on my local machine
and is pushes the stuff to my remote NAS via a NFS share. It takes 3 times
as long as when I put the backup on a second local disk, but I guess that
is because the NAS is rather slow. I'm not shure where rm mv and cp are
used and if the stream isn't going twice over the wire, but it works.

An NFS-mounted filesystem is a local filesystem for our purposes. What
I mean is that you can't use the rsync protocol to push a backup to
another machine.

Because rsync is dealing with a "local" filesystem in your case, it is
indeed downloading copies of your files from the NAS over the network
to compare them to files on your backup targets, and then writing the
differences over NFS. Very inefficient although it works if you've got
enough network bandwidth.

I still wonder what happens when my local cp copies backup.1 on the NAS to
backup.0 on the NAS.

It makes lots of link() system calls which the NFS filesystem driver
sends over the network. At least *that* bit isn't too inefficient.

mv is used to rotate backups, rm to delete the oldest backup that we no
longer need to keep, and cp to create a daily.0 that is hard linked to
daily.1.

Of course, if you don't have GNU cp we can use our own version of cp -al
that is built in to rsnapshot, but if, like the original poster in this
thread, you wanted to push a backup to another machine using rsync, then
our own linking code isn't available on that machine so he'd have to
call cp -al (or an equivalent) that was already installed there.

--
David Cantrell

For every vengeance, there is an equal and opposite revengeance.
-- Cartoon Law X

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

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