NBU常用命令简单汇总(二)
2010-11-17 13:37
369 查看
1、bplist:
列出 NetBackup 服务器上已备份和存档的文件.列出策略类型为oracle的备份文件名:
-C后面是客户端名称
-t 4是指策略类型为oracle
关于策略类型有以下几种:
0 = Standard
4 = Oracle
6 = Informix-On-BAR
7 = Sybase
8 = MS-SharePoint
10 = NetWare
13 = MS-Windows
14 = OS/2
15 = MS-SQL-Server
16 = MS-Exchange-Server
19 = NDMP
35 = NBU-Catalog
11 = DataTools-SQL-BackTrack
17 = SAP
18 = DB2
20 = FlashBackup
21 = Split-Mirror
22 = AFS
25 = Lotus Notes
39 = Enterprise-Vault
列出策略类型为catalog的文件:
这个的输出有点长,所以么显示出来。不过命令就是这样的用!
2、指定某个媒体永不失效:
如果-d后面是数字0,则代表此媒体将会立即失效。如果是具体的日期,则会在指定的时间失效。NBU默认指定的失效日期是1周。
3、重新label磁带:
这里用到bplabel命令,具体用法可以看他自己的帮助文档。在label之前确定要label的磁带已经失效或者使用bpexpdate使其失效。
如果加-erase则是删除磁带中的内容,如果-l和-erase同时使用,则是慢速擦除磁带内容。
4、bpflist:
这个命令查看磁带中已备份的文件的详细信息,主要包含以下信息:
(1). file sequence number in the backup image (starts at 1, a zero means this file is NOT in the image)
(2). compressed size in bytes, plus 7 as safety margin (0=not compressed)
(3). number of characters in the path name
(4). number of characters in the files file line from the field *after* the path name to the end of the line
(5). starting block of this file's data in the backup image
. in_image flag (0=not in image, 1=in image)
(7). raw partition size in bytes (0=not a raw partition)
. size of the file in GBytes (only set if the file is bigger than 2 GBytes, otherwise zero)
(9). file system physical device number
(10). path name
(11). mode bits in decimal (convert to octal - see below)
(12). owner
(13). group
(14). real size in bytes (as in on-disk inode)
(15). last access time
(16). last modification time
(17). last inode modification time
如果使用该命令时指定了-l参数,则显示概要信息,如果不加,则显示更详细的信息:
不加-l参数的输出:
列出 NetBackup 服务器上已备份和存档的文件.列出策略类型为oracle的备份文件名:
-C后面是客户端名称
-t 4是指策略类型为oracle
关于策略类型有以下几种:
0 = Standard
4 = Oracle
6 = Informix-On-BAR
7 = Sybase
8 = MS-SharePoint
10 = NetWare
13 = MS-Windows
14 = OS/2
15 = MS-SQL-Server
16 = MS-Exchange-Server
19 = NDMP
35 = NBU-Catalog
11 = DataTools-SQL-BackTrack
17 = SAP
18 = DB2
20 = FlashBackup
21 = Split-Mirror
22 = AFS
25 = Lotus Notes
39 = Enterprise-Vault
列出策略类型为catalog的文件:
这个的输出有点长,所以么显示出来。不过命令就是这样的用!
2、指定某个媒体永不失效:
如果-d后面是数字0,则代表此媒体将会立即失效。如果是具体的日期,则会在指定的时间失效。NBU默认指定的失效日期是1周。
3、重新label磁带:
这里用到bplabel命令,具体用法可以看他自己的帮助文档。在label之前确定要label的磁带已经失效或者使用bpexpdate使其失效。
如果加-erase则是删除磁带中的内容,如果-l和-erase同时使用,则是慢速擦除磁带内容。
4、bpflist:
这个命令查看磁带中已备份的文件的详细信息,主要包含以下信息:
(1). file sequence number in the backup image (starts at 1, a zero means this file is NOT in the image)
(2). compressed size in bytes, plus 7 as safety margin (0=not compressed)
(3). number of characters in the path name
(4). number of characters in the files file line from the field *after* the path name to the end of the line
(5). starting block of this file's data in the backup image
. in_image flag (0=not in image, 1=in image)
(7). raw partition size in bytes (0=not a raw partition)
. size of the file in GBytes (only set if the file is bigger than 2 GBytes, otherwise zero)
(9). file system physical device number
(10). path name
(11). mode bits in decimal (convert to octal - see below)
(12). owner
(13). group
(14). real size in bytes (as in on-disk inode)
(15). last access time
(16). last modification time
(17). last inode modification time
如果使用该命令时指定了-l参数,则显示概要信息,如果不加,则显示更详细的信息:
不加-l参数的输出:
相关文章推荐
- NBU常用命令简单汇总(一)
- Linux的那些基础常用命令汇总及简单剖析
- Linux的那些基础常用命令汇总及简单剖析
- Linux的那些基础常用命令汇总及简单剖析
- Linux 自己常用命令汇总
- DELL磁盘阵列控制卡(RAID卡)MegaCli常用管理命令汇总
- matplotlib 常用命令汇总
- Linux apache日志分析常用命令汇总
- Linux企业运维人员最常用150个命令汇总
- Linux 常用命令汇总--加了注释
- Linux常用命令分类汇总(5)
- linux常用命令汇总
- ADB常用命令汇总
- Hadoop常用命令汇总
- MySQL 数据库常用命令 简单超级实用版
- 常用FTP命令及简单上传下载实例大搜捕
- git常用命令汇总(命令行模式)
- SQL中一些简单但常用的东西汇总下
- Linux最常用150个命令汇总
- Git常用命令汇总