Page 1 of 1

Backup Failed and Retired until Disk Full

Posted: Wed Jul 24, 2019 3:55 am
by molen
What is your system?
Vesta 0.9.8-24
Ubuntu 16.04

What goes wrong?
Auto backup failed, and cause retry every 5 minutes, and finally result in disk full with tmp.* folder.

Where goes wrong?
Backup progress will stop at DB backup,

Code: Select all

Error: Connection to localhost failed
and after 4 or 5 minutes, the progress would start over, with new tmp.* folder I guess.

What did you check?
I checked the following files:

Code: Select all

/usr/local/vesta/conf/mysql.conf
/vesta/root/.my.cnf
 
The password is edited and I can use it login in phpMyAdmin via web, which means the username and password is correct.

But the backup still failed again and again, which may finally cause I need to delete the tmp.* everyday, otherwise I can't run my sites.

What should I do now?

Re: Backup Failed and Retired until Disk Full

Posted: Sun Jul 28, 2019 7:58 pm
by dreiggy
Try to find out which part of backup is failing.
You can try to check backup logs: /usr/local/vesta/log/backup.log

Re: Backup Failed and Retired until Disk Full

Posted: Tue Jul 30, 2019 1:05 am
by molen
dreiggy wrote:
Sun Jul 28, 2019 7:58 pm
Try to find out which part of backup is failing.
You can try to check backup logs: /usr/local/vesta/log/backup.log
I had described that the error message was:

Code: Select all

Error: Connection to localhost failed
in DB backup progress.

And I had checked the root password is correct, which is the most familiar reason with this problem in the forum.

Re: Backup Failed and Retired until Disk Full

Posted: Fri Aug 16, 2019 2:01 pm
by DuronBR
Verify that the PostgreSQL database service is working.
https://mydomain.com:8083/list/server/

Start the service and create a manual backup.
https://mydomain.com:8083/list/backup/

Enjoy!

Re: Backup Failed and Retired until Disk Full

Posted: Sat Aug 17, 2019 10:43 am
by molen
I tried to enable the PostgreSQL service, but the error still there.

Code: Select all

Error: Connection to localhost failed