UTIME failed on all backups

djansen1987

Verified User
Joined
May 28, 2009
Messages
6
Hope somone can help me out!

I got the following error in all my backups:

Backup van gebruiker admin is voltooid. <1:00:02>
Could not preserve times for admin.root.admin.tar.gz: UTIME failed.

This is on all users.


I use the Admin Backup/Transfer with a Backup Cron.
This is send over FTP to my Lenovo ix4-300d NAS.


Hope you can help. Or let me know if you need more info!
 
Is the time on your server out of sync? You need to update it with ntpd or ntpdate.
 
Hello,

I might be wrong, but I believe that's ncftpput trying to tell the ftp server what timestamp to use.
The ftp server might not like that request, hence the error.

The specific error messageg "Could not preserve times for" isn't in our code, so I'm guessing it's in the ncftpput code, to output if the server denies the setting of the timestamp.

It's entirely possible that the files themselves are saved correctly, just without the older timestamp (which would only be minutes older than it's trying to set, since they're new tar.gz files).. so it might not be affecting anything major (other than generating an annoying message)


It might be possible to change how ncftpput is saving the timestamp by editing:
/usr/local/directadmin/scripts/ftp_upload.php

and adding the option:
-y

to the command line.
I'm not too sure if that's how it's already doing it, but worth a shot.

John
 
Back
Top