Productline Backup and Restore

 6 Replies
 0 Subscribed to this topic
 27 Subscribed to this forum
Sort:
Author
Messages
ErikaS
Basic Member
Posts: 19
Basic Member
    Good Morning,

    Is it possible to backup and restore just one single productline? If so, how?

    Thanks,
    Erika
    John Henley
    Posts: 3353
      Do you mean the structure/metadata, source code, the actual data ?

      Thanks for using the LawsonGuru.com forums!
      John
      ErikaS
      Basic Member
      Posts: 19
      Basic Member
        Yes.

        We are beginning our prototyping/testing phase of implementation. I was requested to find out if for some reason our "pristine" productline was corrupted or not set up as desired, if we could "rollback" to a previous version of just that productline.
        Jimmy Chiu
        Veteran Member
        Posts: 641
        Veteran Member
          I would start with finding out "what changed".

          - Examine if there's any patches that was applied that caused it not to be "pristine", check your %lawdir%\\backup folder for the list of patches installed
          - Examine all the cfg files timestamp to see if anyone changed anything.

          Once you found out what changed, then you can tackle the problem from there.

          P.S. The AMT guide (copy a productline section) from lawson provides the backup and restore procedure for a prodline.
          ChadH
          Basic Member
          Posts: 5
          Basic Member
            The Copy/Restore section of the manual seems to be for creating a NEW PDL using Copy. Not necessarily replacing an existing PDL. Does this mean that we would have to remove an existing PDL in order to copy an exisiting 'pristine' PDL?
            Jimmy Chiu
            Veteran Member
            Posts: 641
            Veteran Member
              That would be a clean way to "rollback" to a good copy of your "pristine" prodline, don't you think?

              - Backup a pristine condition prodline.

              - Something go wrong during testing. Remove the bad/corrupted prodline.

              - Reinstall the pristine prodline from backup.

              Anyway, the AMT covers the "lawson" part of the backup/restore process, it does not cover the database backup/restore.

              At the time of your backup, whatever your database server favor, you should make a backup at the same time also of your prodline database.

              After you finished reinstalling the prodline, restore the pristine stage database from your database backup utility.

              Also, if you prefer the overwrite options without removing the corrupted prodline from dbdef:

              read the AMT,

              some steps are quoted with:

              ***This step is only necessary if the “To PL” productline is a new and
              previously non-existent productline.***

              Skip those steps if you just overwrite them.
              ChadH
              Basic Member
              Posts: 5
              Basic Member
                Great!!! Thanks Jimmy!!!