Restore Backup

Tippie

New member
Joined
Oct 21, 2012
Messages
1
Yesterday we started restore from an account at 11PM.
Only thing we forgot the there was an cronjob which create new backup at 1 AM.
The main question is, we still not have received a message retore successfully and we received only an email: backup failed.

Does Directadmin overwrite the currentbackup file during a restore?
Or will it "collapse/fail"?
 
Hi,

time ago i did suspect about dataskq concurrency run and i did write to DA Staff.

They did suggest change the dataskq line to this in /etc/cron.d/directadmin

Code:
* * * * * root sleep 5; if [ "`ps ax | grep -v grep | grep -c dataskq`" -eq 0 ]; then /usr/local/directadmin/dataskq; fi;


I dont know if this has been made as a standard, but this prevent other run of dataskq if is already running, so, this will lets wait any other task untill the current is done.

So, you should check if you already have the line like this, if not, edit (should be the first line of menthioned file).

Regarding the notice, honestly i dont know, you should check from ssh what is doing the server, should be that both task are running togheter and is slowest than usual.

Regards
 
Does Directadmin overwrite the currentbackup file during a restore?
Or will it "collapse/fail"?

As far as I know, before each backup runs, directadmin copy content for the backup into a temporary directory.. The same is for the restore, before restored files are copied to home directory, the all tar.gz file gets extracted into a temporary directory. This makes less possible a mess to appear. Anyway, their might be some issue with cross-reading/cross-writing of the files/directories. But for sure directadmin checks mdate of the file with time of reading. So you might need login into directadmin and see why the backup failed.
 
Back
Top