Tivoli Storage Manager Client Commands (DSMC Commands) - Tar
Tivoli Storage Manager Client Commands (DSMC Commands) - Tar
Tivoli Storage Manager Client Commands (DSMC Commands) - Tar
TivoliStorageManagerClientCommands(dsmccommands)| tar.gz
tar.gz
Username
Password
Login
Tw eet
Share
Like
These are just some hints. For more details please check dsmc manual.
How to enter to TSM client:
root@gz~#dsmc
How to check where are the configuration files (usually is /usr/tivoli/tsm/client/ba/bin):
root@gz~#echo$DSM_DIR
How to check when last backup ran:
root@gz~#dsmcqfi
How to check schedule (use se if you want to check it for a specific server):
root@gz~#dsmcqsched
root@gz~#dsmcqschedse=tsmserver1
How to look for files under some directory:
root@gz~#dsmcqbsubdir=yesinactive"/data/stuff/*"
How to look for files under some directory on the backup server for a host:
root@gz~#dsmcqbinactivesubdir=yesse=<client>"/data/stuff/*"
How to restore from incremental backup all files in /data/stuff directory, including the deleted ones active or
inactive:
root@gz~#dsmcrestoresubdir=yeslatest"/data/stuff/*"
How to restore files to /tmp/oldfiles:
root@gz~#dsmcrestorepicksubdir=yes"/data/stuff/*"/tmp/oldfiles/
How to restore inactive files:
root@gz~#dsmcrestoreinactivepicksubdir=yes"/data/stuff/*"/tmp/oldfiles/
How to restore without overwriting existing files:
root@gz~#dsmcrestoreverbosesubdir=yesrep=no/data/stuff/
How to look for all *.arc files between specific days mm/dd/yyyy:
root@gz~#dsmcqbinactivedateformat=1subdir=yes"/oracle/archives/*.arc"FROMdate=01/03/2010
TODate=01/03/2010
http://docs.gz.ro/tsmclientcommands.html
1/4
18/12/2014
TivoliStorageManagerClientCommands(dsmccommands)| tar.gz
root@gzaix#dsmcqarch/home/user/important.txt
IBMTivoliStorageManager
CommandLineBackup/ArchiveClientInterface
ClientVersion5,Release3,Level5.4
Clientdate/time:02/23/1213:44:54
(c)CopyrightbyIBMCorporationandother(s)1990,2007.AllRightsReserved.
NodeName:GZAIX
SessionestablishedwithserverGZTSMSERV:AIXRS/6000
ServerVersion5,Release5,Level5.2
Serverdate/time:02/23/1213:44:54Lastaccess:02/23/1213:44:47
SizeArchiveDateTimeFileExpiresonDescription
12,892,074B03/02/1106:22:39/home/user/important.txt03/01/12ArchiveDate:03/02/11
14,837,646B04/02/1106:19:00/home/user/important.txt04/01/12ArchiveDate:04/02/11
16,764,897B05/02/1105:48:05/home/user/important.txt05/01/12ArchiveDate:05/02/11
25,636,989B06/02/1106:10:06/home/user/important.txt06/01/12ArchiveDate:06/02/11
31,112,013B07/02/1106:18:35/home/user/important.txt07/01/12ArchiveDate:07/02/11
29,823,633B08/02/1106:43:03/home/user/important.txt08/01/12ArchiveDate:08/02/11
22,432,587B09/02/1109:01:12/home/user/important.txt09/01/12ArchiveDate:09/02/11
20,339,856B10/05/1111:57:45/home/user/important.txt10/04/12ArchiveDate:10/05/11
20,339,856B10/05/1111:57:45/home/user/important.txt10/04/12ArchiveDate:10/05/11
13,886,136B11/02/1105:51:21/home/user/important.txt11/01/12ArchiveDate:11/02/11
7,927,674B12/07/1105:37:25/home/user/important.txt12/06/12ArchiveDate:12/07/11
8,516,901B01/03/1212:03:54/home/user/important.txt01/02/13ArchiveDate:01/03/12
2,150,058B02/02/1206:15:12/home/user/important.txt02/01/13ArchiveDate:02/02/12
Run the restore command (if you do not specify the target path, the file will be restored on its original location):
root@gzaix#dsmcretrieve/home/user/important.txt/tmp/bm/FROMdate=09/02/11TODate=09/02/11
IBMTivoliStorageManager
CommandLineBackup/ArchiveClientInterface
ClientVersion5,Release3,Level5.4
Clientdate/time:02/23/1214:58:31
(c)CopyrightbyIBMCorporationandother(s)1990,2007.AllRightsReserved.
Retrievefunctioninvoked.
NodeName:GZAIX
http://docs.gz.ro/tsmclientcommands.html
2/4
18/12/2014
TivoliStorageManagerClientCommands(dsmccommands)| tar.gz
SessionestablishedwithserverGZTSMSERV:AIXRS/6000
ServerVersion5,Release5,Level5.2
Serverdate/time:02/23/1214:58:31Lastaccess:02/23/1214:55:43
Totalnumberofobjectsretrieved:2
Totalnumberofobjectsfailed:0
Totalnumberofbytestransferred:21.39MB
Datatransfertime:0.24sec
Networkdatatransferrate:88,638.33KB/sec
Aggregatedatatransferrate:179.85KB/sec
Elapsedprocessingtime:00:02:01
List the result:
root@gzaix#lsla/tmp/bm/user/important.txt
rwrwrw1rootcft22432587Sep0206:10/tmp/bm/user/important.txt
Noexcludefilespacestatementsdefined.
ExclDirectory/var/spool/qdaemonServer
ExclDirectory/var/spool/lpdServer
ExclDirectory/procServer
ExclDirectory/mntServer
ExclDirectory/media*Server
ExclDirectory/cdrom*Server
ExclDirectory/.../*.tmpServer
ExclDirectory/.../*.tempServer
ExclDirectory/.../tmpServer
ExclDirectory/.../tempServer
ExclDirectory/.../isoServer
NoDFSinclude/excludestatementsdefined.
http://docs.gz.ro/tsmclientcommands.html
3/4
18/12/2014
TivoliStorageManagerClientCommands(dsmccommands)| tar.gz
If you want to use this information on your own website, please remember: by doing copy/paste entirely it is always
stealing and you should be ashamed of yourself!
Have at least the decency to create your own text and comments and run the commands on your own servers and
provide your output, not what I did!
Tw eet
1
Share
Like
RECENT CONTENT
NIM Bosinst error: LED 611: failure: mount
root
Linux backup/restore/reinstall
root
Executing commands remotely on multiple systems via SSH
root
mksysb restoration error: Over mounting /.
root
HM C commands
root
Debian Tips & Tricks
root
Using M dadm
root
M iscellaneous
root
mksysb: An internal packing error occurred: incorrect size
root
Debian: How to split rc.local in rc.local.stop and rc.local.start
root
Debian: How to install, configure and manage ZFS
root
How to remove LVM snapshots if you get message "Can't remove open logical volume"
root
How to resize iscsi volume in Linux
root
Debian: how to create/remove bonding device
root
How to check which local device is assigned to which iscsi disk
root
FreeNAS tricks
root
VirtualBox: How to Add Serial Port for Linux Cluster Heartbeat M onitoring
root
Debian Heartbeat: Commands, Tips and Tricks
root
Debian DRBD: Tips, Tricks and Commands
root
VirtualBox Tips&Tricks
root
http://docs.gz.ro/tsmclientcommands.html
4/4