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

Unable to restore VestaCP backup on new server

General questions about VestaCP
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
unknownhax
Posts: 3
Joined: Sat Jun 01, 2019 8:11 pm

Os: CentOS 6x
Web: apache
Unable to restore VestaCP backup on new server
  • Quote

Post by unknownhax » Wed Dec 29, 2021 5:20 pm

I'm currently attempting to backup my existing VestaCP account and domain, to migrate it over to a new server. However, everytime I attempt a backup, either via the GUI or CLI, it says it completes. But when I transfer it over to the new server and attempt a restore, it fails.

[root@staging backup]# v-restore-user admin admin.2021-12-27_17-47-56.tar
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
Error: can't unpack PAM container

I've attempted this 6x times now, and this site isn't small. Worse, it's a production site and I can't afford to lose it. Both the Vestacp instances are using the recent update, and CentOS 7. The only difference is the old server is using PHP 7.4 and the new one is using PHP 8. Other than that, there're the same. I'm at a lose and I really need to get this site moved.

Any idea what could be causing this?
Top

eris
Posts: 34
Joined: Fri Jun 26, 2020 9:25 pm

Os: Ubuntu 17x
Web: apache + nginx
Re: Unable to restore VestaCP backup on new server
  • Quote

Post by eris » Tue Jan 04, 2022 6:56 am

Make sure you give the /backup/ folder 777 permissions
Top

sandro
Support team
Posts: 87
Joined: Sun Aug 30, 2020 11:02 am

Os: CentOS 6x
Web: apache + nginx
Re: Unable to restore VestaCP backup on new server
  • Quote

Post by sandro » Tue Jan 04, 2022 2:47 pm

This error indicates that the tar file is corrupt.

This can happen for many reasons and one of them can be because of copying from one server to another.

Test the files (original and copy) using the command "tar -tvf admin.2021-12-27_17-47-56.tar". This command will show all archived files.

Finally, try copying the file using scp or ftp.
Top

Zape
Posts: 5
Joined: Fri Jan 25, 2019 9:49 am

Os: Debian 8x
Web: apache + nginx
Re: Unable to restore VestaCP backup on new server
  • Quote

Post by Zape » Tue Sep 27, 2022 6:00 am

Have you thought about switching to HestiaCP?

Vesta is very good, and even though it is not updated, the help they give you here is very good, but in the worst case scenario is to look for alternatives, and the closest thing is Hestia.

You could try installing and restoring there.... Hestia supports multi-php, so you could choose PHP 7.4 by default and then change it on each site.

I still use Vesta on a VPS, it's for a small website and it hasn't given me any problems... "What sits still, sits still", on websites that require PHP 8, I had to migrate.

I follow the topic in case I can help in something.

Regards!
Top


Post Reply
  • Print view

4 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