the $TopDIR must be on the same volume as the backup files.  so if $TopDIR
is /var/lib/backuppc and /var is a 500GB drive then your pc directory needs
to be somewhere in /var.  What I do and what is common to do is to mount up
the target drive somewhere temporarily and `cp -Rp /var/lib/backuppc
/target/drive` then remount that drive to /var/lib/backuppc.  then make sure
that $TopDIR  is /var/lib/backuppc.

as i understand it, this is just an ubunty/debian issue as the deb files are
compiled to hardcode $TopDIR.  if you install from source you can put
$TopDIR anywhere you like BUT you still have to put the backup files on the
same filesystem for hardlinks to work.

On Wed, Feb 27, 2008 at 4:37 PM, Nils Breunese (Lemonbit) <[EMAIL PROTECTED]>
wrote:

> 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/
>
-------------------------------------------------------------------------
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/

Reply via email to