Как восстановить бекап?
Как восстановить бекап?
Переустановили весту, загрузили в папку backup архивы с пользователями, как теперь автоматом воссоздат ьпользователей из бекапа?
-
- Support team
- Posts: 1047
- Joined: Fri Mar 21, 2014 7:49 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: Как восстановить бекап?
http://vestacp.com/docs/#how-to-migrate ... her-server
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.2. Copy tarball to the new server and place it in the /home/backup directoryCode: Select all
v-backup-user admin
3. Restore backup on the new serverCode: Select all
scp /home/backup/admin.2014-01-14.tar new-server:/home/backup/
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.Code: Select all
v-restore-user admin admin.2014-01-14.tar
Code: Select all
mv /home/backup/admin.2014-01-14.tar /home/backup/newuser.2014-01-14.tar v-restore-user newuser newuser.2014-01-14.tar