Kimball Larsen wrote: > Ok, I finally found and tracked down my problem. > > I'm using BackupPC on Ubuntu 7.10, which installs BackupPC 3.0.0. > Turns out, changing the TopDir location does NOT change the location > of the pool files - they are hardcoded to live in /var/lib/backuppc. > > According to here: > http://backuppc.wiki.sourceforge.net/change+archive+directory > The solution is as follows: > > "The archive directory is defined by $TopDir in config.pl. > Unfortunately, the current version honors this value for host data, > but the pool directories continue to use the default path that is > hard-coded at install time. For now, in addition to changing > config.pl, you will also need to edit lib/BackupPC/Lib.pm, and > change the value in $topDir='/path...'." > > Changing this file to point to my desired backuppc home dir solved > the link problems, and my backups now run error-free. > > Thanks for all the help!
The $TopDir relocation after installing a packaged version is discussed pretty regularly on this list (every week?). The easier solution is to mount your backup drive/array on the location used by the packager (/var/lib/backuppc in the case of Ubuntu/Debian) or make this location a symlink to where you mount your backup drive/array. But yeah, chaning the files will also work. But you'll have to edit those files again when you install an upgrade, so I recommend just mounting your backup drive on /var/lib/backuppc (you can also use a bind mount) or using a symlink. Nils Breunese. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ BackupPC-users mailing list [email protected] List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
