bzip2recover gzip rlogin-cwd vi zipinfo cdrecord install-info rpm view zmore cryptdir isodump rpm2cpio vim znew decryptdir isoinfo rvi vimtutor devdump isovfy rview weather dislocate kibitz tclsh wish ex lpunlock tclsh8.4 wish8.4 [root@itcchina /opt/freeware/bin]#rm -rf znew [root@itcchina /opt/freeware/bin]#ls
autoexpect ex kibitz rview vimtutor autopasswd expect lpunlock tclsh weather bash expectk mkisofs tclsh8.4 wish bashbug ftp-rfc mkpasswd timed-read wish8.4 bunzip2 funzip multixterm timed-run xkibitz bzcat gendiff passmass tknewsbiff xpstat bzip2 gunzip patch tkpasswd xxd bzip2recover gzexe readcd unbuffer zcat cdrecord gzip rftp unzip zcmp cryptdir install-info rlogin-cwd unzipsfx zgrep decryptdir isodump rpm vi zipgrep devdump isoinfo rpm2cpio view zipinfo dislocate isovfy rvi vim zmore
[root@itcchina /opt/freeware/bin]# 如下图所示:
8.2、恢复文件
[root@itcchina -latest
IBM Tivoli Storage Manager
Command Line Backup/Archive Client Interface Client Version 5, Release 5, Level 0.0 Client date/time: 09/14/10 09:51:32
(c) Copyright by IBM Corporation and other(s) 1990, 2007. All Rights Reserved.
/opt/freeware/bin]#dsmc restore /opt/freeware/bin/znew
Node Name: MON01
Session established with server TSMSERVER: AIX-RS/6000 Server Version 5, Release 5, Level 0.0
Server date/time: 09/14/10 09:51:32 Last access: 09/14/10 09:42:23
Restore function invoked.
Restoring 3,511 /opt/freeware/bin/znew [Done]
Restore processing finished.
Total number of objects restored: 1 Total number of objects failed: 0 Total number of bytes transferred: 3.47 KB Data transfer time: 0.00 sec Network data transfer rate: 49,595.42 KB/sec Aggregate data transfer rate: 1.11 KB/sec Elapsed processing time: 00:00:03 [root@itcchina /opt/freeware/bin]# 如下图所示:
8.3、查看恢复的文件
[root@itcchina /opt/freeware/bin]#ls
autoexpect expect mkisofs timed-read xkibitz autopasswd expectk mkpasswd timed-run xpstat bash ftp-rfc multixterm tknewsbiff xxd bashbug funzip passmass tkpasswd zcat bunzip2 gendiff patch unbuffer zcmp bzcat gunzip readcd unzip zgrep bzip2 gzexe rftp unzipsfx zipgrep bzip2recover gzip rlogin-cwd vi zipinfo cdrecord install-info rpm view zmore
cryptdir isodump rpm2cpio vim znew decryptdir isoinfo rvi vimtutor devdump isovfy rview weather dislocate kibitz tclsh wish ex lpunlock tclsh8.4 wish8.4 如下图所示:
9、配置中央调度
9.1、定义客户机备份调度
实例1:每月11号21:00执行一次增量备份
define schedule fileback mouthly_backup type=client options=\objects=\
startdate=09/10/2010
starttime=21:00
duration=2 durunits=hours period=1 perunits=mouths dayofweek=Wednesday 注:定义一个名为mouthly_backup的调度,它启动所有相关节点的增量备份。初始的启动窗口是从
2010年9月10日之后的第一个星期三开始。此调度的启动窗口从21:00到23:00,每月的调度将初始化所有关联节点的/opt/freeware/bin/目录下文件空间的备份。
简义为:自2010年9月10日开始,每个月的15号(9月10号后的第一个星期三为15号,以后每月都是15号执行)的21:00执行本调度。 实例2:每周三15:00执行一次增量备份 tsm:
TSMSERVER>define
schedule
fileback
weekly_backup
type=client duration=2
options=\objects=\
durunits=hours period=1 perunits=weeks dayofweek=wednesday
注:定义一个名为weekly_backup的调度,它启动所有相关节点的增量备份。初始的启动窗口是从当前日期当前时开始。此调度的启动窗口从当前时间持续2小时,每周的调度将初始化所有关联节点的/opt/freeware/bin/目录下文件空间的备份。 简义为:自当前时间开始,每周三的当前时间执行本调度。 实例3:每天23:00执行一次增量备份
tsm: TSMSERVER>define schedule fileback days_backup options=\objects=\starttime=23:00 duration=2 durunits=hours period=1 perunits=days dayofweek=any 注:自今日23:00开始,每天的23:00执行本调度。 实例4:仅执行一次调度(测试专用)
tsm: TSMSERVER>define schedule standard onetime_backup options=\objects=\starttime=16:30 duration=5 durunits=minutes period=1 perunits=onetime
注:本人测试时,当前时间为16:10,意为20分钟后执行。
9.2、将客户机与调度相关联
将客户端加入到的新策略域中的调度
tsm: TSMSERVER>define association fileback onetime_backup mon01