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

Importing backups

General questions about VestaCP
Post Reply
  • Print view
Advanced search
24 posts
  • Previous
  • 1
  • 2
  • 3
  • Next
Mr.Erbutw
Posts: 1040
Joined: Tue Apr 29, 2014 10:05 pm

Os: CentOS 6x
Web: apache + nginx
Re: Importing backups
  • Quote

Post by Mr.Erbutw » Wed Jan 27, 2016 4:04 pm

Shivson wrote:Archive directory: /home/backup

I tried set permissions to 766 and 777 but i still can't restore that backup.
And... why i don't see that 3 backups created by vesta in /home/backup ?
Not yet fully implemented this feature. Only console version
Top

Shivson
Posts: 7
Joined: Wed Jan 27, 2016 2:24 pm

Re: Importing backups
  • Quote

Post by Shivson » Wed Jan 27, 2016 4:46 pm

Ok. But what can i do? I need to restore that. ;/
Top

Mr.Erbutw
Posts: 1040
Joined: Tue Apr 29, 2014 10:05 pm

Os: CentOS 6x
Web: apache + nginx
Re: Importing backups
  • Quote

Post by Mr.Erbutw » Wed Jan 27, 2016 4:54 pm

Shivson wrote:Ok. But what can i do? I need to restore that. ;/
Execute the command.

Code: Select all

sudo /usr/local/vesta/bin/v-restore-user
Image
hmm and try to download the archive to a folder /backup
and do

Code: Select all

sudo /usr/local/vesta/bin/v-restore-user admin admin.2014-01-14.tar
Top

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

Os: CentOS 6x
Web: apache + nginx
Re: Importing backups
  • Quote

Post by tjebbeke » Wed Jan 27, 2016 5:52 pm

Check: https://yourip:8083/edit/server/ in the backup section you can find the path. I think it's /backup. Place your backup there and try again.
Top

Shivson
Posts: 7
Joined: Wed Jan 27, 2016 2:24 pm

Re: Importing backups
  • Quote

Post by Shivson » Wed Jan 27, 2016 5:54 pm

Solved. Thanks guys. :)
Top

Mr.Erbutw
Posts: 1040
Joined: Tue Apr 29, 2014 10:05 pm

Os: CentOS 6x
Web: apache + nginx
Re: Importing backups
  • Quote

Post by Mr.Erbutw » Wed Jan 27, 2016 6:11 pm

Shivson wrote:Solved. Thanks guys. :)
So at least describe how was the problem resolved. Other people will help this article!
Top

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

Re: Importing backups
  • Quote

Post by skurudo » Thu Jan 28, 2016 12:10 pm

Mr.Erbutw wrote:So at least describe how was the problem resolved. Other people will help this article!
viewtopic.php?f=10&t=10434&start=10#p38469
I think it's your command and tjebbeke tip about /backup folder.
Top

Mr.Erbutw
Posts: 1040
Joined: Tue Apr 29, 2014 10:05 pm

Os: CentOS 6x
Web: apache + nginx
Re: Importing backups
  • Quote

Post by Mr.Erbutw » Fri Jan 29, 2016 7:42 pm

skurudo wrote:
Mr.Erbutw wrote:So at least describe how was the problem resolved. Other people will help this article!
viewtopic.php?f=10&t=10434&start=10#p38469
I think it's your command and tjebbeke tip about /backup folder.

Code: Select all

How to migrate user to the new server
1. Make user backup on the old server. In this example we will use admin as the reference.

v-backup-user admin

2. Copy tarball to the new server and place it in the home/backup directory

scp /home/backup/admin.2014-01-14.tar new-server:/home/backup/

3. Restore backup on the new server

v-restore-user admin admin.2014-01-14.tar


If you want to restore data under another user name, simply rename archive. If user name doesn't exist on the server, account will be created automatically.

mv /home/backup/admin.2014-01-14.tar /home/backup/newuser.2014-01-14.tar
v-restore-user newuser newuser.2014-01-14.tar
It's in the documentation !! Then urgently to change it.
I think this is not good
2. Copy tarball to the new server and place it in the home/backup directory
Top

spacing
Posts: 22
Joined: Thu Dec 03, 2015 9:44 pm

Re: Importing backups
  • Quote

Post by spacing » Wed Feb 17, 2016 6:38 pm

I'm having this same problem. Already have imported the .tar backup to my backup directory and have tried the full path and it doesnt work.

Image

Please help me
Top

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

Os: CentOS 6x
Web: apache + nginx
Re: Importing backups
  • Quote

Post by tjebbeke » Wed Feb 17, 2016 7:03 pm

Try to place your backup in /backup instead of /home/backup.
Top


Post Reply
  • Print view

24 posts
  • Previous
  • 1
  • 2
  • 3
  • Next

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