On Jan 21, 2009, at 11:01 PM, Adam Goryachev wrote:
-----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"
[email protected]
<mailto:[email protected]>:/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"
[email protected]:/root/backups /var/tmp/pwrnctmpback/
rsyncmanual
Thanks Adam for the info and the patience. I suspect the problem is
the ssh -p 22 but I have to have the port. On the backuppc server the
default ssh port is something else which works with all my other
servers. However on this particular server I have to make it port 22.
That is why I am trying to insert it and thus my problem.
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
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
Terri Kelley
------------------------------------------------------------------------------
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
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/