El Lunes, 3 de Septiembre de 2007 20:54, Paul Ward escribió:
Hi Peeps,
Does anyone know if it is possible to use rsync to back up an ftp site
that uses a password.
I am aware of rsync://[USER@]HOST[:PORT]/SRC [DEST] but how do I
handle the password?
If this is not possible does it mean I have to use sftp?
Thanks in advance
Never tried that, but I did try using ftp+netrc
As you probably know, you can create the .netrc file and insert there
everything you want to do, then just ftp IP will make everything you filed in
the .netrc, for instance:
machine 192.168.1.1
login whatever
password foo
macdef init
prompt
ascii
cd /mnt/backup
mget important_file1
bye
Hope this helps
Manuel
--
Manuel Arostegui Ramirez.
Electronic Mail is not secure, may not be read every day, and should not
be used for urgent or sensitive issues.