BackupPC-users

Re: [BackupPC-users] Restore after upgrade advice?

2013-04-29 23:52:46
Subject: Re: [BackupPC-users] Restore after upgrade advice?
From: Steve <zephod AT cfl.rr DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 29 Apr 2013 23:51:11 -0400
---- backuppc AT kosowsky DOT org wrote: 
> Steve wrote at about 01:13:15 +0000 on Tuesday, April 30, 2013:
>  > Or I should say I >could< get to the server before I tried to configure 
> the BackupPC server to point at my old backup.
>  > The problem is that my backups are on an ext3 filesystem whereas my new 
> CentOS 6.4 is partitioned with ext4.
>  > 
>  > I can use tune3fs to convert ext3 to ext4 but I'm a little nervous about 
> doing it. If it goes wrong, there go my backups.
>  > On the other hand the backups are no use if I can't get to them.
>  > 
>  > Anyone done this before? The h/w the backups are on is an external 1T USB 
> MyBook.
> 
> I'm confused... if your backups are on an ext3 filesystem then just
> mount them ext3....
> CentOS (like any *nix) can work with multiple filesystem types
> simultaneously - ext2/3/4, ntfs, reiserfs, vfat, solaris, hfs,
> etc. 
> 
> In fact, 'mount' is usually able to figure out the filesystem type
> automatically... worst case, if it can't specify "-t ext3" on the
> command line or give the equivalent parameter in your fstab.
> 
> Saying "my new CentOS 6.4 is partitioned with ext4" really makes
> no sense -- disks are partitioned, filesystems sit on individual
> partitions and are formatted, the actual distro (CentOS 6.4) is not
> partitioned nor does it have a fixed associated filesystem...
> 
> Perhaps, though I am not understanding your issue...

Or perhaps I'm misinterpreting the error message. 

The external drive is mounted ext3. 
I created a symbolic link from /var/lib/BackupPC to /media/<my external HD uuid>
When I try to restart the backuppc service I get this error:

Starting BackupPC: 2013-04-29 20:37:21 Can't create a test hardlink between a 
file in /var/lib/BackupPC//pc and /var/lib/BackupPC//cpool.  Either these are 
different file systems, or this file system doesn't support hardlinks, or these 
directories don't exist, or there is a permissions problem, or the file system 
is out of inodes or full.  Use df, df -i, and ls -ld to check each of these 
possibilities. Quitting..

I'd run out of time and decided it must be a filesystem problem and I would 
look at it more tomorrow.

However...

# ls -l /var/lib/BackupPC
drwxr-x---. 18  495 root  4096 Mar 18 06:00 cpool
-rw-r--r--.  1 root root   145 Mar 19 22:00 extlinux.conf
-r--r--r--.  1 root root 32768 Mar 19 22:00 ldlinux.sys
drwx------.  2 root root 16384 Jul 16  2008 lost+found
-rw-r--r--.  1 root root 60928 Mar 19 22:00 menu.c32
drwxr-x---.  5  495 root  4096 Mar 17 19:31 pc
drwxr-x---.  2  495 root  4096 Jul 26  2008 pool
-rw-r--r--.  1 root root   145 Mar 19 22:00 syslinux.cfg
drwxr-x---.  2  495 root  4096 Mar 18 06:00 trash
-rw-r--r--.  1 root root     0 Mar 19 22:00 ubnfilel.txt
-rw-r--r--.  1 root root     0 Mar 19 22:00 ubnpathl.txt

Hmmm... there is no user 495. Perhaps that was the backuppc user on my old 
system.
Do cpool, pc etc have to be owned by backuppc?

Steve.

------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/