Clone linode before upgrade
I want to update my Linode, but would like to back it up in advance just to be safe. I don't expect problems (the problems came with X, KDE, display drivers, etc. which don't apply to linode), but I want to have an easy backout plan.
So, what I want to do is:
shut the linode down
clone it (my.sys -> my.sys.clone)
start up the primary (my.sys) and go through the upgrade procedure on it
If everything is fine, I'll run it for a week or so, and if there are no problems, I'll delete the clone.
If there is a problem, I'll figure out what went wrong and then I'll delete my.sys and re-clone the clone (my.sys.clone -> my.sys) and try again. While I'm tracking down the problem, I may want to go back and forth between the two, so I'd shut down one and then boot the other. I won't boot both at the same time (so there won't be two linodes competing for the same fqdn/IP). Eventually, once everything is fine, I'll delete the clone.
Since I've never cloned my linode before (and actually haven't found a lot of documentation describing exactly how it works), I want to make sure that I'm not missing any steps.
Is this all reasonable?
Thanks
3 Replies
Linode backups won't do any better I suspect. They only backup disk, and a restore apparently alters your virtual machine somehow (it says that any disk partition will be restored to an ext3 partition, even if it was ext4 or something else originally). As a result, I'm not really excited to even experiment with them.
This is a bit disappointing…. a true clone of a VM should be possible in my opinion.
I'm leaning towards just proceeding with OS updates and hoping for the best. I've got the entire build automated with puppet, so if the host is completely destroyed, I can rebuild it, but that's slower and involves more effort than just switching back to a backup clone.
I could well and easily be wrong though
Thanks for the suggestion.