The Remove-RecoveryPoints
PowerShell command lets you delete recovery points for a specific machine.
Usage
The usage for the command is as follows:
Remove-RecoveryPoints -core [host name] -user [login] -password [password] -[range | chain | all] -protectedserver
[name | IP address] -rpn [number | numbers] | -time [time string | time interval specified by two time strings]
Command Options
The following table describes the options available for the Remove-RecoveryPoints
command:
Table 143: Remove-RecoveryPoints command options
-? |
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 |
Dismount all mounted recovery points for the current protected machine. |
-rpn |
Optional. Only for chain deletion (base image with chain of incrementals or orphaned points). The sequential number of a recovery point to be deleted (use the Get-RecoveryPoints command to obtain the numbers). You can specify several space-separated numbers to delete multiple recovery points with a single command. |
-time |
Use this option to delete a chain of recovery points.
Optional. To delete a single recovery point, select the recovery point by its creation time. Specify the exact time in the format "mm/dd/yyyy hh:mm tt" (for example, "2/24/2012 09:00 AM"). Keep in mind to specify date and time values of the time zone set on your computer.
Required. For a date range, specify a time interval using two time strings separated by coma and space to select the range of recovery points to delete. |
-range |
Optional. The range of recovery points to delete by time interval. |
-chain |
Optional. A base image with sequential incrementals or a sequential set of orphaned points to delete selected by recovery point number or time of recovery point creation. |
-all |
Optional. Delete all protected machines from the Core. |
Example:
Delete the recovery point specified by the date:
>Remove-RecoveryPoints -core 10.10.10.10:8006 -user administrator -password 23WE@#$sdd -time "2/24/2012 09:00 AM"
The Remove-RemoteMount
command dismounts a remotely mounted recovery point.
Usage
The usage for the command is as follows:
Remove-RemoteMount -core [host name] -user [user name] -password [password] [-protectedserver [machine name] | -path [mount path]]
Command Options
The following table describes the options available for the Remove-RemoteMount
command:
Table 144: Remove-Mount command options
-? |
Display this help message. |
-all |
Dismount all mounted recovery points. |
-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. |
-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. |
-path |
Dismount selected mount point. |
-protectedserver |
Dismount all mounted recovery points for the current protected 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. |
Examples:
Dismount the remotely mounted recovery point by a specified path:
>Remove-RemoteMount -core 10.10.10.10:8006 -user administrator -password 23WE@#$sdd -path C:\mountedRecoveryPoint
Dismount all remotely mounted recovery points for a specified protected server:
>Remove-RemoteMount -core 10.10.10.10 -user administrator -password 23WE@#$sdd -protectedserver "11.11.11.11"
The Remove-RemoteMounts
command dismounts all remotely mounted recovery points.
Usage
The usage for the command is as follows:
Remove-RemoteMounts -core [host name] -user [user name] -password [password]
Command Options
The following table describes the options available for the Remove-RemoteMounts
command:
Table 145: Remove-RemoteMounts command options
-? |
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. |
-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. |
-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. |
Example:
Dismount all remotely mounted recovery points:
>Remove-RemoteMounts -core 10.10.10.10:8006 -user administrator -password 23WE@#$sdd
This command lets you remove a replication configuration from a source Core or target Core, as well as remove replicated recovery points.
Usage
The usage for the command is as follows:
Remove-Replication -core [host name] -user [user name] -password [password] -incoming [host name] -outgoing [host name] -deletepoints
Command Options
The following table describes the options available for the Remove-Replication
command:
Table 146: Remove-Replication command options
-? |
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. |
-incoming |
The identifier (ID) of the incoming replication that should be deleted. It could be a remote Core ID or a host name. Use the word "all" to delete all replications.
Note: You can specify different protected machines for different replications by using the following pattern: Replication1:Agent1,Agent2;Replication2:Agent2,Agent3 . If you do not specify a machine after the colon (:), the replication is deleted for all replicated machines.
|
-outgoing |
The identifier (ID) of the outgoing replication that should be deleted. It could be a remote Core ID or a host name. Use the word "all" to delete all replications.
Note: You can specify different protected machines for different replications by using the following pattern: Replication1:Agent1,Agent2;Replication2:Agent2,Agent3 . If you do not specify a machine after the colon (:), the replication is deleted for all replicated machines.
|
-deletepoints |
Specify which recovery points, if any, of the replicated machine that you want to remove. |
Example:
Delete all incoming and all outgoing replications:
>Remove-Replication -incoming all -outgoing all
Delete two outgoing replications with all machines:
>Remove-Replication -outgoing TargetCore1;TargetCore2
Delete one protected machine from incoming replication and delete recovery points:
>Remove-Replication -incoming TargetCore1:10.10.10.10 -deletepoints