Hello, I am using rsync with "--temp-dir=/tmp" option for rsync module.  I
noticed that if the "tmp" directory is deleted rsync attempt will fail like
-

 rsync: mkstemp "<module_base>/tmp/.xyz_file.Z0m8I6" (in <module>) failed:
No such file or directory (2)
 rsync error: some files/attrs were not transferred (see previous errors)
(code 23) at main.c(1039) [sender=3.0.6]

I just wanted to understand how and when the "tmp" directory is created.
Is there a option to create one if it doesn't exist?  The issue I see is
that on our system, the "tmp" does seem to be getting deleted once in a
while (cause of which I am still trying to figure out).

Thank you very much.
-Nirat.
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to