Performing Ad-Hoc Backups for IBM i Agent

When you start an ad-hoc backup operation, you can specify the content in a content file.

Before You Begin

  • You must create a content file to specify the content for ad-hoc backup jobs, in the following format:

    SAVLIB LIB (LIBRARY_NAME) OMITOBJ (LIBRARY_NAME/OBJECT_NAME1) OBJECT_TYPE) (LIBRARY_NAME/OBJECT_NAME2) OBJECT_TYPE)... SAVOBJ LIB (LIBRARY_NAME) OBJ (OBJECT_NAME1) OBJ (OBJECT_NAME2) OBJTYPE (OBJECT_TYPE)

    Example

    ##
    SAVLIB LIB(LIBRARY01) OMITOBJ((LIBRARY01/OBJ01 *FILE) (LIBRARY01/OBJ02 *FILE) (LIBRARY01/OBJ03 *FILE))
    SAVOBJ LIB(LIBRARY01) OBJ(OBJ01) OBJTYPE(*FILE)
    SAVOBJ LIB(LIBRARY01) OBJ(OBJ02 OBJ03) OBJTYPE(*FILE)

where LIBRARY01 is the library you wish to back up, with three streams; OBJ01 with one stream, and OBJ2 and OBJ3 with the second stream, and rest of the objects of the library in the third stream.

  • To specify multiple objects, enter the object names in a new line by inserting an end of line with a space and "\" characters, and then enter the object names on the new line with an indentation as tab.

  • Verify that the number of objects that can be added to the OMITOBJ parameter and the OBJ parameter are not more than 300.

  • Verify that the number of content entries specified in the file are not more than 32.

Procedure

  1. From the CommCell Browser, expand Client Computers > client > File System > backup_set**.

  2. Right-click the backup_set, point to All Tasks, and then click New Subclient.

    The Subclient Properties dialog box appears.

  3. On the General tab, enter the subclient name.

  4. On the Content tab, specify the location of the content file with the prefix "<ContentFile>".

    For example, if the path to the input text file is /var/mycontentfile, then enter <ContentFile>/var/mycontentfile.

    Note

    • Specify only a single library for the parameter LIB, and the content must not be other than the library file system objects.

    • Any filters or exclusions configured for the subclient are ignored.

    • All qualified objects and libraries specified in the content file are backed up, irrespective of the job reference time.

  5. On the Storage Device tab, in the Storage Policy list, click a storage policy name to associate with the subclient.

  6. On the Advanced Options tab, configure the advanced backup options.

    • To set the number of simultaneous backup data streams that the subclient can use, enter the number in the Number of Data Readers box. For optimal performance, configure the same number of data streams as the number of content entries specified in the content file.

    • To allow multiple data reads for a single UNIX mount point during backups on this subclient, select the Allow multiple data readers within a drive or mount point check box.

    • To specify a different operating system version on the destination client, enter the version number in the Target release for backup data box.

  7. Click OK.

What to Do Next

To restore ad-hoc backup data, perform a restore operation.

×

Loading...