The backup data is already on a removable 3TB and the data is on pair of LVM 2TB drives while the failing drive has /. All drives are already mounted by UUID in fstab.

The issue seems to be the order in which users/groups are created during the installation - I doubt that an identical set of packages is used in the various metapackages in 8.04, 10.04, and 12.04 - thus generating mismatches in numeric IDs when I try and restore the data from either the backups or the damaged disk.

From previous advice I'm going to try and install the most basic version of 12.04 possible, recover /etc/passwd, etc/group, and /etc/shadow and then add on the rest of the system. If that fails I'll likely say the heck with Ubuntu and move to OpenSUSE which is my preferred desktop OS anyway..

Thanx for the suggestions!

Date: Sun, 22 Dec 2013 23:29:46 +1100
Subject: Re: [BackupPC-users] Debian / Ubuntu restore solution?

On 21/12/13 00:39, Adam Hardy wrote:
Adam Goryachev on 12/12/2013 10:32 PM, wrote:
My suggestion, which is not worth much....

You should save your data in at least three places, so I assume you are trying to save it to two, but both copies are on the same drive.

I would suggest the following:
One physical HDD has all your OS + Data for normal day to day use
One physical HDD has all your backuppc data (/var/lib/backuppc on debian/ubuntu)

I am going to go with the option of using a USB HDD for the backuppc data - I haven't looked at the config choices yet either in Ubuntu or BackupPC - what would be easiest?

- configure Ubuntu to mount the one of the partitions on the USB drive at /var/lib/backuppc (it's a 2TB drive thats also going to have my OS clone from clonezilla on it)

- configure BackupPC to put backuppc data on the drive where the systems mounts it by default (haven't tried it yet but I think it's in /media somewhere)

Forget if anyone else answered this already, but in case you haven't, then I would suggest the first option.

Getting ubuntu (linux) to mount a drive at a specific location is pretty easy. Edit /etc/fstab, and copy one of the example lines there:
/dev/sdb1 /var/lib/backuppc ext4 defaults,noatime 0 1

Assuming you use ext4 and sdb is the USB drive. Probably better is to find out the UUID, and specify that instead of /dev/sdb1:
UUID=a3d8c557-544e-3832-37b9-1913affd8ae2 /var/lib/backuppc ext4 defaults,noatime 0 1

Maybe someone else can comment on the best way to find out the UUID for your drive/partition....

Adam Goryachev
Website Managers

------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
_______________________________________________ BackupPC-users mailing list List: Wiki: Project: