mainstoreBackup - Support: sr #108286, Exclude particular backups from...


sr #108286: Exclude particular backups from being deleted

Submitter:  None
Submitted:  Wed 17 Apr 2013 08:08:46 PM UTC
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  Done
Privacy:  Public Assigned to:  None
Originator Email:  -email is unavailable- Open/Closed:  Open
Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup

Wed 17 Apr 2013 08:48:10 PM UTC, comment #3: 


it's not recognized any more after being renamed. It's also not used for hard links any more - so this it not awesome ;-)

You can see this if you look at the output of -f configFile
(you do not see the renamed directory in the list)

It may be a good idea to change this the way you mentioned - but I have to think about this; it may be difficult or problematic with all the features like late-link, replication and isolated-backup.

You should simply rename it if it does not need to be hard linked any more. That's typically if it's not the last backup of a series any more. And - important - only rename it after no unresolved links does not exist any more (means run before renaming).

Regards, Heinz-Josef

Heinz-Josef Claes <hjclaes>
Group administrator
Wed 17 Apr 2013 08:33:34 PM UTC, comment #2: 


it is interesting how I could miss this chapter while looking at like a dozen other chapters for this particular information ;-)

It is awesome that it works the way you just explained :-).

Is the renamed backup directory still considered for keepRelative and hard links in new backups? That would be even more awesome.

Thanks a lot

Wed 17 Apr 2013 08:24:02 PM UTC, comment #1: 


see chapter "Deletion of old Backups", .

The best way to keep a backup is to rename its directory but NOT in the way you wrote. The new name must match be something like:

This is very important. If the name does not match:
(timeStamp dash string)
then it does not recognize that directory as a backup and will try to recursively find backup series inside that renamed directory.

You can also mv the directory outside the backupDir but still on the same file system. But then it may be difficult to recover it later. ;-)

Hope this helps,

Heinz-Josef Claes <hjclaes>
Group administrator
Wed 17 Apr 2013 08:08:46 PM UTC, original submission:  


I keep my backups with the keepRelative option. Now I have one back up which is important to be kept and not deleted. Is there an option to exclude particular backups from the automatic deletion process? Or is it better to just rename the folder from e.g. "2013.02.26_09.31.32" to e.g. "very_importand_backup" so it will be ignored by storeBackup?

Thanks for your answer



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

Attach Files:

No files currently attached


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.


    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-09-30 hjclaes StatusNone Done

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code