RE: [qmailtoaster] Re: Re; rsync question

2011-04-06 Thread Joel Eddy
] Re: Re; rsync question On 04/05/2011 02:27 PM, Joel Eddy wrote: I've got an older server running qmail. That sever used the older diredtory structure. Meaning as an example /home/vpopmail/domains/mydomain.com/user_id14 id's in this directory /home/vpopmail/domains/mydomain.com/0/user_id13

[qmailtoaster] Re: Re; rsync question

2011-04-06 Thread Eric Shubert
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

RE: [qmailtoaster] Re: Re; rsync question

2011-04-06 Thread Joel Eddy
Eric, Would you put this in a script file to run? That's what I'm trying to do. No luck as yet tho. find /home/vpopmail/domains/mydomain.com \ If I use this it scrolls the entire domain structure by FAST by the way. -name Maildir/new \ If I include this I get find:

Re: [qmailtoaster] Re: Re; rsync question

2011-04-06 Thread Cecil Yother, Jr.
I have this in my cron daily. #!/bin/sh rsync -avz -e ssh -p 5150 --delete root@192.168.2.80:/home/vpopmail/domains /home/*.* This keeps the backup up to date. I have it setup with a ssh-key so no login is required. It's on the LAN and behind a firewall. On 04/06/2011 10:41 AM, Joel

[qmailtoaster] Re: Re; rsync question

2011-04-06 Thread Eric Shubert
On 04/06/2011 10:41 AM, Joel Eddy wrote: Eric, Would you put this in a script file to run? That’s what I’m trying to do. No luck as yet tho. find /home/vpopmail/domains/mydomain.com \ If I use this it scrolls the entire domain structure by “FAST” by the way. That's because there's no -exec

[qmailtoaster] Re: Re; rsync question

2011-04-06 Thread Eric Shubert
Why the *.* at the end? I don't think that's doing much of anything for you. It should be simply taking the domains directory and replicating it to some location on the target. On 04/06/2011 11:24 AM, Cecil Yother, Jr. wrote: I have this in my cron daily. #!/bin/sh rsync -avz -e ssh -p 5150

Re: [qmailtoaster] Re: Re; rsync question

2011-04-06 Thread Philip Nix Guru
Hello There is an already made solution called snapback2 (based on rsync) http://www.perusion.com/misc/Snapback2/ Either you use it as an incremental backup or just for a single backup You can ssh in or simply do it local (by mounting the destination machine into your qmail) -Philip On

Re: [qmailtoaster] Re: Re; rsync question

2011-04-06 Thread Cecil Yother, Jr.
I actually have the domains listed. I should have clarified that it's actually. #!/bin/sh rsync -avz -e ssh -p 5150 --delete root@192.168.2.80:/home/vpopmail/domains /home/maxwell/storage/laetitia I meant for it to indicate the users directory. On 04/06/2011 11:38 AM, Eric Shubert wrote:

[qmailtoaster] Re: Re; rsync question

2011-04-05 Thread Eric Shubert
On 04/05/2011 02:27 PM, Joel Eddy wrote: I've got an older server running qmail. That sever used the older diredtory structure. Meaning as an example /home/vpopmail/domains/mydomain.com/user_id14 id's in this directory /home/vpopmail/domains/mydomain.com/0/user_id13 id's in this directory