[Nssbackup-team] [Bug 913827] Re: should delete old backups, then create new / not enough space on media

2012-11-14 Thread Anton
I would suggest a config option like 'remove older backups to free
space'.

That would work great as well in combination with the 'logarithmic'
cleaning, because you will only loose your oldest backup when your
backup disk is (nearly) full. You might also want to add an option to
'keep at least # full backups', which will cause sbackup to fail if
there really is no space left. This would prevent you from having only
the latest backup left in case the new backup is unexpectedly large.

Seems like this would not be much work to implement - anyone?

-- 
You received this bug notification because you are a member of Simple
Backup Maintainers, which is subscribed to sbackup.
https://bugs.launchpad.net/bugs/913827

Title:
  should delete old backups, then create new / not enough space on media

To manage notifications about this bug go to:
https://bugs.launchpad.net/sbackup/+bug/913827/+subscriptions

___
Mailing list: https://launchpad.net/~nssbackup-team
Post to : nssbackup-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nssbackup-team
More help   : https://help.launchpad.net/ListHelp


[Nssbackup-team] [Bug 913827] Re: should delete old backups, then create new / not enough space on media

2012-11-11 Thread Jean-Peer Lorenz
Thank you for using sbackup and for taking the time reporting this bug.

The order of backup creation and removal of existing snapshots was choosen by 
intent:
1. make a new backup
2. in case of success remove old snapshots

Reason for this is, that you don't want to end with *no* backup at all
in case of errors. Image following situation: all snapshots were removed
(since they are older than the specified threshold). The subsequent
backup fails for whatever reason. You'd have lost all of your backups
now and this is not acceptable.

I set this issue to Opinion and please feel free to add comments or
elaborate on your usecase or possible solutions from user's perspective.
There is room for improvements here but simply change the order of
backup creation and removal is not the right solution, I think.

Thank you so much for your help.

** Changed in: sbackup
   Status: New = Opinion

** Changed in: sbackup
   Importance: Undecided = Wishlist

-- 
You received this bug notification because you are a member of Simple
Backup Maintainers, which is subscribed to sbackup.
https://bugs.launchpad.net/bugs/913827

Title:
  should delete old backups, then create new / not enough space on media

To manage notifications about this bug go to:
https://bugs.launchpad.net/sbackup/+bug/913827/+subscriptions

___
Mailing list: https://launchpad.net/~nssbackup-team
Post to : nssbackup-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nssbackup-team
More help   : https://help.launchpad.net/ListHelp