mainstoreBackup - Support: sr #108259, Suggestion and patch to suppress...

 
 

sr #108259: Suggestion and patch to suppress "no backups" warning

Submitter:  None
Submitted:  Thu 21 Feb 2013 06:39:16 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  1 - Wish Status:  Done
Privacy:  Public Assigned to:  None
Originator Email:  -email is unavailable- Open/Closed:  Open
Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 23 Feb 2013 12:54:37 PM UTC, comment #1: 

Hi Olver,

I added you patch to the actual version. You'll get an email.

Thanks,
Heinz-Josef

Heinz-Josef Claes <hjclaes>
Group administrator
Thu 21 Feb 2013 06:39:16 PM UTC, original submission:  

Hi everyone,

in my configuration I use a fairly extensive configuration for keeping older backups. In essence, I want storeBackup to keep as much backups as possible, as long as there is backup space available.

So this is what's in my config file:
keepRelative= 1h 2h 3h 4h 1d 2d 3d 4d 5d 6d 7d 14d 21d 30d 60d 90d 120d 150d 180d 210d 240d 270d 300d 330d 365d 730d 1095d 1460d 1825d 2190d 2555d 2920d 3285d 3650d 4015d

Obviously, I don't backup that often (I just want storeBackup to keep backups just in case), so I get lots of warnings of these types:

  • no backup for period 2d to 3d, choosing next older backup instead
  • no backup for period 3d to 4d, choosing oldest backup instead.
  • There will be no backup for period 300d to 330d in 219.1 days.


The high number of warnings makes checking backup logs unnecessarily complicated if one wants to make sure no other warning gets overlooked.

What I've done is added an option "no_backup_for_period" to the "-suppressWarning" parameter. A patch is attached.

Regards,

Oliver

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #27498:  storeBackup-3.3.patch added by None (7KiB - text/x-patch - Patch file)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by hjclaes (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-02-23 hjclaes StatusNone Done
    2013-02-21 None Attached File- Added storeBackup-3.3.patch, #27498

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code