Archiving a Product Line?

 6 Replies
 1 Subscribed to this topic
 27 Subscribed to this forum
Sort:
Author
Messages
KevinY
Basic Member
Posts: 6
Basic Member

    When we implemented Lawson at the tail end of last year, we imported 2008 employee tax data from our legacy system (Oracle) to a PL set up specifically for W2's to create the documents out of Lawson.  We are hosted by Lawson, and they want us to get down to no more than three PL's in our DEV environment.  

    The W2 Product line is a candidate for eventual deletion, but not right now.  I intend to gather retention and retrieval requirements from our HR group, assuming that data from a Lawson PL can be archived. 

    Has anyone been through such an effort, and if so, can you point me to some place to build my understanding on archiving a PL and / or it's data?   Thanks.

    Greg Moeller
    Veteran Member
    Posts: 1498
    Veteran Member
      Although we are only doing limited purges here because of user reluctance, regulatory requirements, and such, you can take a look at the Lawson 300 level jobs. AP300, AR300, IC300, PO300, etc. These jobs will do the purging/archiving for you.
      Ben Coonfield
      Veteran Member
      Posts: 146
      Veteran Member
        The archive/purge jobs are for a partial archive of a product line, i.e. removing the oldest records & keeping current. This is a complicated undertaking. But it sounds like you are wanting to archive the ENTIRE productline, so that you can free the resources but have the option of brining it back at a later date. In this case, I would just rely on a Oracle backup of all the tables. You can write it to tape, and if required you could restore the data to a recreated product line. The productline data is ordinarily in it's own Oracle instance, or at least it's own schema.

        If required, you could also back up the whole productline directory $LAWDIR/productline too. Most of the data in that directory is probably redundant and could be recreated, but there are some parts you might need to keep (e.g. workfiles). I would keep it simple and back up the whole thing to tape.

        If you also need to archive and possibly restore environment data like user security, printer definitions, jobs, or EDI data that would be in the GEN or LOGAN areas that would be a separate task.

        Look for the documentation on the product line copy process. Backing up an entire productline is much like doing half of the productline copy. You would just write all the files to an archive location that would be loaded to the target in the productline copy procedure.
        Greg Moeller
        Veteran Member
        Posts: 1498
        Veteran Member
          You have a good point there, Ben. When Kevin asked the question, I guess I didn't really think it all the way through.
          Those are good instructions! Instead of just writing files to archive locations, we like to use tar here, but it's really all what you are comfortable with.
          John Henley
          Posts: 3353
            In addition to keeping a just a copy/archive of the database, you would need to keep a copy of the $LAWDIR/productline/ (e.g. metadata in particular) files. These would be required if you wanted to restore/recreate the product line. In other words, the database backup and the productline backup need to be backed up and restored in sync. You wouldn't want to copy your PROD product line two years from now to create an "ARCH" productline, and restore the archived database--they would likely be out-of-sync.
            Thanks for using the LawsonGuru.com forums!
            John
            Jimmy Chiu
            Veteran Member
            Posts: 641
            Veteran Member
              You can find the step by step procedure under the AMT administration guide - copy productline. You only need to perform the "from PL" steps and archive those files. In the event that you need to bring the productline back, you can use the "to PL" steps.

              Don't forget to perform the database backup also.
              KevinY
              Basic Member
              Posts: 6
              Basic Member

                Thank you for the information.  I definitely feel more enlightened.