Page 1 of 1

restore backup problem...

Posted: Wed May 27, 2015 5:45 pm
by kablakar
hi have a several problem with restore backup , when test to restore a backup file in some circostance vesta not restore , today after more 5 hours the vesta continue to show the message


"An existing restoration task is already running. Please wait for it to finish before launching it again."

how kill this process, or solve this ??

Re: restore backup problem...

Posted: Thu May 28, 2015 7:02 am
by skurudo
Edit your /usr/local/vesta/data/queue/backup.pipe ?

Re: restore backup problem...

Posted: Thu May 28, 2015 2:12 pm
by kablakar
I did not understand, what should I do to delete this file ??

compare this in this file:

Code: Select all

/usr/local/vesta/bin/v-backup-user admin yes >> /usr/local/vesta/log/backup.log 2>&1

Re: restore backup problem...

Posted: Thu May 28, 2015 2:40 pm
by skurudo
If you delete this line, you don't get error - "An existing restoration task is already running. Please wait for it to finish before launching it again.".

Re: restore backup problem...

Posted: Thu May 28, 2015 4:00 pm
by kablakar
and how do I know when the previous backup is finished?

Re: restore backup problem...

Posted: Thu May 28, 2015 7:57 pm
by skurudo
Push backup manually

/usr/local/vesta/bin/v-update-sys-queue backup

Re: restore backup problem...

Posted: Fri May 29, 2015 10:09 am
by kablakar
ok, have follow your istruction, but now in var/log/vesta/backup.log

have some error when start backup, example this:

1)

Code: Select all

admin_**** (mysql)
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Error: dump admin_***** failed
/usr/local/vesta/func/main.sh: line 55: [: 17 2015-05-29 11:55:04 v-backup-user admin yes       : integer expression expected
-- SYSTEM --
2015-05-29 12:00:03 admin.conf
2015-05-29 12:00:03 stats.log
2015-05-29 12:00:03 history.log
2015-05-29 12:00:03 backup-excludes.conf
2015-05-29 12:00:03 pam

-- WEB