Use the command enableoraclearchivelogmode
to enable or disable this mode for specific Oracle machines that are under protection.
The usage for the command is as follows:
/enableoraclearchivelogmode -core [host name] -user [user name] -password [password] -protectedserver [name | IP address]
The following table describes the options available for the enableoraclearchivelogmode
command:
Option | Description |
---|---|
-? |
Display this help message. |
-core |
Optional. Remote Core host machine IP address (with an optional port number). By default, the connection is made to the Core installed on the local machine. |
-user |
Optional. The user name for the remote Core host machine. If you specify a user name, you must also provide a password. If none is provided, then the credentials for the logged-on user are used. |
-password |
Optional. The password to the remote Core host machine. If you specify a password, you also have to provide a user name. If none is provided, then the credentials for the logged-on user are used. |
-protectedserver |
Use this option to specify the protected machine for which you want to enable the Oracle archive log mode. |
Enable the Oracle archive log mode for a protected server:
>cmdutil /enableoraclearchivelogmode -core 10.10.127.42 -user admin -password 676df#df -protectedserver 10.10.34.88
The exportrmanbackup
command lets you start an Oracle RMAN backup export job for the specified recovery point of the specified Oracle database..
The usage for the command is as follows:
/exportrmanbackup -core [host name] -user [user name] -password [password name] -protectedserver [name | IP address] -instancename [Oracle database name] -path [path] -rpn [recovery point number]]
The following table describes the options available for the ExportRMANBackup
command:
Option | Description |
---|---|
-? |
Display this help message. |
-core |
Optional. Remote Core host machine IP address (with an optional port number). By default, the connection is made to the Core installed on the local machine. |
-user |
Optional. The user name for the remote Core host machine. If you specify a user name, you must also provide a password. If none is provided, then the credentials for the logged-on user are used. |
-password |
Optional. The password to the remote Core host machine. If you specify a password, you also have to provide a user name. If none is provided, then the credentials for the logged-on user are used. |
-protectedserver |
Protected machine for which you want to edit excluded paths. |
-instancename |
The name of the Oracle database for which you want to start the job. |
-path |
The path to the destination folder to which you want to export RMAN backups. |
-rpn |
The sequential number of a recovery point to mount (use /list rps command to see the numbers). |
Start an Oracle RMAN backup export job for the specified recovery point of the specified Oracle database:
>cmdutil /exportrmanbackup -core 10.10.127.42 -use admin -password 676df#df -protectedserver 10.10.45.12 -instancename DB1 -path "D:\RmanBackups\Exported\" -rpn 4
The filesearch
command lets you search for a specific file among the recovery points in a repository, which helps you determine which recovery point you need to mount for a restore.
The usage for the command is as follows:
/filesearch -core [host name] -user [user name] -password [password] -protectedserver [name | IP address] -startdate [start date] -enddate [end date] -filemasks [file masks] -paths [paths] -subdiroff -ntfsfastoff -limitsearch [limit search]
The following table describes the options available for the filesearch
command:
Option | Description |
---|---|
-? |
Display this help message. |
-core |
Optional. Remote Core host machine IP address (with an optional port number). By default, the connection is made to the Core installed on the local machine. |
-user |
Optional. The user name for the remote Core host machine. If you specify a user name, you must also provide a password. If none is provided, then the credentials for the logged-on user are used. |
-password |
Optional. The password to the remote Core host machine. If you specify a password, you also have to provide a user name. If none is provided, then the credentials for the logged-on user are used. |
-protectedserver |
Use this option to specify the protected machine for which you want to enable the Oracle archive log mode. |
-startdate |
The earliest date of a period within you want to conduct your search. Use the date pattern "MM/DD/YYYY HH:mm:ss AM." |
-enddate |
The latest date of a period within you want to conduct your search. Use the date pattern "MM/DD/YYYY HH:mm:ss AM." |
-filemasks |
A combination of fixed and wildcard characters to search for the file. It can be one string or an array of strings. All masks should be separated by a space; for example: -filemasks "first" "second ." |
-paths |
Optional. If there are specific directories in which you want to search, use this option to list the paths. It can be one string or an array of strings. All directories should be separated by a space; for example: -paths "E:\" "C:\Program Files." |
-subdiroff |
Optional. By default, the file search is performed in subdirectories. Use this option if you want to turn this feature off and not search in subdirectories. |
-ntfsfastoff |
Optional. By default, the file search is performed using the NTFS fast algorithm. If you want to perform the search without this feature, specify this option. |
-limitsearch |
Optional. Use this option to limit the number of search results. The default value is 1000. |
Perform a file search with one file mask:
>cmdutil /filesearch -core 10.10.10.10 -user administrator -password 23WE@#$sdd -protectedserver 10.10.10.10 -filemasks "sample"
Perform a file search with multiple file masks in specified directories and without the NTFS fast algorithm:
>cmdutil /filesearch -core 10.10.10.10 -user administrator -password 23WE@#$sdd -protectedserver 10.10.10.10 -filemasks "sample" "second" -paths "C:\dir" -ntfsfastoff
The force
command forces a snapshot of a specified protected server. Forcing a snapshot lets you force a data transfer for the current protected machine. When you force a snapshot, the transfer will start immediately or will be added to the queue. Only the data that has changed from a previous recovery point will be transferred. If there is no previous recovery point, all data on the protected volumes will be transferred.
The usage for the command is as follows:
/force [snapshot] default | [base] [-all | -protectedserver [name | IP address]] -core [host name] -user [user name] -password [password]
The following table describes the options available for the force
command:
Option | Description |
---|---|
-? |
Display this help message. |
-force |
Optional. Type of snapshot to create. Available values: 'snapshot' (incremental snapshot) and 'base' (base image snapshot). By default, an incremental snapshot is performed. |
-core |
Optional. Remote Core host machine IP address (with an optional port number). By default, the connection is made to the Core installed on the local machine. |
-user |
Optional. User name for the remote Core host machine. If you specify a user name, you must also provide a password. If none is provided, then the credentials for the logged-on user are used. |
-password |
Optional. Password to the remote Core host machine. If you specify a password, you also have to provide a user name. If none is provided, then the credentials for the logged-on user are used. |
-all |
Force snapshots for all machines on the core. |
-protectedserver |
Force a snapshot for a specific protected machine. |
Force a snapshot for all machines on the Core:
>cmdutil /force snapshot -core 10.10.10.10 -user administrator -password 23WE@#$sdd -all
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Nutzungsbedingungen Datenschutz Cookie Preference Center