Created attachment 325239
Patch for lib/BackupPC/Lib.pm
Description of problem:
Changing TopDir in config file does not affect pool and cpool, BackupPC still thinks those are under the default directory /var/lib/BackupPC
Version-Release number of selected component (if applicable):
3.1.0-3.fc10
How reproducible:
Every time.
Steps to Reproduce:
1. Set $Conf{TopDir} = '/whatever'; in config.pl
2. Create /whatever with the default BackupPC directories (pool, cpool, pc, trash) and right permissions.
3. Run a backup.
Actual results:
cpool will be empty, and this will be the output in /var/log/BackupPC/LOG:
2008-11-29 10:23:40 BackupPC_link got error -4 when calling MakeFileLink(/whatever/pc/xxxname/0/f%2fetc/fDIR_COLORS, a1fbdaecae5425dc9d24653e5c87a22e, 1)
Expected results:
The files in cpool would be correctly created.
Created attachment 325239
Patch for lib/BackupPC/Lib.pm
Description of problem:
Changing TopDir in config file does not affect pool and cpool, BackupPC still thinks those are under the default directory /var/lib/BackupPC
Version-Release number of selected component (if applicable):
3.1.0-3.fc10
How reproducible:
Every time.
Steps to Reproduce:
1. Set $Conf{TopDir} = '/whatever'; in config.pl
2. Create /whatever with the default BackupPC directories (pool, cpool, pc, trash) and right permissions.
3. Run a backup.
Actual results: BackupPC/ LOG: /whatever/ pc/xxxname/ 0/f%2fetc/ fDIR_COLORS, a1fbdaecae5425d c9d24653e5c87a2 2e, 1)
cpool will be empty, and this will be the output in /var/log/
2008-11-29 10:23:40 BackupPC_link got error -4 when calling MakeFileLink(
Expected results:
The files in cpool would be correctly created.
Additional info: sourceforge. net/mailarchive /message. php?msg_ name=2008080803 2558.GG13869% 40gratch. parplies. de
This mailing list post has a patch for the problem:
http://
I'm attaching the same patch here.
I applied this patch to an already installed BackupPC from the Fedora RPM, and after that it worked as supposed to.