IBM Support

Backup file/directory using TSM

Question & Answer


Question

How do I backup a file or directory using Tivoli Storage Manager's client interface?

Answer

Beginning with NPS 4.6, Netezza's backup utility nzbackup now provides support for Tivoli Storage Manager (TSM). Once it is installed and configured, the TSM client interface is available to not only backup the Netezza databases but also any file that may reside on the NPS' Linux host.

Backing up anything less than the entire system is referred to as a selective backup.

To backup a single file to the TSM Server

Using /nz/data/config/system.cfg as an example:

    /opt/tivoli/tsm/client/ba/bin/dsmc backup /nz/data/config/system.cfg

To backup all files in a particular directory

Using /nz/data/config as an example:
    /opt/tivoli/tsm/client/ba/bin/dsmc backup /nz/data/config/

To backup particular files in a directory

Using wildcards to restrict:
    /opt/tivoli/tsm/client/ba/bin/dsmc backup /nz/data/config/*cfg

These operations should produce output similar to the following:
    IBM Tivoli Storage Manager
    Command Line Backup/Archive Client Interface
      Client Version 5, Release 5, Level 0.0
      Client date/time: 03/17/2009 15:27:37
    (c) Copyright by IBM Corporation and other(s) 1990, 2007. All Rights Reserved.

    Node Name: CS-SPUBOX2_NPS
    Session established with server SERVER1: Linux/i386
      Server Version 5, Release 5, Level 0.0
      Server date/time: 03/17/2009 14:29:08  Last access: 03/17/2009 14:24:36

    Selective Backup function invoked.

    Directory-->               4,096 /nz/data/config [Sent]
    Directory-->               4,096 /nz/data [Sent]
    Normal File-->               363 /nz/data/config/sendMail.cfg [Sent]
    Normal File-->               927 /nz/data/config/callHome.txt [Sent]
    Normal File-->               218 /nz/data/config/backupHostname.txt [Sent]
    Normal File-->             2,152 /nz/data/config/network.cfg [Sent]
    Normal File-->                32 /nz/data/config/system.cfg [Sent]
    Selective Backup processing of '/nz/data/config/*' finished without failure.


    Total number of objects inspected:        7
    Total number of objects backed up:        7
    Total number of objects updated:          0
    Total number of objects rebound:          0
    Total number of objects deleted:          0
    Total number of objects expired:          0
    Total number of objects failed:           0
    Total number of bytes transferred:    3.72 KB
    Data transfer time:                    0.00 sec
    Network data transfer rate:        56,403.88 KB/sec
    Aggregate data transfer rate:          3.45 KB/sec
    Objects compressed by:                    0%
    Elapsed processing time:           00:00:01

Review the output produced and confirm that the requested objects were successfully backed up. Further review of the TSM error logs (both client and server) may be required to troubleshoot any errors that are encountered.

[{"Product":{"code":"SSULQD","label":"IBM PureData System"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":null,"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.0.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Historical Number

NZ082398

Document Information

Modified date:
17 October 2019

UID

swg21574916