Update: MacOS X does funky permissions on this drive - when I first sent the original mail, I was logged in as root, and the ownerships were appearing as unknown:unknown for everything on this drive - but when I logged in as the backuppc user, the ownership appears as the backuppc user for both user and group.

The other odd thing is that the first 5 backups are browseable, but backups 6-10 are not.

The first 5 were small test backups of a single directory on my machine, then I added several more directories, and now they are not browseable.

Help!

-- Kimball

Begin forwarded message:

From: Kimball Larsen <[EMAIL PROTECTED]>
Date: September 24, 2007 4:28:28 PM MDT
To: [email protected]
Subject: Unable to Browse Backups

So, I've recently gotten backuppc installed on OSX as the server, backing up the local machine (my laptop) to an external firewire drive, and it works great. I've even developed a simple script that prevents the backups from occurring when the drive is disconnected.

However, after today's full backup, I went to browse back through the backup to see how it all looked, and I get this error in the cgi:

Error: Can't browse bad directory name /

Here are the settings from my configuration:

$Conf{XferMethod} = 'rsync';
$Conf{RsyncClientCmd} = '$sshPath -q -x -l root $host $rsyncPath $argList+'; $Conf{RsyncClientRestoreCmd} = '$sshPath -q -x -l root $host $rsyncPath $argList+';
$Conf{RsyncShareName} = [
  '/Users/kimball',
  '/usr/local/mysql/data',
  '/System/Library/Fonts'
];
$Conf{BackupFilesExclude} = {
  '/Users/kimball' => [
    'Desktop/TV',
    'Desktop/Downloads',
    'Documents/Parallels/XP/winxp.hdd',
    'Library/Caches'
  ]
};

There are no errors in the logs, and the directories created look like this:

MainEngineering:/Volumes/Honker/Backups/pc/192.168.0.21/10 root# ls -la
total 32
drwxr-x---    8 unknown  unknown   272 Sep 24 15:55 .
drwxr-x---   27 unknown  unknown   918 Sep 24 16:13 ..
-rw-r-----    1 unknown  unknown  6148 Sep 24 15:31 .DS_Store
-rw-r-----    2 unknown  unknown   109 Sep 24 15:55 attrib
-rw-r-----    1 unknown  unknown   590 Sep 24 16:13 backupInfo
drwxr-x--- 40 unknown unknown 1360 Sep 24 15:55 f%2fSystem% 2fLibrary%2fFonts drwxr-x--- 38 unknown unknown 1292 Sep 24 15:53 f%2fUsers% 2fkimball drwxr-x--- 61 unknown unknown 2074 Sep 24 15:55 f%2fusr%2flocal% 2fmysql%2fdata


As you can see, the owner and group are set to unknown:unknown - the backup process is definitely running as the backuppc user, so I'm not sure why the ownership is being messed up like this.

Thoughts?

Thanks!

-- Kimball



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to