Page 1 of 1

Hello,I HAVE A QUESTION

Posted: Sat Feb 23, 2019 7:24 am
by mirindaeea
Hello,

I am in the process of moving over 10-20 sites to a new dedicated server. I have set vestacp up in the same way (as per the documentation).

I can export users to a backup file, however when I transfer this to the new machine and try to v-restore-user, it is complaining that the tar file is not valid. I have checked the archive, and it is intact, and contains files in an appropriate structure.

I have tried this with the admin account, but also with a user account (both before and after manually creating the account.

I would be grateful for any advice.

Re: Hello,I HAVE A QUESTION

Posted: Sun Feb 24, 2019 7:05 am
by mehargags
First move your backup/s to /backup

cd /backup

/usr/local/vesta/bin/v-restore-user admin /home/backup/backupsetname.tar


If invalid format error, you are not inside /backup folder

ref : viewtopic.php?t=13335#p54061

Re: Hello,I HAVE A QUESTION

Posted: Tue Feb 26, 2019 7:30 pm
by skamasle
mehargags wrote:
Sun Feb 24, 2019 7:05 am
First move your backup/s to /backup

cd /backup

/usr/local/vesta/bin/v-restore-user admin /home/backup/backupsetname.tar


If invalid format error, you are not inside /backup folder

ref : viewtopic.php?t=13335#p54061
Yes may be that was a problem, he have also this topic

viewtopic.php?f=19&t=18338&p=76138#p76138

And vesta say than backup isnt in /home/backup