Behaviour when target has no free space

Asked by tim on 2009-03-29

So far I really like NSSBackup. But I have some questions:
What does NSSBackup do if the target has no space left? Does it abort and inform the user?
In that case: What happens if I change the drive (in my scenario I backup to a usb-drive mounted in /media/drivelabel and I would exchange it with a drive which has the same label and thus should be mounted on the same directory)?

These are the more important things I'd like to know. Less important would be the question if the mail notification could be a little simpler (i.e. a normal user can interpret the message). I'd like, for example, a simple "Backup completed at xx:xx:xx with no errors" or " Backup aborted: target does not exist".

Question information

Language:
English Edit question
Status:
Answered
For:
nssbackup Edit question
Assignee:
No assignee Edit question
Last query:
2009-03-29
Last reply:
2009-03-30

Hi,

If there not enough space on the disk, NSsbackup will abort throwing the following error:
"Not enough free space on the target directory for the planned backup (%(freespace)d <= %(neededspace)s)"

If you change the drive, the next backup will be a full backup (as no preceding backup will be found).

> I'd like, for example, a simple "Backup completed at xx:xx:xx with no errors" or " Backup aborted: target does not exist".

Do you mean that the mail title should be something like that or that the content should be changed to that ?

Regards
Aziz

tim (foren-cappell) said : #2

Hi,

> If there not enough space on the disk, NSsbackup will abort throwing the following error:
> "Not enough free space on the target directory for the planned backup (%(freespace)d <= %(neededspace)s)"

> If you change the drive, the next backup will be a full backup (as no preceding backup will be found).

I'm guessing that the next Backup will then be on the next day, right?

> Do you mean that the mail title should be something like that or that the content should be changed to that ?

Now that you mention it, either one would be fine. I had the message text in mind when I first asked but I guess the title would be even better. Also while we're at it: would it be possible to add a warning for low space on target to the message (with a configurable warning threshold)? So the user could decide to switch to a new drive _before_ space runs out?

Regards
Tim

Hi,

Since this requires modifying the strings (messages) and behaviour, I don't think we will be able to include it in the version 0.2 at this stage. I would recommend opening a Bug to NSsbackup to ask for that.

Thank you for your help in making NSsbackup a better tool.

Regards
Aziz

Anton (feenstra) said : #4

tim wrote:
> Now that you mention it, either one would be fine. I had the message
> text in mind when I first asked but I guess the title would be even
> better. Also while we're at it: would it be possible to add a warning
> for low space on target to the message (with a configurable warning
> threshold)? So the user could decide to switch to a new drive _before_
> space runs out?

Why not always report the remaining space in the message (not title)?
Or, as a threshold, the size of the last (full/incremental) backup could
be used.

--
Groetjes,

Anton
  _____________ _______________________________________________________
| | |
| _ _ ___,| K. Anton Feenstra |
| / \ / \'| | | IBIVU/Bioinformatics - Free University Amsterdam |
|( | )| | | De Boelelaan 1083A - 1081 HV Amsterdam - Netherlands |
| \_/ \_/ | | | Tel +31 20 59 87783 - Fax +31 20 59 87653 - Room P136 |
| | <email address hidden> - www.few.vu.nl/~feenstra/ |
| | "Oh, There Goes Gravity" (Eminem) |
|_____________|_______________________________________________________|

Can you help with this problem?

Provide an answer of your own, or ask tim for more information if necessary.

To post a message you must log in.