[Discuss] Cannot restore from Backintime (Ubuntu)
Murray Strome
wmstrome at shaw.ca
Sat Feb 8 07:16:53 PST 2014
On 14-02-06 01:22 AM, Patrick wrote:
> No problem. I'm putting my own backup/restore scripts together right
> now and, to be honest, your problem scared me a little. "I *made*
> backups, kept them up-to-date, maintained a regular snapshot routine,
> kept them on a good, properly functioning external drive... Still
> didn't help when I needed them." Freaky. Current project is the
> restore script. Have to make sure it's a *good* restore script. Also,
> I was thinking about a lot of the same things already, so it wasn't
> much of a stretch to apply that elsewhere.
>> I eventually found that I could copy almost all of the files from the backup to the home directory. It appears that ~/.thunderbird was not backed up properly. Although some files are there, none of the actual mail messages were, nor were the account settings. I am looking around on some of my old external hard drives to see if I can find a manual backup of Thunderbird, but if I do so, it will be pretty old. At least it would still have some of my older E-mails and an old version of the address book.
> Patrick.
Success!!! -- well mostly. I found that the .thunderbird (as well as
.mozilla and .kompozer) folders actually were backed up OK. The problem
was with the permissions. I had used Backintime (root) to do the
backups. While I was able to simply copy most files and folders from
the snapshots created by Backintime, it failed in copying lots of things
from the E-Mail, etc. folders. It turns out that there were two
problems: 1) in the backup, the files were owned by root; and 2) most of
the files were marked as read only. Once I used sudo cp to copy them
over to the home directory, then changed the ownership and group to
{user} (using sudo chown -R and sudo chgrp -R) and then changing the
permissions to let owner write, things are back to normal. The only
things I lost were the E-Mails between the last time I had done a backup
and when the disk got messed up a couple of days later. I now have that
HD in an external USB case and have been fooling around with recovery
tools to see if I can recover the original files. Nothing has worked yet!
The partition is there, but corrupt. I believe that most, if not all, of
the files are still on the disk but the tools I have tried have not been
able to get at them. Testdisk finds the partition OK, but detects as a
Sun-OS, though it is type 83 (Linux). However, when trying to
repair/recover it, it says that is not supported. I also tried Photorec
and Foremost without success.
At least I can carry on (I reinstalled LINUX on another HD so that I
could continue to play with the old one).
Murray
More information about the Discuss
mailing list