-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Terri Kelley wrote:
> On Jan 21, 2009, at 10:32 PM, Adam Goryachev wrote:
> Terri Kelley wrote:
> Try something like this:
> rsync -avz -e "/usr/bin/sudo /usr/local/bin/backuppc-rsync"
> backu...@myserver.domain.net
> <mailto:backu...@myserver.domain.net>:/root/backups
> /var/tmp/pwrnctmpback/rsyncmanual
>
>> Tried this:
>> rsync -avz -e "/usr/bin/sudo /usr/local/bin/backuppc-rsync" "ssh -p 22"
>> myserver.domain.net:/root/backups /var/tmp/pwrnctmpback/rsyncmanual

Please refer to "man rsync" and consider what you are doing. Don't just
blindly run commands other people send you ! I could be telling you to
do something which will harm your system (even though of course I say I
am not :)

- -e says the parameter that follows is what will be executed on the
remote machine after we have connected there to make rsync talk to us.

You have "ssh -p 22" as the first filename which should be copied, along
with the remote myserver.domain.net:/root/backups, to the destination of
/var/tmp/pwrnctmpback/rsyncmanual

This is very unlikely to be what you want. Try this (exactly, after you
have understood why you are doing it):

rsync -avz -e "/usr/bin/sudo /usr/local/bin/backuppc-rsync"
backu...@myserver.domain.net:/root/backups /var/tmp/pwrnctmpback/rsyncmanual

Regards,
Adam

- --
Adam Goryachev
Website Managers
www.websitemanagers.com.au
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkl3/b0ACgkQGyoxogrTyiXfswCfUfjhSKkKWtaPI/SnC202T6QJ
2XUAn2tPyuQV79EoKupAyy/eFhXYUh1f
=oYfq
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to