The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]

FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 rsync with password
Author: Jean Dacos 
Date:   11-10-07 08:29

I use this command in a script:
rsync -avz --delete /fullpath_of_directory_to_backup/ username@ip::fullpath_of_destination_directory --password-file /fullpath_to_passwordfile.
I get socket error code 10 at clientserver!
Passwordfile consists only of one line strictly with the manual password and with permission 640.
If i try a command line without giving the password and with one : between username and fullpath_of_destination_directory the system asks me the password and it works well.
To use the password file i must put two :: instead of one.
what's the problem?
If i use RSYNC_PASSWORD where must i put it?
Thanks to answer me
Best regards

 Reply To This Message  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 rsync with password   new
Jean Dacos 11-10-07 08:29 
 Re: rsync with password   new
olyander 08-09-08 19:59 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org