- 论坛徽章:
- 0
|
[root@veritas admincmd]# ./bprecover
must specify operation (-l or -r)
[root@veritas admincmd]# ./bprecover ?
bprecover: unrecognized option ?
bprecover: -l -m media_ID -d density [-v]
-l -tpath <raw_tape_device_path> [-v]
-l -dpath <disk_device_path> [-v]
-l -opath <optical_device_path> [-v]
-l -5x -p <policy_name> [-v]
-l -vxss -p <policy_name> [-v]
-r [ALL|image_number [ [-stdout] | [-dhost <destination_host>] ] ] -m media_ID -d density [-v]
-r [ALL|image_number [ [-stdout] | [-dhost <destination_host>] ] ] -tpath <raw_tape_device_path> [-v]
-r [ALL|image_number [ [-stdout] | [-dhost <destination_host>] ] ] -dpath <disk_device_path> [-v]
-r [ALL|image_number [ [-stdout] | [-dhost <destination_host>] ] ] -opath <optical_device_path> [-v]
-r [ALL|image_number] -5x -p <policy_name> [-v]
-r [ALL|image_number] -vxss -p <policy_name> [-v]
-r -nbdb [-v]
-wizard
[root@veritas admincmd]# ./bprecover -l -dpath /catalog
Offline Catalog Backup Information from /catalog
Created: 10/19/09 20:16:46
Server: veritas
Path
----
IMAGE1 /usr/openv/netbackup/db
IMAGE2 /usr/openv/volmgr/database
IMAGE3 veritas:/usr/openv/var/global
IMAGE4 veritas:/usr/openv/var/auth
IMAGE5 veritas:/usr/openv/var/license.txt
IMAGE6 veritas:/usr/openv/var/vxss
IMAGE7 veritas:/usr/openv/db/data/NBDB.db
IMAGE8 veritas:/usr/openv/db/data/EMM_DATA.db
IMAGE9 veritas:/usr/openv/db/data/EMM_INDEX.db
IMAGE10 veritas:/usr/openv/db/data/vxdbms.conf
IMAGE11 veritas:/usr/openv/var/global/server.conf
IMAGE12 veritas:/usr/openv/var/global/databases.conf
IMAGE13 veritas:/usr/openv/db/data/NBDB.log
[root@veritas admincmd]# ./bprecover -l -dpath /catalog -v
Offline Catalog Backup Information from /catalog
Created: 10/19/09 20:16:46
Server: veritas
Path
----
IMAGE1 /usr/openv/netbackup/db
IMAGE2 /usr/openv/volmgr/database
IMAGE3 veritas:/usr/openv/var/global
IMAGE4 veritas:/usr/openv/var/auth
IMAGE5 veritas:/usr/openv/var/license.txt
IMAGE6 veritas:/usr/openv/var/vxss
IMAGE7 veritas:/usr/openv/db/data/NBDB.db
IMAGE8 veritas:/usr/openv/db/data/EMM_DATA.db
IMAGE9 veritas:/usr/openv/db/data/EMM_INDEX.db
IMAGE10 veritas:/usr/openv/db/data/vxdbms.conf
IMAGE11 veritas:/usr/openv/var/global/server.conf
IMAGE12 veritas:/usr/openv/var/global/databases.conf
IMAGE13 veritas:/usr/openv/db/data/NBDB.log
[root@veritas admincmd]# ./bprecover -
[root@veritas admincmd]# ./bprecover -r
Recover veritas:/usr/openv/netbackup/db y/n (n)? y
Recovering veritas:/usr/openv/netbackup/db
Recover veritas:/usr/openv/volmgr/database y/n (n)? y
Recovering veritas:/usr/openv/volmgr/database
Recover veritas:/usr/openv/var/global y/n (n)? y
Recovering veritas:/usr/openv/var/global
Recover veritas:/usr/openv/var/auth y/n (n)? y
Recovering veritas:/usr/openv/var/auth
Recover veritas:/usr/openv/var/license.txt y/n (n)? y
Recovering veritas:/usr/openv/var/license.txt
Recover veritas:/usr/openv/var/vxss y/n (n)? y
Recovering veritas:/usr/openv/var/vxss
The following files are normally recovered as a group.
Use caution when recovering individual files only.
If the main system database file (NBDB.db) is chosen,
the remaining database files are recovered by default.
Recover veritas:/usr/openv/db/data/NBDB.db y/n (n)? y
Recovering veritas:/usr/openv/db/data/NBDB.db
Recover veritas:/usr/openv/db/data/EMM_DATA.db y/n (y)? y
Recovering veritas:/usr/openv/db/data/EMM_DATA.db
Recover veritas:/usr/openv/db/data/EMM_INDEX.db y/n (y)?
Recovering veritas:/usr/openv/db/data/EMM_INDEX.db
Recover veritas:/usr/openv/db/data/vxdbms.conf y/n (y)?
Recovering veritas:/usr/openv/db/data/vxdbms.conf
Recover veritas:/usr/openv/var/global/server.conf y/n (y)?
Recovering veritas:/usr/openv/var/global/server.conf
Recover veritas:/usr/openv/var/global/databases.conf y/n (y)?
Recovering veritas:/usr/openv/var/global/databases.conf
Recover veritas:/usr/openv/db/data/NBDB.log y/n (y)?
Recovering veritas:/usr/openv/db/data/NBDB.log
[root@veritas admincmd]# ./bprecover -r -dpath /catalog -v
Recover veritas:/usr/openv/netbackup/db y/n (n)?
Recover veritas:/usr/openv/volmgr/database y/n (n)?
Recover veritas:/usr/openv/var/global y/n (n)?
Recover veritas:/usr/openv/var/auth y/n (n)?
Recover veritas:/usr/openv/var/license.txt y/n (n)?
Recover veritas:/usr/openv/var/vxss y/n (n)?
The following files are normally recovered as a group.
Use caution when recovering individual files only.
If the main system database file (NBDB.db) is chosen,
the remaining database files are recovered by default.
Recover veritas:/usr/openv/db/data/NBDB.db y/n (n)?
Recover veritas:/usr/openv/db/data/EMM_DATA.db y/n (n)?
Recover veritas:/usr/openv/db/data/EMM_INDEX.db y/n (n)?
Recover veritas:/usr/openv/db/data/vxdbms.conf y/n (n)?
Recover veritas:/usr/openv/var/global/server.conf y/n (n)?
Recover veritas:/usr/openv/var/global/databases.conf y/n (n)?
Recover veritas:/usr/openv/db/data/NBDB.log y/n (n)?
[root@veritas admincmd]#
[root@veritas admincmd]#
[root@veritas admincmd]#
[root@veritas admincmd]#
[root@veritas admincmd]#
[root@veritas admincmd]#
[root@veritas admincmd]#
[root@veritas admincmd]# ./bprecover ?
bprecover: unrecognized option ?
bprecover: -l -m media_ID -d density [-v]
-l -tpath <raw_tape_device_path> [-v]
-l -dpath <disk_device_path> [-v]
-l -opath <optical_device_path> [-v]
-l -5x -p <policy_name> [-v]
-l -vxss -p <policy_name> [-v]
-r [ALL|image_number [ [-stdout] | [-dhost <destination_host>] ] ] -m media_ID -d density [-v]
-r [ALL|image_number [ [-stdout] | [-dhost <destination_host>] ] ] -tpath <raw_tape_device_path> [-v]
-r [ALL|image_number [ [-stdout] | [-dhost <destination_host>] ] ] -dpath <disk_device_path> [-v]
-r [ALL|image_number [ [-stdout] | [-dhost <destination_host>] ] ] -opath <optical_device_path> [-v]
-r [ALL|image_number] -5x -p <policy_name> [-v]
-r [ALL|image_number] -vxss -p <policy_name> [-v]
-r -nbdb [-v]
-wizard
[root@veritas admincmd]# ./bprecover -r ALL
Recovering veritas:/usr/openv/netbackup/db
Recovering veritas:/usr/openv/volmgr/database
Recovering veritas:/usr/openv/var/global
Recovering veritas:/usr/openv/var/auth
Recovering veritas:/usr/openv/var/license.txt
Recovering veritas:/usr/openv/var/vxss
Recovering veritas:/usr/openv/db/data/NBDB.db
Recovering veritas:/usr/openv/db/data/EMM_DATA.db
Recovering veritas:/usr/openv/db/data/EMM_INDEX.db
Recovering veritas:/usr/openv/db/data/vxdbms.conf
Recovering veritas:/usr/openv/var/global/server.conf
Recovering veritas:/usr/openv/var/global/databases.conf
Recovering veritas:/usr/openv/db/data/NBDB.log
[root@veritas admincmd]# |
|