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
You can rsync your data over from DO to Vultr which is fairly easy to do.
I completely agree with this. rsync would be the most ideal way to move the Data. also to the OP could you tell us what the Digital Ocean VPS are used for so we could provide you with the best commands to move the data across.
R1Soft Bare-Metal Restore
You could ask your provider for a backup of your vps files, usually they are able to put it all in a single .tar file with 1 click.
http://clonezilla.org/
KVM inside KVM, else boot recovery and dd image of the old one. (Migrated a KVM to Vultr this way)
As someone pointed out above, Idera's R1soft bare metal restore would be the best option but it will cost you.If you are interested in this then contact @George_Fusioned as he might be able to do this cheaply for you.
Idera seems to be the easiest way, depending on the cost will go that way. Already sent message to George. There would me be more options if Digital Ocean would have boot ISO/CD capabilities.
Rest of options look more complex, and clonezilla requires booting from CD in both cases, right ?
@Mark_R I don't think that a large provider like Digital Ocean would do that "favor" to me.
It doesn't hurt to try.
U're right
I wouldn't do a full system move. DO has a lot of junk in their temples that might not move over correctly (don't they mirror the Ubuntu repositories internally?).
On a more generic scale, I was planning on moving providers. Is it safe to move from one container to another by what is essentially a copy and paste?
Usually with Linux you can just migrate the whole image file (doesn't exist if you're using LVM, but then you can take snapshot). Many providers would let you import it (for example iwStack lets you upload template from qcow2; if your image is raw format you can convert with qemu-img convert; for others probably you can open ticket).
All my VMs are CentOS
cd / tar -cvpzf backup.tar.gz --exclude=/backup.tar.gz --one-file-system /
More details and variations on how this could be done.
https://help.ubuntu.com/community/BackupYourSystem/TAR
DO has an rsync backup procedure that could be useful.
https://www.digitalocean.com/community/articles/how-to-create-an-off-site-backup-of-your-site-with-rsync-on-centos-6
Is it possible to restore in a smaller disk with R1Soft ?
Sure it's more complex than that. My problem is that I don't have much hours to spend in this
+1 for rsync
rsync -avP --numeric-ids --exclude='/dev' --exclude='/proc' --exclude='/sys'
root@oldhost:/ /path/to/destination/
sure this is only the first step and there is some work required afterwards to move files in correct place, but after all its the easiest way and should be always possible to do...
Bare Metal Restore would probably work if it wasn't for DO's custom KVM implementation.
Normally you need identical hardware in order to do a Bare Metal Restore with R1Soft/Idera.
We could give it a try but I can't promise much...
If you have the time a fresh install is a pretty good idea, then just move across all the files you need to like www root etc. Good way to make sure everything is up to date and to maybe free up some resources by removing dead weight you found out you didn't really need or forgot about.
Obviously that's not really applicable for everyone though especially if you have to re-provision multiple VMs. Maybe worth considering though.
rsync is your best option, Here is a tut encase you need one. http://www.cyberciti.biz/tips/linux-use-rsync-transfer-mirror-files-directories.html
dd or some kind of raw image (perhaps from a backup? Never used DO..) is likely the best way.. Serverian was able to restore one of my KVM raw images for me one time.. however not sure how willing vultr will be to restore from raw...
Hi, regarding this, I'll try your suggestions when have some hours. Thanks for your help
I think I will try the rsync option, seems the most coherent way, also as I said before, destination has a smaller disk. Obviously, the partition is almost empty, it's just a couple of VoIP servers !
Thanks again
Not needed.
Boot GRML, scp image to HDD; reboot, done
This shouldn't work with a smaller partition, right ?
@serverian already prompted the best answer. why search more?
I think clonezilla doesn't alow restore in a smaller partition.
Vultr allows mounting ISO now?
Edit: oh cool, didn't know
Edit2: anyway you can resize the image partitions on your own computer / server
Edit3: if you're using Vultr you can probably also get larger disk, copy from image file to disk device, then resize partition with something like parted on live CD, and then downgrade it or snapshot and provision from snapshot.