Re: [BackupPC-users] Change target directory
Hi, Juergen Harms wrote on 2009-01-07 17:39:25 +0100 [Re: [BackupPC-users] Change target directory]: $Conf{TopDir} appears to be a hardly coded variable. is that supposed to be a pun? [...] I had found clear instructions on what to do in the wiki, but can't find them any more - the wiki appears to have been recently improved. http://backuppc.wiki.sourceforge.net/change+archive+directory - unchanged since 30th of August. First item under Tips and Tricks. Maybe your search method has been improved ? ;-) Regards, Holger -- 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@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Change target directory
Renke Brausse wrote: the directory is hard coded, you can only change it at compile time. The easiest solution is to bind mount /var/lib/backuppc to a directory of your choice. If you've installed with RPMs, say on CentOS or RHEL, then it's not hard coded. Or if you've installed it with Debian packages, you can change the path. From the web GUI: Edit Config - Server - Install Path - TopDir From the config.pl file: $Conf{TopDir} = '/path/to/location'; Only thing I've heard is there is a bug with the RHEL/CentOS package where the pool directory remains in /var/lib/backuppc if you've installed from the RPMs. Regards, Max -- 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@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Change target directory
the directory is hard coded, you can only change it at compile time. The easiest solution is to bind mount /var/lib/backuppc to a directory of your choice. Isn't this set in config.pl file using $Conf{TopDir}. good point - maybe I'm just outdated and stuck to 2.x :) signature.asc Description: Dies ist ein digital signierter Nachrichtenteil -- 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@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Change target directory
$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. Google reveals abundant references to that topic. I had found clear instructions on what to do in the wiki, but can't find them any more - the wiki appears to have been recently improved. 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 In both cases, set the TopDir variable correspondingly. Also make sure to save any data previously stored at /var/lib/backuppc before you use that node as a mount point. This is really from memory: I am far from home and do not have access to the system with backuppc and the corresponding notes. big smiley and cheers! -- 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@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Change target directory
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@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] Change target directory
Hi! Thank you for answers. Tagore +-- |This was sent by hirleve...@gmail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- 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@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/