New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Comments
I haven't used CWP but it looks a lot like cPanel which runs on top of the OS inside the VPS.
Are your changing hosting providers or just moving from from one VPS to another inside the same environment?
If you are not changing providers ask the host to adjust the specs of your VPS.
If you are changing providers you will most likely need to setup the new VPS, install the OS and CWP and do an export/backup -> import/restore inside CWP but you will have to deal with DNS changes with different IPs in case of the latter.
I'm looking at changing providers. CWP does have a restore account function didn't realise until you mentioned it. Thanks
If you're migrating from KVM or Xen to another KVM or Xen VPS, and both have rescue/live cd environments, you can use DD over SSH to copy your disk from one to the other.
E.g. from the new VPS while in a live cd, try:
ssh root@old-vps-livecd "dd if=/dev/vda1" | dd of=/dev/vda1
Naturally that method requires some downtime. You might be better off using the backup/restore as you mentioned above
Best method to transfer VPS between server
Have you tested your backup restore time - on a new system?
@n1kko https://lowendbox.com/blog/how-to-migrate-a-hosted-server-in-5-easy-steps-with-rsync/ dont follow that verbatim without reading it but essentially that will work for you 90% of the time, and if it fails you lose nothing anyway.
Don't just copy the disk image as suggested above, especially if they are different virt types, your networking will be messed up beyond belief, your copying WAY more than you need too as you also copy empty space that way and lots of other crap you will have no fun with later.
Yeah, I'd advice to start fresh. If you move often, it might be wise to have some scripts to help you pack everything on the old host and setup everything on the new.
This seems to be some sort of a recurring theme/question.
Please see: https://www.lowendtalk.com/discussion/comment/2025960/#Comment_2025960
and/or
https://www.lowendtalk.com/discussion/comment/1977972/#Comment_1977972
Fundamentally/Conceptually it is same as what @AnthonySmith linked above. There are a few additional (important!) flags that you should include for rsync when copying (OS) files across machines: AXS (see man page for details).
Other than the flags the only changes you should be making are the actual excludes that may vary on a case by case basis.
You didn't mention if the VPS is OpenVZ or KVM/Xen. For OpenVZ you don't have to worry/bother about /boot but for KVM/Xen you need to copy /boot and also ensure that you run grub-install/update-grub as appropriate.
Hope this helps.