Best Way To Transfer Files?

Bernie Hoefer LUG-Member at TheMoreIKnow.info
Wed Mar 7 12:20:04 EST 2012


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

Brown, David wrote:
===
> rsync -az --delete $SRC_SERVER:$SRC_FILE $DST_SERVER:/$DST_FILE
> 
> run this in cron and it will run as root, and use an ssh tunnel by
> default.
===
     Thanks for the reply, Doc.  Unfortunately that will not work for
me since I cannot log directly into $DST_SERVER as root.  Even if I
were to change the above to log into $DST_SERVER as my normal user
account, that account would not have the permissions necessary to
write to the destination or keep the original file ownerships as set
on $SRC_SERVER.

- -- 
Bernie Hoefer
PGP e-mail is welcome!  Get my 1024 bit signature key from:
<http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x446A6F93>.
"The more I know, the more I realize how much I do not understand."

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9XmMQACgkQckGmqURqb5MQ4wCfXCSGk0vle7IRTtzcIiAK6Jh4
k08AoI4ALTiS0EAzvHyEJuKwOqgCIke9
=+s6a
-----END PGP SIGNATURE-----


More information about the cinlug mailing list