Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

[SOLVED] Backups fails on mysql

General questions about VestaCP
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
aximus
Posts: 8
Joined: Sat Nov 28, 2015 12:24 pm

[SOLVED] Backups fails on mysql
  • Quote

Post by aximus » Sun Apr 16, 2017 10:28 pm

The automatic backups are failing, and keeps trying to create a new backup, causing high server load. I see this in the log:

-- DB --
2017-04-17 00:22:17 admin_foo (mysql)
2017-04-17 00:22:18 admin_bar (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
sh: 0: getcwd() failed: No such file or directory
exim: can't get the current working directory: No such file or directory
Error: dump admin_bar failed

(anonymised using 'foo' and 'bar')

I googled the problem and found some answers pointing to viewtopic.php?f=40&t=9694#p34401. But I don't understand how that is supposed to help.

Help is much appreciated.
Last edited by aximus on Sat Apr 22, 2017 7:12 am, edited 1 time in total.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Backups fails on mysql
  • Quote

Post by skurudo » Tue Apr 18, 2017 7:30 am

This is the environment variables which help with paths to executable files
Top

aximus
Posts: 8
Joined: Sat Nov 28, 2015 12:24 pm

Re: Backups fails on mysql
  • Quote

Post by aximus » Sat Apr 22, 2017 7:11 am

Solved the problem:

The mysql backup failed for `admin_bar`. In order to fix it, I logged in to phpmyadmin and noticed something was wrong in the `admin_bar` database. After repairing all tables (and in my case, dropping one weird table), all was good.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: [SOLVED] Backups fails on mysql
  • Quote

Post by skurudo » Mon Apr 24, 2017 9:22 am

Nice catch, aximus
Thanks for your report.
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password