Deprecated: __autoload() is deprecated, use spl_autoload_register() instead in /home/pbuc/public_html/forum/mods/ext_phorummail/ezc/Base/src/ezc_bootstrap.php on line 36

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; KeyCAPTCHA_CLASS has a deprecated constructor in /home/pbuc/public_html/forum/mods/keycaptcha/keycaptcha.php on line 108
about running rsync on both ends of an rsnapshot script.
Welcome! » Log In » Create A New Profile

about running rsync on both ends of an rsnapshot script.

Posted by HarryPutnam 
about running rsync on both ends of an rsnapshot script.
January 11, 2015 09:49PM
I've been told a few times that running rsync on both ends of an
rsnapshot pull, is most efficient. And was told that both methods of
doing that are explained in the rsync manual.

I guess it is, but I definitely did not come away from the manual
knowning how to do it.

And it is not even attempted in the rsnapshot manual.

Can anyone post some simple examples of how an rsnapshot.conf looks
that does both kinds of engaging rsync on the remote.

1) rsync to running rsync daemon
and
2) rsync thru ssh terminal on the remote.

I'd like to see how that is done inside rsnapshot.conf.

PS - example on the rsync cmdline would be a big plus too.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss
about running rsync on both ends of an rsnapshot script.
January 11, 2015 11:54PM
On Sun, 2015-01-11 at 16:48 -0500, Harry Putnam wrote:
[quote]I've been told a few times that running rsync on both ends of an
rsnapshot pull, is most efficient. And was told that both methods of
doing that are explained in the rsync manual.

I guess it is, but I definitely did not come away from the manual
knowning how to do it.

And it is not even attempted in the rsnapshot manual.

Can anyone post some simple examples of how an rsnapshot.conf looks
that does both kinds of engaging rsync on the remote.

1) rsync to running rsync daemon
and
2) rsync thru ssh terminal on the remote.

I'd like to see how that is done inside rsnapshot.conf.

PS - example on the rsync cmdline would be a big plus too.
[/quote]
See the examples at the end of the /etc/rsnapshot.conf file supplied
with the package. The last line of the file shows the use of an rsync:
protocol daemon. The others are implicit examples of rsync over ssh.

poc

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss
about running rsync on both ends of an rsnapshot script.
January 12, 2015 08:07PM
Patrick O'Callaghan <pocallaghan < at > gmail.com> writes:

[quote]On Sun, 2015-01-11 at 16:48 -0500, Harry Putnam wrote:
[quote]I've been told a few times that running rsync on both ends of an
rsnapshot pull, is most efficient. And was told that both methods of
doing that are explained in the rsync manual.

I guess it is, but I definitely did not come away from the manual
knowning how to do it.

And it is not even attempted in the rsnapshot manual.

Can anyone post some simple examples of how an rsnapshot.conf looks
that does both kinds of engaging rsync on the remote.

1) rsync to running rsync daemon
and
2) rsync thru ssh terminal on the remote.

I'd like to see how that is done inside rsnapshot.conf.

PS - example on the rsync cmdline would be a big plus too.
[/quote]
See the examples at the end of the /etc/rsnapshot.conf file supplied
with the package. The last line of the file shows the use of an rsync:
protocol daemon. The others are implicit examples of rsync over ssh.
[/quote]
Do you mean all the others (below EXAMPLE.COM)? So that the current
line I'm using:

backup root < at > gv:/home/ gv/

(gv is a remote host rsnapshot server is localhost)

Is already doing the mysterious `rsync at both ends'

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
www.gigenet.com
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss
about running rsync on both ends of an rsnapshot script.
January 12, 2015 10:56PM
On 12 January 2015 at 20:04, Harry Putnam <reader < at > newsguy.com ([email]reader < at > newsguy.com[/email])> wrote:
[quote]Do you mean all the others (below [url=http://EXAMPLE.COM]EXAMPLE.COM[/url])?
[/quote]

Yes. In fact the lines just above with "::" actually use the rsync protocol directly.

[quote]So that the current
line I&#39;m using:

  backup root < at > gv:/home/ gv/

(gv is a remote host rsnapshot server is localhost)

Is already doing the mysterious `rsync at both ends&#39;

[/quote]

That line is doing rsync over ssh, which is one way of getting rsync at both ends, so yes. And it&#39;s being done as a pull rather than a push, as recommended.

You should definitely check the rsnapshot log file to make sure it&#39;s really doing what you expect. In fact check on it periodically as it can silently fail because of an rsync problem and you only find out when you discover that the last valid backup was three weeks ago. I speak from experience ...

poc
Sorry, only registered users may post in this forum.

Click here to login