Backuppc no compression when change topdir
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
backuppc (Fedora) |
Fix Released
|
Medium
|
|||
backuppc (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
Binary package hint: backuppc
Description: Ubuntu 8.04
Release: 8.04
backuppc:
Installé : 3.0.0-4ubuntu1
Candidat : 3.0.0-4ubuntu1
Table de version :
*** 3.0.0-4ubuntu1 0
500 http://
100 /var/lib/
I need to change the $Conf{TopDir}.
When you change it, you can't use compression... Backuppc doesn't create "cpool" directory and doesn't compress files.
It's not a access right problem. The user "backuppc" have full rights on the new directory
I have the message in log's file
2008-07-08 18:39:59 BackupPC_link got error -4 when calling MakeFileLink(
When I change $Conf{TopDir} to /var/lib/backuppc it's working...
description: | updated |
Changed in backuppc (Fedora): | |
status: | Unknown → Fix Released |
Changed in backuppc (Fedora): | |
importance: | Unknown → Medium |
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.