The Suspend-Scheduler
cmdlet lets you suppress all scheduled tasks (backups, virtual export, replication, archiving, nightly jobs, and so on). Rapid Recovery Core continues to monitor tasks, but once suspended, no jobs are queued until the scheduler is resumed.
You can re-enable queing of all future tasks using cmdlet Resume-Scheduler. Once resumed, only new tasks are queued.
|
NOTE: To suspend specific functions (instead of all scheduled tasks), use the relevant individual cmdlets, such as Suspend-Snapshot, Suspend-Replication, and so on. |
The usage for the command is as follows:
Suspend-Scheduler -core [host name] -user [user name] -password [password] -cancelactivejobs [true | false]
The following table describes the options available for the Suspend-Scheduler
command:
Option | Description |
---|---|
-? |
Display this help message. |
-restore |
[snapshots ], [replication ] or [vmexport ]. |
-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. |
-cancelactivejobs |
Optional. Use this option to cancel all active jobs on the Core. The default setting is "false." |
Pause all scheduled tasks until resumed, including canceling any currently active jobs:
>Suspend-Scheduler -core 10.10.127.42 -user admin -password 676df#df -cancelactivejobs true
Pause all future scheduled tasks. Any tasks currently running will complete.
>Suspend-Scheduler -core 10.10.127.42 -user admin -password 676df#df
The Suspend-Snapshot
cmdlet lets an administrator pause snapshots. On-demand and scheduled backup snapshots remain paused until explicitly resumed by running cmdlet Resume-Snapshot.
The usage for the command is as follows:
Suspend-Snapshot -core [host name] -user [user name] -password [password] -all | -protectedserver [name | IP address] -time [time string]
The following table describes the options available for the Suspend-Snapshot
command:
Option | Description |
---|---|
-? |
Display this help message. |
-all |
Pauses all protected machines on the selected Core. |
-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. |
-protectedserver |
Optional. Use to specify protected machine or machines for which you want to suspend snapshots. Specify two or more by separating machine ip addresses with a comma and space. |
-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 user name. If none are provided, then the logged-on user's credentials will be used. |
-time |
The time in the format ‘Day-Hours-Minutes’ when the snapshots will be resumed (only for snapshots pause). |
Pause snapshots on a remote core with IP address 10.10.10.10 for a specific protected machine with IP address 10.10.10.4 until a resume command is sent:
>Suspend-Snapshot -core 10.10.10.10 -user administrator -password 23WE@#sdd -protectedserver 10.10.10.4 –time 3-20-50
Pause snapshots on the local Core for the protected machine with IP address 10.10.10.4 and resume snapshots after 3 days, 20 hours, and 50 minutes:
>Suspend-Snapshot -protectedserver 10.10.10.4 –time 3-20-50
Pause snapshots for all protected machines on remote Core with IP address 10.10.10.10 and resume snapshots after one and a half hours:
>Suspend-Snapshot -core 10.10.10.10 -user administrator -password 23WE@#sdd -all –time 0-1-30
Pause snapshots on the local Core for the two specified protected machines with IP addresses 10.10.10.4 and 10.10.10.16 until a resume command is sent:
>Suspend-Snapshot -protectedserver "10.10.10.4" , "10.10.10.16" –time 3-20-50
The Suspend-VirtualStandby
PowerShell cmdlet lets you pause continual virtual export. After running this cmdlet, virtual export remains paused until it is explicitly resumed, either by running cmdlet Resume-VirtualStandby or by resuming from the Rapid Recovery Core Console.
The usage for the command is as follows:
Suspend-VirtualStandby -core [host name] -user [login] -password [password] -all | -protectedserver [name(s) | IP address]
The following table describes the options available for the Suspend-VirtualStandby
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. |
-all |
Pause exports for all virtual standby machines. |
-protectedserver |
The name or names—separated by a comma and space—of the protected machines with virtual standby machines that you want to suspend. |
Suspend virtual standby exports for a protected machine:
>Suspend-VirtualStandby -core 10.10.10.10:8006 -user administrator -password 23WE@#$sdd -protectedserver 10.10.5.22
The Update-Repository
command adds an extent to an existing DVM repository. The size specified must be between 250MB and 16TB.
Update-Repository -name [repository name] -size [size] [[[-datapath [datapath] -metadatapath [metadata path]] | [-uncpath [UNC path] -shareusername [share user name] -sharepassword [share password]]] -core [host name] -user [user name] -password [password]
The following table describes the options available for the Update-Repository
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 user name. If none are provided, then the logged-on user's credentials will be used. |
-name |
DVM repository name. |
-size |
Size of DVM repository extent. Available units are: b, Kb, MB, GB, TB, PB. |
-datapath |
For local location only. Determines data path of DVM repository extent. |
-metadatapath |
For local location only. Determines metadata path of DVM repository extent. |
-uncpath |
For share location only. Determines data and metadata paths of DVM repository extent. |
-shareusername |
For share location only. Determines login to share location. |
-sharepassword |
For share location only. Determines password to share location. |
Add an extent to the DVM repository of the minimum size:
>Update-Repository
-name Repository1 -size 250Mb -datapath C:\Repository\Data -metadatapath C:\repository\Metadata
© ALL RIGHTS RESERVED. 使用条款 隐私 Cookie Preference Center