joecline wrote:
When I clicked the restore to... under the last daily backup that occurred when the system was in a relatively good state, I get what is alike a matrix of disk images and configurations.
Yes, the backup system is a complete image of your Linode (profiles and disk images) at an instant in time. It is important to note however, that while the backup image is taken by using a snapshot of your running Linode, that does not necessarily guarantee internal consistency of things like databases, if they were in use at the point of backup.
One thing you can do is arrange to have your node dump your database into a stable backup file in advance of your backup window, just in case the filesystem snapshot isn't reliable.
Quote:
Then the system hung. I clicked to restore a daily backup and now I have FOUR configs and EIGHT disk images.
As mentioned in an earlier response, doing a restoration will create new profiles and disk images (with the "Restore ..." prefix) representing your profiles and images at the point that the backup was made. So it sounds like you did a restoration once, at which point, for lack of a better phrase you had "two of everything". Of course, once those restored profiles and images were part of your Linode, they now got included in future backups (no differently than if you had just defined a new disk image yourself), so your next restoration resulted in double that.
Quote:
I'm sorry, but I have a CS and Engineering degree and worked on Sparkstations and Solarus back in the 90's so I'm not a complete moron, but this system makes me feel like one.
Perhaps you're just overthinking it? At each backup, all of your profiles and disk images currently attached to your Linode are saved. At each restore, everything in the backup is restored by creating new profiles and images. No magic, no special behavior.
Quote:
Basically, I want to know:
1) When I have a linode up and running should I never have any additional config profiles/disk images available? This seems to make restores of backups drop a bunch of crap I don't need on my linode.
That's entirely up to you. I have some Linodes which have nothing but a single profile and related disk images defined, strictly what is used in regular operation. I have other Linodes that have a whole bunch of alternative disk images and/or profiles that I used for testing or other purposes.
While you can only be booted into a single profile (and its attached disk images) you can certainly have other profiles/images defined for any given Linode.
In all cases, the Linode backup system is a "full dump" sort of backup, really for disaster recovery, though as what started this thread, if you work at it a little you can use it to recovery files more selectively. Anything defined for your Linode is included in backups and thus restorations. So yes, all profiles/images will be in the backup and still in the restore, but you can always delete them after restoration.
Quote:
2) How do I restore just ONE (the active one) config and profile from a backup? Do I restore and then delete? Why does the backup system not do something like time date stamp, how am i supposed to know what 3454 means?
A restore always restores everything in a backup. So you have to let it restore everything, but then you can pick what you want. The 3454 is the restoration job number (which you can also see in your job queue), just for uniqueness to ensure no existing profiles and/or images are overwritten. It's just more concise than a date stamp. There's certainly no reason you have to leave your profiles/images named that way after the restore.
So, yes, restoring is all or nothing, but of course, delete anything you no longer need after using it from the restoration. Or leave it if you want - your choice.
In your specific scenario, I'd probably do the restoration, then stop your Linode, rename the existing operational profile/images to some backup name (just in case you end up liking it better than the restoration or want to borrow more recent files from it), then rename the restored profiles/images to what you want to use and then boot the restored profile. I might even decide to attach my older disk images as extra devices in the restored profile first, so I could get access to the old filesystem when checking out the restoration. If there were additional profiles/images that I didn't really need from the restoration, I'd just delete them.
BTW, independent of the above I'll also say that restoring from backup because your Linode "hung" is a rather extreme solution.
Hope this helps a little.
-- David