Migrate data to other VPS

September 25, 2018 10680hotness 4likes 0comments
Questions LEMP Stack Q & ACategory: LinuxMigrate data to other VPS
Jazz1611 asked 6 years ago
Hello, How to migrate data(old VPS) to other VPS(new VPS)? Stable and safe for migrate. Same configure of oneinstack on both VPS. Hope you can response to me soon. Thank you. Regards,
1 Answers
lempstack answered 6 years ago

1. backup website and DB data
~/oneinstack/backup_setup.sh # choice localhost

You can backup file(/data/backup/*) copy to new vps and the same path.
2. sync configure file
lampstack: /usr/local/apache/conf/vhost
lempstack: /usr/local/nginx/conf/{vhost,rewrite}

This person is a lazy dog and has left nothing