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

Uploaded backup file doesn't show

General questions about VestaCP
Post Reply
  • Print view
Advanced search
6 posts • Page 1 of 1
missionaryman
Posts: 50
Joined: Mon Oct 27, 2014 10:04 am

Uploaded backup file doesn't show
  • Quote

Post by missionaryman » Thu Jul 23, 2015 11:03 am

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
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: Uploaded backup file doesn't show
  • Quote

Post by tjebbeke » Thu Jul 23, 2015 11:14 am

If you want to see the backup in the list, you need to edit some config files.

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]
Top

missionaryman
Posts: 50
Joined: Mon Oct 27, 2014 10:04 am

Re: Uploaded backup file doesn't show
  • Quote

Post by missionaryman » Thu Jul 23, 2015 11:58 am

What are the config files I need to edit?
Top

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

Re: Uploaded backup file doesn't show
  • Quote

Post by skurudo » Thu Jul 23, 2015 12:41 pm

missionaryman wrote:What are the config files I need to edit?
/usr/local/vesta/data/users/YOURUSER/backup.conf

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'
Top

missionaryman
Posts: 50
Joined: Mon Oct 27, 2014 10:04 am

Re: Uploaded backup file doesn't show
  • Quote

Post by missionaryman » Thu Jul 23, 2015 2:34 pm

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?
Top

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

Re: Uploaded backup file doesn't show
  • Quote

Post by skurudo » Fri Jul 24, 2015 6:07 am

missionaryman wrote:To restore a backup from another server requires a CLI command instead.Am I right?
Half-right, you can add info about your backup to file and press restore button. But of course much simpler use CLI command.
Top


Post Reply
  • Print view

6 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