Claims success when backup fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
backuppc (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: backuppc
Backuppc claims that backup has succeeded when it has failed. This can happen when backup fails because of permissions.
1) Add a directory where user 'backuppc' does not have a read permission. /home/ could be a very common example.
$ sudo nano /etc/backuppc/
# commented out: $Conf{TarShareName} = ['/etc'];
$Conf{
$ sudo /etc/init.
2) Run full backup
- http://
What should happen: An error about failed backup should be given, with explanation and instructions how to fix it. Host status should be failed.
What happens (the bug): Backup seems to run normally. When refreshing after about a minute, a new backup is listed for browsing under "Backup Summary". "Host summary" shows green (good) status: "backup done". Host is listed under "Host summary: Hosts with good Backups".
This bug can lead to data loss. User could pick a wrong directory (eg. /etc/) for verifying the backup, thinking it works. When disks break, user is not happy to see that backup has failed. Usually, the most important data (eg. /home/) is not included.
Bug was found on Ubuntu 6.06 LTS Dapper (grep DESC /etc/lsb-release), apache2 2.0.55-4ubuntu2.1, backuppc 2.1.2-2ubuntu5 (dpkg --list backuppc apache2).
Thank you for your report. I apologize that no one has gotten back to you about this yet.
Does this still happen?