Uploaded backup file doesn't show
-
- Posts: 50
- Joined: Mon Oct 27, 2014 10:04 am
Uploaded backup file doesn't show
Hi,
I've uploaded a backup file from another server to /home/backup so I can restore the data to a new server.
Unfortunately, the file does not appear in the backup list, either via CLI (v-list-user-backups admin) or via the web control panel.
How do I get VestaCP to see my new backup file?
Thanks,
Adam
I've uploaded a backup file from another server to /home/backup so I can restore the data to a new server.
Unfortunately, the file does not appear in the backup list, either via CLI (v-list-user-backups admin) or via the web control panel.
How do I get VestaCP to see my new backup file?
Thanks,
Adam
-
- Collaborator
- Posts: 783
- Joined: Mon May 11, 2015 8:43 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: Uploaded backup file doesn't show
If you want to see the backup in the list, you need to edit some config files.
You can restore the user via:
You can restore the user via:
Code: Select all
v-restore user username backupfile
v-restore USER BACKUP [WEB] [DNS] [MAIL] [DB] [CRON] [UDIR] [NOTIFY]
-
- Posts: 50
- Joined: Mon Oct 27, 2014 10:04 am
Re: Uploaded backup file doesn't show
What are the config files I need to edit?
Re: Uploaded backup file doesn't show
/usr/local/vesta/data/users/YOURUSER/backup.confmissionaryman wrote:What are the config files I need to edit?
Inside:
Code: Select all
BACKUP='YOURUSER.2015-07-23.tar' TYPE='local' SIZE='1' WEB='YOURDOMAIN.ru' DNS='YOURDOMAIN.ru' MAIL='YOURDOMAIN.ru' DB='YOURBASE_default' CRON='' UDIR='tmp' RUNTIME='1' TIME='02:00:02' DATE='2015-07-23'
-
- Posts: 50
- Joined: Mon Oct 27, 2014 10:04 am
Re: Uploaded backup file doesn't show
Ok, so judging from the backup.conf file, backups can only be restored via the control panel IF they've been created on that server. To restore a backup from another server requires a CLI command instead.
Am I right?
Am I right?
Re: Uploaded backup file doesn't show
Half-right, you can add info about your backup to file and press restore button. But of course much simpler use CLI command.missionaryman wrote:To restore a backup from another server requires a CLI command instead.Am I right?