Page 1 of 1

Backup error, dump failed

Posted: Thu Feb 12, 2015 1:50 pm
by melkerman
My daily backups suddenly stopped working.

Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-43-generic x86_64)

I have updated Ubuntu, made several restarts and user rebuild on all options.

Anyone got an idea where to start looking?

From: /var/log/vesta/backup.log

-- DB --
2015-02-10 05:35:08 admin_argnu (mysql)
sh: 0: getcwd() failed: 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
sh: 0: getcwd() failed: No such file or directory
Error: dump admin_argnu failed
/usr/local/vesta/func/main.sh: line 55: [: 17 2015-02-10 05:35:01 v-backup-user admin yes : integer expression expected

Re: Backup error, dump failed

Posted: Thu Feb 12, 2015 5:38 pm
by skurudo
What's happen to sudoers? /etc/sudoers
Has user admin rights? Can you check?

Re: Backup error, dump failed

Posted: Fri Feb 13, 2015 11:11 am
by melkerman
No, i dont think so:

/etc/sudoers:

# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL

# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL

I created a new database and deleted admin_argnu, and made user rebuild on all options.

But i still get the same error but on the new database:

-- DB --
2015-02-13 06:05:43 admin_argnu_new (mysql)
sh: 0: getcwd() failed: 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
sh: 0: getcwd() failed: No such file or directory
Error: dump admin_argnu_new failed
/usr/local/vesta/func/main.sh: line 55: [: 17 2015-02-13 06:05:01 v-backup-user admin yes : integer expression expected

Re: Backup error, dump failed

Posted: Wed Nov 18, 2015 2:07 pm
by skurudo

Re: Backup error, dump failed

Posted: Sat Jan 23, 2016 10:16 pm
by bohemier
melkerman did you ever find a solution? I am experimenting the same behavior on my server. Other DB backups are running fine, except for one that gives the same error... Thanks!

Re: Backup error, dump failed

Posted: Wed Jun 08, 2016 12:25 pm
by skurudo
bohemier wrote:melkerman did you ever find a solution? I am experimenting the same behavior on my server. Other DB backups are running fine, except for one that gives the same error... Thanks!
Check this:
viewtopic.php?f=40&t=9694#p34401