Forum archive
Indefinite restore time to hub Amazon instance
So, needed to restore a 100k file from yesterday's nightly tklbam.
Disk space is a bit tight locally, the backup image is 400Gb, and duplicity seems to want to go back to the previous full backup and work it's way forward to the target file.
So, restore to Amazon server instance seems like a good idea. Couple of clicks and it's on it's way.
12 days later, it's still going...
https://hub.turnkeylinux.org/servers/ dashboard says "Restoring backup... (spinner)"
I can ssh into the instance, it's running. However it only has it's own small 10Gb root partition. Who knows where it's putting all the data it's restoring to. Perhaps another volume that it will bring online when the restore completes. And who knows what machine is running the mystical restore process, as it doesn't appear in the process list of the target machine. Perhaps hub's own control server.
There doesn't appear to be any other controls in either hub or AWS to see what's going on. Or to set things up differently when initiating the restore.
So the restore rate seems to be less than 400k/byte/second (based on 12 days), which makes the whole hub server restore fairly useless for resonably large backups. 12 days later, the original file user is getting annoyed.
Any clues anyone?
I'm guessing that you used the Hub to "restore to new cloud server" (i.e. clicked that button from the relevant backup record within the Hub)? Assuming so, then it should have launched a new server (which should then show in your server list; booting, installing updates, restoring backup, etc). It sounds like that bit all happened according to plan. Except that something obviously went wrong. Considering the size of your backup (and the flaw in the Hub that doesn't allow you to set the default volume size), I'm not surprised it failed. However, it should have filled the server with your backup until it failed and there certainly should have been a log!
Although I just realised, that I made a mistake! The logfile should be /var/log/tklbam-restore (not tklbam-backup). Deep apologies on the misdirection! I'm guessing that the server is long gone by now, but if it's not, then it'd be useful to have a quick look at that log, just to confirm that it failed because of backup size.
Regarding your question of other user's backups, I don't have hard stats, but I do have anecdotal evidence. From what I've seen, you are one of very few with backups that large. As the info that I see only gives total storage size and number of records, I can only guess at the actual backup sizes. But I would guess that most individual "full backup" sessions are less than 1GB.
As for testing backups, we always do preliminary TKLBAM testing for each release we provide. But generally I would suggest that many users (probably most) don't check their "real world" backups as often as they should (IMO). IMO backups have limited value if they aren't tested regularly. In a perfect world, I'd be inclined to do monthly tests, however I don't think I've ever done them that regularly.
As for the automated restore being "dropped" in the Hub, that is only supported for versions of TurnKey provided by the Hub. When we release a new version, the Hub is one of the first places to get it. In the past we have kept the old version around for a little while, but in more recent times, we have just replaced the old version with the new. So I suspect that whatever appliance you are using, there has been a new version released. Currently only Core has been released for v14.2 so I'm guessing that's what your server is based on, or perhaps you were looking at an older backup record when you noticed that?