DL4300 Appliance
Suspend-RepositoryActivity
497
Suspend-RepositoryActivity
The
Suspend-RepositoryActivity
PowerShell command lets you pause activities for a Rapid Recovery
repository. Suspending activities places a lock on the repository, preventing any data from entering or leaving.
Usage
The usage for the command is as follows:
Suspend-RepositoryActivity -core [host name] -user [login] -password [password] -all | -repository ["name" | "name1 " "name2"]
Command Options
The following table describes the options available for the
Suspend-RepositoryActivity
command:
Table 251. Suspend-RepositoryActivity command options
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.
-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.
-all
Suspend activities for all repositories associated with
this Core.
-repository
The name of the repository that you want to lock.
The name must be enclosed in double quotes. You
can specify several space-separated repositories.
Examples:
Suspend activities for multiple repositories:
>Suspend-RepositoryActivity -repository "repository1" "repository2"
Suspend activities on all repositories:
>Suspend-RepositoryActivity -all
Parent topic