Backup error, dump failed
Backup error, dump failed
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
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
What's happen to sudoers? /etc/sudoers
Has user admin rights? Can you check?
Has user admin rights? Can you check?
Re: Backup error, dump failed
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
/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
This will help:
viewtopic.php?f=40&t=9694#p34401
viewtopic.php?f=40&t=9694#p34401
Re: Backup error, dump failed
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
Check this: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!
viewtopic.php?f=40&t=9694#p34401