WHAT'S NEW?
Loading...

ย้ายเวปไปเครื่องใหม่ vestaCP

เป็นขั้นตอนการเอาไฟล์ backup จากเครื่อง server ตัวเก่า ไปยัง server ตัวใหม่ครับ

1. backup ไฟล์ จากเครื่องเดิม
       v-backup-user admin             หรือเอามาจาไฟล์backup จากหน้า Vestacp ก็ได้ครับ

2. เอาไฟล์ที่ได้ ไปใว้ใน server เครื่องใหม่  ไว้ที่
        \home\backup

3. restore ข้อมูลเวป
        v-restore-user admin   ชื่อไฟล์

 

 

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.
v-backup-user admin

2. Copy tarball to the new server and place it in the /home/backup directory
scp /home/backup/admin.2014-01-14.tar new-server:/home/backup/

3. Restore backup on the new server
v-restore-user admin admin.2014-01-14.tar


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.
mv /home/backup/admin.2014-01-14.tar /home/backup/newuser.2014-01-14.tar
v-restore-user newuser newuser.2014-01-14.tar



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