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

Restore Process Broken

General questions about VestaCP
Post Reply
  • Print view
Advanced search
14 posts
  • 1
  • 2
  • Next
mbsmi
Posts: 17
Joined: Thu Aug 21, 2014 4:03 am

Os: Ubuntu 15x
Web: apache + nginx
Restore Process Broken
  • Quote

Post by mbsmi » Fri Apr 13, 2018 2:25 am

I just attempted to test my backups that Vesta CP creates each morning. I was able to get the backup onto my test server, but I could never get the

Code: Select all

v-restore-user
to work, even after I tried using

Code: Select all

/usr/local/vesta/bin/v-restore-user
. The errors included a permission problem, despite running the console as root and not being able to find the backup. Is there any fix for this script?
Top

timpage
Posts: 1
Joined: Fri Apr 13, 2018 6:33 am

Os: CentOS 7x
Web: nginx + php-fpm
Re: Restore Process Broken
  • Quote

Post by timpage » Fri Apr 13, 2018 7:05 am

Hello

Many time process broken when restore the system.

_________________________________
24*7 Best Assignment Help Australia
Top

yoko eagle
Posts: 33
Joined: Sat Jan 20, 2018 3:45 am

Os: Debian 8x
Web: apache + nginx
Re: Restore Process Broken
  • Quote

Post by yoko eagle » Fri Apr 13, 2018 7:34 am

mbsmi wrote: ↑
Fri Apr 13, 2018 2:25 am
I just attempted to test my backups that Vesta CP creates each morning. I was able to get the backup onto my test server, but I could never get the

Code: Select all

v-restore-user
to work, even after I tried using

Code: Select all

/usr/local/vesta/bin/v-restore-user
. The errors included a permission problem, despite running the console as root and not being able to find the backup. Is there any fix for this script?
Make sure you not changing the backup filename and folder/backup.
Assuming you restored backup for admin user

Code: Select all

v-restore-user admin admin.date.tar
filename and username should be the same.
Top

mbsmi
Posts: 17
Joined: Thu Aug 21, 2014 4:03 am

Os: Ubuntu 15x
Web: apache + nginx
Re: Restore Process Broken
  • Quote

Post by mbsmi » Sat Apr 14, 2018 6:50 pm

yoko eagle wrote: ↑
Fri Apr 13, 2018 7:34 am
Make sure you not changing the backup filename and folder/backup.
Assuming you restored backup for admin user

Code: Select all

v-restore-user admin admin.date.tar
filename and username should be the same.
I just tried the command and got the error:

Code: Select all

/usr/local/vesta/bin/v-restore-user admin admin.2018-04-14_05-12-34.tar
Error: backup admin.2018-04-14_05-12-34.tar doesn't exist
Top

Mark O Polo
Posts: 10
Joined: Wed Mar 29, 2017 7:15 pm

Re: Restore Process Broken
  • Quote

Post by Mark O Polo » Mon Apr 16, 2018 5:55 pm

Have you tried.

http://vestacp.com/docs/#how-to-migrate ... her-server

Is the tar backup in the correct location?
Top

mbsmi
Posts: 17
Joined: Thu Aug 21, 2014 4:03 am

Os: Ubuntu 15x
Web: apache + nginx
Re: Restore Process Broken
  • Quote

Post by mbsmi » Tue Apr 17, 2018 8:59 pm

Mark O Polo wrote: ↑
Mon Apr 16, 2018 5:55 pm
Is the tar backup in the correct location?
Yes, the backup is in the /home/backup directory.
Top

Mark O Polo
Posts: 10
Joined: Wed Mar 29, 2017 7:15 pm

Re: Restore Process Broken
  • Quote

Post by Mark O Polo » Thu Apr 19, 2018 2:41 am

I assume Ubuntu is the same as the Debian version. In that case try placing the backup file here.

cd /
then ls
And look for the "backup" folder. SCP your file there. (Not in the /home/backup directory as the link indicated.)

Give it a try and report back.
Top

mbsmi
Posts: 17
Joined: Thu Aug 21, 2014 4:03 am

Os: Ubuntu 15x
Web: apache + nginx
Re: Restore Process Broken
  • Quote

Post by mbsmi » Thu Apr 19, 2018 3:03 pm

The /backup directory is simply a shortcut to the /home/backup directory.
Top

Mark O Polo
Posts: 10
Joined: Wed Mar 29, 2017 7:15 pm

Re: Restore Process Broken
  • Quote

Post by Mark O Polo » Thu Apr 19, 2018 6:27 pm

Not on my install. (Debian)

All of my backups default to the master root /backup directory. Nothing is kept under the /home/backup/
Top

MechaniC
Posts: 1
Joined: Fri Apr 20, 2018 7:33 pm

Os: CentOS 4x
Web: apache
Re: Restore Process Broken
  • Quote

Post by MechaniC » Fri Apr 20, 2018 7:42 pm

Mark O Polo wrote: ↑
Thu Apr 19, 2018 2:41 am
I assume Ubuntu is the same as the Debian version. In that case try placing the backup file here.

cd /
then ls
And look for the "backup" folder. SCP your file there. (Not in the /home/backup directory as the link indicated.)

Give it a try and report back.
The same problem was. Thanks, did as you wrote and it turned out))

Cheers,
Last edited by imperio on Fri Apr 20, 2018 9:59 pm, edited 1 time in total.
Reason: spam link has been deleted
Top


Post Reply
  • Print view

14 posts
  • 1
  • 2
  • 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