6 Working with SnapShot

This chapter contains the following topics:

6.1 Understanding SnapShot

The JD Edwards EnterpriseOne SnapShot application enables you to install multiple versions of JD Edwards EnterpriseOne on a single workstation. With it, you can rename the installation directory and move executable files, security tables, the jde.ini file, and registry settings to the renamed directory. Once you rename the installation directory, you can install a new version of JD Edwards EnterpriseOne without overwriting the previous version. You can also switch between the versions without performing any administrative tasks.

You must restore the SnapShot file to a true JD Edwards EnterpriseOne installation before you can run the software from that installation. You cannot begin an instance of JD Edwards EnterpriseOne from the SnapShot file.

6.2 Prerequisite

Before you run SnapShot, copy SnapShot.exe to a directory outside of the installation directory. If you try to run SnapShot from inside the installation directory with JD Edwards EnterpriseOne open or with a JD Edwards EnterpriseOne directory open, you will receive an error message. You must ensure that you use the latest installed version of SnapShot.exe.

6.3 Saving EnterpriseOne in a SnapShot File

To save JD Edwards EnterpriseOne in a SnapShot file:

  1. Run SnapShot.exe.

    The default directory for SnapShot is \installation directory\SYSTEM\Bin32.

    The JD Edwards EnterpriseOne SnapShot form appears.

    On this form, you can review a list of previously created SnapShot files, create a new SnapShot, restore a SnapShot file to a working installation, or delete a SnapShot file.

  2. Click Save.

    The Make a New SnapShot form appears.

    On this form, you define the name of the SnapShot file and set the folder where the SnapShot file will reside. This folder must be a new folder.

  3. Click OK to complete the SnapShot.

    The new SnapShot file appears in the list box on the JD Edwards EnterpriseOne SnapShot form.

    You can now install a new version of JD Edwards EnterpriseOne either by installing a new package on the workstation or restoring another SnapShot file.

6.4 Restoring a SnapShot

To restore a SnapShot:

  1. Run SnapShot.

    The JD Edwards EnterpriseOne SnapShot form appears. On this form you can review a list of previously created SnapShot files, create a new SnapShot of JD Edwards EnterpriseOne, restore a SnapShot file to a working installation of JD Edwards EnterpriseOne, or delete a SnapShot file.

  2. From the list box, select a SnapShot to restore and then click Restore.

    SnapShot restores the JD Edwards EnterpriseOne installation and removes the SnapShot file name from the list box.

    Note:

    If a viable installation of JD Edwards EnterpriseOne exists on the workstation, SnapShot prompts you to save the current installation to a SnapShot directory before you restore the alternative installation.

6.5 Deleting a SnapShot

To delete a SnapShot:

  1. Run SnapShot.

    The JD Edwards EnterpriseOne SnapShot form appears. On this form you can review a list of previously created SnapShot files, create a new SnapShot of JD Edwards EnterpriseOne, restore a SnapShot file to a working installation of JD Edwards EnterpriseOne, or delete a SnapShot file.

  2. From the list box, select a SnapShot to delete and then click Delete.

    SnapShot deletes the directory that stores the SnapShot file and removes the SnapShot file name from the list box.

6.6 Running SnapShot from the Command Line

Run SnapShot from the command line for batch processing and to implement shortcuts that automatically save and restore SnapShot files.

To run SnapShot from the command line:

Enter one of these commands in the command line:

  • To save the current installation of JD Edwards EnterpriseOne in a SnapShot file:

    SnapShot [/SSnapShot name]
    

    You do not need to specify a SnapShot name when you save an installation. If you do not specify a name when you save JD Edwards EnterpriseOne in a SnapShot file, the current version of JD Edwards EnterpriseOne will be used to define the name for the SnapShot, such as 811.

  • To restore a SnapShot file:

    SnapShot [/RSnapShot name]
    

    You do not need to specify a SnapShot name when you restore an installation. If you do not specify a name when you restore a SnapShot file, you must specify a target directory in which to locate the SnapShot file.

Note:

For SnapShot names that contain embedded spaces, enclose the entire name in quotation marks.

If needed, you can also use these switches in the command line:

  • /U

    This switch disables the user interface, including warnings and errors. Use this syntax:

    SnapShot [/SSnapShot name] [/U]
    
    SnapShot [/RSnapShot name] [/U]
    
  • /D

    This switch informs SnapShot not to rename the installation directory. Use this switch when JD Edwards EnterpriseOne resides in uniquely named directories. Use these syntax:

    SnapShot [/SSnapShot name] [/D]
    
    SnapShot [/RSnapShot name] [/D]
    
  • /A

    The Disable Autosave switch turns off the autosave feature in SnapShot. By default, when you restore a previous JD Edwards EnterpriseOne installation, SnapShot automatically saves the current active JD Edwards EnterpriseOne installation. When you select the Disable Autosave switch, SnapShot overwrites the current active installation with the restored JD Edwards EnterpriseOne SnapShot file.

    SnapShot [/RSnapShot name] [/A]
    
  • /T

    This switch designates the target directory where you save the SnapShot file. If you do not specify a SnapShot name in the /R switch, you must specify a target directory. For a target directory with an embedded space, enclose the entire name in quotation marks. Use these syntax:

    SnapShot [/R] [/Ttarget dir]