We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Unable to restore VestaCP backup on new server
-
- Posts: 3
- Joined: Sat Jun 01, 2019 8:11 pm
- Os: CentOS 6x
- Web: apache
Unable to restore VestaCP backup on new server
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?
[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?
Re: Unable to restore VestaCP backup on new server
Make sure you give the /backup/ folder 777 permissions
Re: Unable to restore VestaCP backup on new server
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.
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.
Re: Unable to restore VestaCP backup on new server
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!
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!