Automic Workload Automation

Expand all | Collapse all

Restore Removed object

  • 1.  Restore Removed object

    Posted Apr 26, 2017 07:04 AM
    Need your help to restore any object which has been removed. As we understand that each object is version controlled , we need to fetch the latest version

    Not sure what you exactly mean, but given on the description there'd be 2 possible answers :

    1 - Restore a deleted object

    You can do this from the Process Assembly > Recycle Bin. Just select the object and right-click on it > restore. Please note that its name is extended with  "_number":

    2cd4rirzbdn8.pnghttps://us.v-cdn.net/5019921/uploads/editor/ft/2cd4rirzbdn8.png" width="651">

    Data will be accessible in the Recycle bin until the next run of DB Unload (generally run during the housekeeping with Automic utilities).

    2 - Restore an older version of the object


    This works only if  'VERSION_MANAGEMENT' has been set to 'Y' in UC_CLIENT_SETTINGS.

    Edit the object and go to its 'Version Management' tab. Then highlight the desired version, right-click on it and choose 'Restore'.

    hafkvk8bi88g.pnghttps://us.v-cdn.net/5019921/uploads/editor/u6/hafkvk8bi88g.png" width="1465">

    Best regards,
    Antoine


  • 2.  Restore Removed object

    Posted Apr 28, 2017 09:56 AM
    Additional info:
    If you delete a folder with objects in it, the folder will be deleted from the table (it will not be in the Recyle Bin)
    and the contents of the deleted folder will become "orphans" and can be found under <No Folder>


  • 3.  Re: Restore Removed object

    Posted May 09, 2018 08:29 AM

    What if the object is deleted the DB Unload has run (=the deleted object is no longer in the Recycle Bin)?

    Is it then possible to restore the object ?



  • 4.  Re: Restore Removed object

    Posted May 09, 2018 08:37 AM

    Hi Keld_Mollnitz

     

    If DB Unload has run then the object has been deleted from the database. There is no way to restore it directly.

    One (complicated) way to achieve this would be to use a backup copy of the DB, and start an AE instance that runs on this DB, then export the object.

     

    Also, to prevent this from occurring you can run DB Unload with "-K" parameter so that the recycle bin does not get emptied.

     

    Best regards,

    Antoine



  • 5.  Re: Restore Removed object

    Posted May 09, 2018 08:52 AM

    Thanks Antoine,

    We had deleted a workflow yesterday by mistake and today someone wanted the workflow restored. The DB Unload has run and emtied the Recycle Bin, so that means there is no way of restoring it.



  • 6.  Re: Restore Removed object

    Posted May 09, 2018 08:56 AM

    I´m afraid so... Was it in Dev / Prod / QA ? Maybe there is another version of this workflow in another environment?



  • 7.  Re: Restore Removed object

    Posted May 09, 2018 09:03 AM

    Antoine_Sauteron, does it make a difference if you have OBJECT_AUDIT = Y in UC_CLIENT_SETTINGS?

    or VERSION_MANAGEMENT = Y



  • 8.  Re: Restore Removed object

    Posted May 09, 2018 09:14 AM

    Unfortunately it doesn't. The object gets deleted along with its previous versions.



  • 9.  Re: Restore Removed object

    Posted May 09, 2018 03:25 PM

    Hi

     

    to avoid these issues we do an export of all objects on a daily basis. For this we use a java tool that exports the automic objects and creates the same structure in the filesystem like in AE User interface tree.

     

    Other possibility would be to do a daily unload of all objects.

     

    cheers, Wolfgang



  • 10.  Re: Restore Removed object

    Posted Apr 15, 2019 01:02 PM

    Hi wolfgangbruecker.  Just wondering what java tool you use and/or an easy way to do this daily export that you spoke of.  We just ran into this issue today (someone deleted an object and our daily unload process emptied the Recycle Bin).  I found this thread and I think we will start using the -k option and only empty the Recycle Bin x a month (vs. daily) but am also interested in this daily export.  Thanks.



  • 11.  Re: Restore Removed object

    Posted Apr 18, 2019 04:03 PM

    Hi

    thats a consultant tool made years ago from an uc4 consultant.

     

    maybe meanwhile its available at marketplace.

     

    cheers, Wolfgang