The New-CloudAccount
command lets you add a new cloud account to the Rapid Recovery Core.
The usage for the command is as follows:
New-CloudAccount -core [host name] -user [login] -password [password] -displayname [display name] -type [cloud acco unt type] -username [user name] - key [secret key] -region [region] - tenantid [tenant Id] -authurl [authorization url]
The following table describes the options available for the New-CloudAccount
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. User name for the remote Core host machine. If you specify a user name, you also have to provide a password.
If none are provided, then the logged-on user's credentials will be used. |
-password |
Optional. Password to the remote Core host machine. If you specify a password, you also have to provide a log on.
If none are provided, then the logged-on user's credentials will be used. |
-displayname |
The name of the cloud account to display. |
-type |
The type of cloud account you want to add. Supported values include:
|
-username |
The user name for the cloud account that you want to add. It is used in the authentication process. This property resolves as "Access Key" for Amazon™ cloud, "User Name" for Rackspace and OpenStack, and "Storage Account Name" for Windows Azure cloud accounts. |
-key |
The key for the cloud account you want to add. It is used in the authentication process. This property resolves as "Secret Key" for Amazon™ cloud, "Api Key" for Rackspace and OpenStack, and "Access Key" for a Windows Azure cloud accounts. |
-region |
The region of the cloud account that you want to add. This property is required only for RackSpace and OpenStack cloud accounts. |
-tenantid |
The identifier that is used in the authentication process of an OpenStack cloud account. This option is required only for OpenStack cloud accounts. |
-authurl |
The URL that is used in the authentication process of an OpenStack cloud account. This option is required only for OpenStack cloud accounts. |
Create a new Amazon™ S3 cloud account named "Amazon S3 Account" with the access key "akey" and the secret key "skey."
>New-CloudAccount -displayname "Amazon S3 Account" -type Amazon -username akey -key skey
The New-EncryptionKey
command lets you create a new encryption key for securing your backed up Rapid Recovery data.
The usage for the command is as follows:
New-EncryptionKey -core [host name] -user [login] -password [password] -name [encryption key name] -passphrase [pas sphrase] -comment [comment]
The following table describes the options available for the New-EncryptionKey
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. User name for the remote Core host machine. If you specify a user name, you also have to provide a password.
If none are provided, then the logged-on user's credentials will be used. |
-password |
Optional. Password to the remote Core host machine. If you specify a password, you also have to provide a log on.
If none are provided, then the logged-on user's credentials will be used. |
-name |
The name of the encryption key that you want to create. |
-passphrase |
The passphrase to the encryption key that you want to create. |
-comment |
Optional. The description of the encryption key. |
Create an encryption key on the local Core:
>New-EncryptionKey –name EncryptionKey1 -passphrase 123456
The New-EsxiVirtualStandby
PowerShell command lets you create a new ESXi virtual standby machine using Rapid Recovery.
The usage for the command is as follows:
New-EsxiVirtualStandby -core [host name] -user [login] -password [password] -protectedserver [name | IP address] -volumes [volumes names] -vmname [virtual machine name] -hostname [virtual host name] -hostport [virtual host port number] -hostusername [virtual host login] -hostpassword [virtual host password] [-ram [total megabytes] | -usesourceram] -diskprovisioning [thin | thick] -diskmapping [automatic | manual | withvm] -initialexport
The following table describes the options available for the New-EsxiVirtualStandby
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. User name for the remote Core host machine. If you specify a user name, you also have to provide a password.
If none are provided, then the logged-on user's credentials will be used. | ||
-password |
Optional. Password to the remote Core host machine. If you specify a password, you also have to provide a log on.
If none are provided, then the logged-on user's credentials will be used. | ||
-protectedserver |
Show jobs for a specific protected machine, indicated by IP address. | ||
-volumes |
Optional. List the volume names you want to export. If not specified, all volumes in the recovery points are exported. Values must be enclosed in double quotes and separated by a space.
| ||
-vmname |
The Microsoft Windows name of the virtual machine. | ||
-hostname |
The name of the virtual server host. | ||
-hostport |
The port number to use for communicating with the virtual server. | ||
-hostusername |
The user name for logging in to the virtual server host. | ||
-hostpassword |
The password for logging in to the virtual server host. | ||
-ram |
Allocate a specific amount of RAM on the virtual server. | ||
-usesourceram |
Optional. Allocate the same amount of RAM on the virtual server that the source protected machine has. | ||
-diskprovisioning |
Optional. The amount of disk space to allocate on the virtual machine. Available values include:
| ||
-diskmappinjg |
Optional. It determines how to map the disks from the recovery point to the virtual machine. Available values include:
| ||
-initialexport |
Optional. Specify this option if you need to start an initial on-demand virtual machine export after configuring the virtual standby. |
Create a new ESXi virtual standby:
>New-EsxiVirtualStandby -protectedserver 10.10.10.4 -vmname ExportedMachine -hostname 10.10.10.127 -hostport 443 -hostusername root -hostpassword pass123 -usesourceram -diskprovisioning thin -diskmapping auto
The New-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:
New-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 New-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:
New-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:
New-FileSearch -core 10.10.10.10 -user administrator -password 23WE@#$sdd -protectedserver 10.10.10.10 -filemasks "sample" "second" -paths "C:\dir" -ntfsfastoff
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center