On 04/06/2011 07:08 AM, Joel Eddy wrote:
rsync -avz IP OF System you want to connect
to:/home/vpopmail/domains/YOUR_DOMAIN.com/DIR_TO PULL
FROM/USER_ID/Maildir/new/
home/vpopmail/domains/YOUR_DOMAIN.com/USER_ID/Maildir/new
All one line of coarse. Works slicker that you know what. But I need to
pull an entire server. I may experiment with a script with multi line
rsync for each account on the server.
I’ll have to set rsync to run as a daemon with a secrets file to bypass
typing the password every line.
There's another way to avoid typing the password, that doesn't require
rsyncd. Using ssh (which I think rsync may use by default), you can put
the public key (generated with ssh-keygen command) from the ssh client
in a ~/.authorized-keys file on the ssh server.
You can also pull the cur directory and what ever other files you need
by changing the paths. And you can exclude files with rsync to. Coarse
most of you may already know that.
Anyway, thanks for the tip. I’ll try and see what works.
Take Care
Joel
------------------------------------------------------------------------
--
-Eric 'shubes'
---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com