Top
ETERNUS SF AdvancedCopy Manager V15.3 Operation Guide
ETERNUS

12.3.20 stgforcedelsrv (Managed Server forcibly deletion command)

NAME

stgforcedelsrv - deletes the information of Managed Server forcibly


SYNOPSIS

<program-directory>\bin\stgforcedelsrv -n Managed-Server -b before-dir -a after-dir

DESCRIPTION

This command deletes the Managed Server information forcibly. This command must be executed on a Management Server.

As this command deletes the backup/replication settings of the Managed Server, it must be performed with caution. Before performing the command always refer to "11.6 Action when Managed Server information cannot be deleted".


OPTIONS

-n Managed-Server

Specify the server name of Managed Server to be deleted forcibly.

-b before-dir

Specify the full path name of the directory containing the database backup.
The command deletes the Managed Server information forcibly from the database in the directory specified with the -b option and stores the database after deletion in the directory specified with -a option.

-a after-dir

Specify the full path name of the directory that will store the database after the Managed Server information has been deleted. Please note the following important points:

  • If the specified directory does not exist, it must be created before executing the command.

  • Specify an empty directory, containing no subdirectories or files.

  • Specify a directory that will not disappear after the server has rebooted.


EXIT STATUS

=0: Completed successfully
>0: Terminated abnormally


EXAMPLES

Delete the information of Managed Server (Server1). After deleting its information, the database is created under the "C:\afterDB" folder.

C:\>C:\ETERNUS_SF\ACM\bin\stgforcedelsrv -n Server1 -b C:\beforeDB -a C:\afterDB
Begin the forcing deletion? (y/n) : y
stgforcedelsrv completed
C:\>

NOTES