Session established with server TSMSERVER: AIX-RS/6000 Server Version 5, Release 5, Level 0.0
Server date/time: 09/14/10 09:43:20 Last access: 09/14/10 09:39:31
tsm: TSMSERVER>q vol
Volume Name Storage Device Estimated Pct Volume Pool Name Class Name Capacity Util Status ------------------------ ----------- ---------- --------- ----- --------
/tsm/archive.dsm ARCHIVEPOOL DISK 256.0 0.0 On-Line /tsm/backup.dsm BACKUPPOOL DISK 256.0 1.8 On-Line 如下图所示:
7.2.2、查看文件使用空间
tsm: TSMSERVER>q file mon01 f=d
Node Name: MON01 Filespace Name: /opt Hexadecimal Filespace Name: FSID: 1 Platform: AIX Filespace Type: JFS2 Is Filespace Unicode?: No Capacity (MB): 320.0 Pct Util: 71.5 Last Backup Start Date/Time:
Days Since Last Backup Started: Last Backup Completion Date/Time: Days Since Last Backup Completed: Last Full NAS Image Backup Completion Date/Time: Days Since Last Full NAS Image Backup Completed: 如下图所示:
7.2.3、查看备份的文件
tsm: TSMSERVER>query content /tsm/backup.dsm
Node Name Type Filespace FSID Client's Name for File Name ---------------
----
----------
----
--------------------------------------
MON01 Bkup /opt 1 /freeware/bin/ gunzip
MON01 Bkup /opt 1 /freeware/bin/ bunzip2 MON01 Bkup /opt 1 /freeware/bin/ bzcat MON01 Bkup /opt 1 /freeware/bin/ bzip2 MON01 Bkup /opt 1 /freeware/bin/ bzip2recover MON01 Bkup /opt 1 /freeware/bin/ gendiff MON01 Bkup /opt 1 /freeware/bin/ gzexe MON01 Bkup /opt 1 /freeware/bin/ gzip MON01 Bkup /opt 1 /freeware/bin/ install-info MON01 Bkup /opt 1 /freeware/bin/ patch MON01 Bkup /opt 1 /freeware/bin/ rpm MON01 Bkup /opt 1 /freeware/bin/ rpm2cpio MON01 Bkup /opt 1 /freeware/bin/ zcmp MON01 Bkup /opt 1 /freeware/bin/ zgrep MON01 Bkup /opt 1 /freeware/bin/ zmore MON01 Bkup /opt 1 /freeware/bin/ znew MON01 Bkup /opt 1 /freeware/bin/ zcat MON01 Bkup /opt 1 /freeware/bin/ cdrecord more... (
提示:通过以上三项,可以证明TSM备份成功。
8、恢复文件测试
8.1、模拟文件丢失
[root@itcchina /opt/freeware/bin]#cd /opt/freeware/bin/ [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