Incremental backups fail due to available space prediction
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nssbackup |
Fix Released
|
Medium
|
Jean-Peer Lorenz | ||
0.2 |
Fix Released
|
Medium
|
Jean-Peer Lorenz |
Bug Description
for quite some time now NSSbackup is running in the background.
I usually check for a full backup once a month. I move the full backup folder to an external HDD and collect them there, some I burn on DVD in addition.
On every Incremental backup I get an corrupt backup.
This does happen if the backup destination has little or much free space. (With much I mean >2 gig and I think that the changes are about 50 MB)
I know that once I have a full backup (about 6 GB) on the HDD there is not enough space left for another one but usually there are about 2 GB which should be sufficient for a incremental backup I thought.
The strange thing is that the backup folder starts as a
2010-
and becomes a
2010-
after a while.
Full backups do work. Recovering files from a full backup does work too.
I can provide many other log files of similar nature if it helps ;-)
description: | updated |
Changed in nssbackup: | |
assignee: | nobody → Oumar Aziz OUATTARA (wattazoum) |
summary: |
- NSSbackup fails due to name convention + Incremental backups fail due to available space prediction |
Changed in nssbackup: | |
status: | Confirmed → In Progress |
assignee: | Oumar Aziz OUATTARA (wattazoum) → Jean-Peer Lorenz (peer.loz) |
Changed in nssbackup: | |
status: | In Progress → Fix Released |
Hi,
This "problem" is known. This fact is that NSsbackup can't determine the real size needed by an incremental backup.
This is because the job of deciding what is to be put in an incremental backup is left to TAR.
So basically, the size that we put as required for a backup is the worst case, the size of a full uncompressed backup (even though less might actually be used).
But I think what can be done for this Bug is to add a parameter that would allow the backup to proceed even though the needed space is not available. But there is a big risk in it: the risk of the user not noticing to the disk is getting full and to have no space left on the disk to have a working system.
Maybe there is a way to ask to TAR to stop before the disk is full but this needs to be checked.