Page 1 of 1

v-backup-users not working

Posted: Sat Sep 23, 2017 1:55 pm
by missionaryman
Hi,

My VestaCP has not been backing up correctly for a month.

Running "v-backup-users" from the command line takes a while, and then finishes, but there is no backup file shown in the backup folder (/backup).

The error log shows:

v-backup-user 'admin' [Error 15]

Any thoughts?

Thanks,
MM

Re: v-backup-users not working

Posted: Sat Sep 23, 2017 2:44 pm
by imperio
Hi,
[Error 15]
Connection failed. Host is unreachable.

Show the backup.log
/usr/local/vesta/log/backup.log

Re: v-backup-users not working

Posted: Sat Sep 23, 2017 2:49 pm
by missionaryman
Yep. Found that.

But what does it mean? How do I fix it?

Re: v-backup-users not working

Posted: Sat Sep 23, 2017 2:52 pm
by imperio
Your backup system local, local+ftp or only ftp ?

Re: v-backup-users not working

Posted: Sat Sep 23, 2017 6:43 pm
by missionaryman
Local.

Re: v-backup-users not working

Posted: Sun Sep 24, 2017 8:49 am
by mehargags
Did you change your server's hostname recently ? Can be a possible mismatch with VestaCP Servername and actual hostname.

Please also state your OS and version

Re: v-backup-users not working

Posted: Sun Sep 24, 2017 8:56 am
by missionaryman
Ubuntu 14.04.5 LTS

How do I find out the VestaCP servername? (or change it, for that matter)

Re: v-backup-users not working

Posted: Sun Sep 24, 2017 9:44 am
by mehargags
You still did not mention your OS and version

To check hostname :

Code: Select all

hostnamectl 
to change it

Code: Select all

hostnamectl set-hostname
To change your hostname from VestaCP:
/usr/local/vesta/bin/v-change-sys-hostname <hostname>

Check your and put your IP and hostname there if it is not there already in:
/etc/hosts

Code: Select all

Reboot

Re: v-backup-users not working

Posted: Sun Sep 24, 2017 11:50 am
by missionaryman
You still did not mention your OS and version
Yes, I did. It was the first thing I put in my previous reply!

Thanks for the suggestions. I'll work through them.

Re: v-backup-users not working

Posted: Sun Sep 24, 2017 3:37 pm
by missionaryman
Ok, hold that thought. I've got another problem, and that might be the cause of this one. Will report back!