Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

rsync on remote imap folders

Status
Not open for further replies.

thedaver

IS-IT--Management
Jul 12, 2001
2,741
US
Having some trouble getting things to behave on an rsync
(two linux servers, both ext3).

rsync -tavr /source/mailusers/[user wildcard/Maildir/.* /target/mailusers/[user wildcard]/Maildir

I WANT it to replicate all folders that are "hidden" - those that being with a leading "." (dot) AND the content of those folders.

What seems to be happening is that the folders like ".INBOX.Drafts" are created but are not filled with the files from that folder.

Not a very effective replication scheme.

QUESTION: What more do I need to tell rsync in order to select this subset of folders AND their content?



D.E.R. Management - IT Project Management Consulting
 
I had the exact same peculiarity when syncing my imap mailserver. Try:
Code:
rsync -tavr /source/mailusers/[user wildcard/Maildir/ /target/mailusers/[user wildcard]/Maildir/
or
Code:
rsync -tavr /source/mailusers/[user wildcard/Maildir /target/mailusers/[user wildcard]

--== Anything can go wrong. It's just a matter of how far wrong it will go till people think its right. ==--
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top