i'm trying to backup the dovecot Maildir files over a cifs share. source is a debian build, share is a readynas. i've been getting rsync: mkstemp 'filename goes here' failed: Not a directory (20) errors. rsync is v3.0. i believe this is related to the dovecot file naming convention that includes characters such as ':' in the filename. anyone else seeing similar behavior? a workaround? i can go to different backup strategies, but rsync is cheap and effective for my needs. thanks, -SM-
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Scott Murman said the following on 06/10/09 04:55:> i'm trying to backup the dovecot Maildir files over a cifs share. > source is a debian build, share is a readynas. i've been getting > rsync: mkstemp 'filename goes here' failed: Not a directory (20) > errors. rsync is v3.0. i believe this is related to the dovecot file > naming convention that includes characters such as ':' in the > filename. anyone else seeing similar behavior? a workaround? i can > go to different backup strategies, but rsync is cheap and effective for > my needs. thanks,The problem I encountered with cifs is that could not be compatible with unix permissions and sometimes also fails setting directory date/time When I backup on cifs either I use rsync and disable those features or I tar-gzip each mailbox and copy it. Ciao, luigi - -- / +--[Luigi Rosa]-- \ Every absurdity has a champion who will defend it. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkrKuZsACgkQ3kWu7Tfl6ZR5NQCgrkeUMLgKjIICDKFw/wfgn67E NusAn0PrsU0rYOq0BVa9T4thyhbmUG3s =t0fr -----END PGP SIGNATURE-----
Scott Murman wrote:> i'm trying to backup the dovecot Maildir files over a cifs share. > source is a debian build, share is a readynas. i've been getting > rsync: mkstemp 'filename goes here' failed: Not a directory (20) > errors. rsync is v3.0. i believe this is related to the dovecot > file naming convention that includes characters such as ':' in the > filename. anyone else seeing similar behavior? a workaround? i > can go to different backup strategies, but rsync is cheap and > effective for my needs. thanks, >Is backup over ssh an option? Alternatively could you run an rsync server at one end or the other (which then also avoids using cifs in the middle)? Ed W
tomas at tuxteam.de schrieb:> On Fri, Oct 09, 2009 at 03:41:40PM +0200, Robert Schetterer wrote: > > [...] > >> i ll do backups with rsync on maildirs with courier >> ( which has also : in filenames ) > > Stupid question: with CIFS as target filesystem?no never, why should i do this, nfs , ssh etc should be faster and more secure etc> > Because there are some chars which are AFAIK taboo on Windows file > systems (colon being one, AFAIR -- luckily my memory on that is hazy :)jo as i said cifs may not like some stuff, but i see no reason what force using cifs, after all you can rsync the maildir dir to another dir on the source server, tar it afterwards and copy it over cifs, as workaround this should work ever, and easy scriptable> > Regards > -- tom?s-- Best Regards MfG Robert Schetterer Germany/Munich/Bavaria