BackupPC-users

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

2013-05-01 12:24:11
Subject: Re: [BackupPC-users] Restore after upgrade advice?
From: Steve <zephod AT cfl.rr DOT com>
To: backuppc AT kosowsky DOT org
Date: Wed, 1 May 2013 16:22:36 +0000
---- backuppc AT kosowsky DOT org wrote: 
> Steve wrote at about 23:51:11 -0400 on Monday, April 29, 2013:
>  > 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?
> 
> BINGO.
> The program is run as user 'backuppc' so the data must be
> readable/writeable by user backuppc.
> 
> you need to do something like:
> 
> chown -R backuppc pc cpool pool trash

Yup, that gets backuppc to start and I can get to the admin web page.

On to the next problem. I expected to see all my backups so I could start 
restoring but there are none.
Then I remembered that I named the computer differently when I upgraded.
I see in /var/lib/BackupPC/pc there is a directory called "steve" which was the 
name of my old computer so I tried renaming that to "stevesDesktop" which is 
the new name. (I also have a stevesLaptop in case you were wondering) I 
restarted backuppc but I still don't see my old backups.

I noticed on the host status page that it knows about a host called 
stevesdesktop (all lower case) so I'll try renaming to that tonight.

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/

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [BackupPC-users] Restore after upgrade advice?, Steve <=