Re: [BackupPC-users] Change target directory
2009-01-07 11:54:08
Juergen Harms wrote:
> $Conf{TopDir} appears to be a "hardly coded variable". My
> understanding
> is that, in your configuration file, you can set it to any value you
> want, but that the result you intuitively expect will only be achieved
> as long as you stay within the file-system that contains the backuppc
> configuration data.
The thing is that the TopDir location is also written into some lib
file at install time. If you install a BackupPC package the same thing
applies: if you just change it in the config file, it won't work.
> From memory, here are the 2 principal alternatives for using a
> directory on another file-system:
>
> 1. mount - as already suggested - your backup file-system directly at
> the mount point /var/lib/backuppc
> 2. do a "bind"-mount of the backup file-system
> - mount your backup file-system at the mount point of your
> choice,
> e.g. <backup-mount>
> - do "mount --bind <backup-mount> /var/lib/backuppc"
> to have this done automatically at boot time, add a line to your
> /etc/fstab file
> - <backup-mount> /var/lib/backuppc none bind
You can also use a plain symlink. These solutions have been posted
many times to this mailinglist.
Nils Breunese.
------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
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/
|
|
|