View Only
  • 1.  onsmsync used to recycle backups : how effective is it?

    Posted Tue June 20, 2023 12:55 PM

    Hi Folks,



    I have been installing PSM at my customers and deployed SPL controlled by the IFMX scheduler.


    I have been testing onsmsync with different options to clear the backup objects.

    The options I use are

    • -t "datetime"
    • -I number of days
    • -g generations number to retain


    I am doing fine with the syntax and I can see onsmsync does things, but the results I expect are not achieved


    What do I expect when I run onsmsync one of those options?

    • Backup objects complying with the conditions disappear from the list rendered by onpsm -O list AND
    • Backup files complying with the conditions  are physically erased from the file system
    • Ixbar file updated accordingly


    I also understood that using onsmsync to recycle backup medias also ensures not to delete objects necessary to perform a restore (like for instance deleting a level 0 backup needed by a level 1 backup, or stuff like this)


    What I have noticed with my tests is that, at different opportunities, I have warning messages in the bac_act log file that say for instance backup object complying with conditions but not deleted (for an unknown reason). For me those files should clearly be deleted, and they are not.


    At the end, I remain with a lot of backup media/objects that should have been deleted long ago, but are still present in the onpsm -O list and file systems.


    Did I misunderstand anything critical here?

    This is IFMX 14.10 FC(5 or 6) I think









    Eric Vercelletto
    Data Management Architect and Owner / Begooden IT Consulting
    KandooERP Founder and CTO
    IBM Champion 2013,2014,2015,2016,2017,2018,2019,2020

    Tel:     +33(0) 298 51 3210
    Mob : +33(0)626 52 50 68
    skype: begooden-it
    Google Hangout:
    www :



  • 2.  RE: onsmsync used to recycle backups : how effective is it?

    Posted Wed June 21, 2023 04:12 AM

    it should work like that.
    But only when backup object has still an entry in the ixbar.
    Maybe a support case is needed to figure out why an object is not cleaned even when it should be.  

    Hedwig Fuchs

  • 3.  RE: onsmsync used to recycle backups : how effective is it?

    Posted Wed June 21, 2023 05:00 AM

    Hi Eric,

    I have seen similar problems with onsmsync when using Netbackup as a storage manager, very few of its basic functions work. (Back up and recovery with onbar and Netbackup do work.) In addition it is terminally slow as it works through each backup object in a serial fashion so on a large system it requires a lot of time and patience. Plus IMHO the utility suffers from having to work with multiple storage managers, lack of use - it is immaterial to ontape users - and being non-essential.

    Additionally with Netbackup the storage manager itself has its own retention policies and onsmsync is meant to keep the ixbar and sysutils database in step wit