Home >

LunaCM Command Reference Guide > LunaCM Commands > partition > partition archive delete

partition archive delete

Delete the specified partition on the backup device in the specified slot.

Syntax

If backup device is a slot in the current system:

partition archive delete -slot <backup_slot> -partition <backup_partition> -password <password> [-debug]

If backup device is in a remote workstation:

partition archive delete -slot remote -hostname <hostname> -port <portnumber> -partition <backup_partition> -password <password> [-commandtimeout <seconds>] [-debug]

If backup device is a USB-attached device:

partition archive delete -slot direct [-slot <backup_slot>] -partition <backup_partition> -password <password> [-debug]

Option Shortcut Description
-commandtimeout <seconds> -ct The command timeout for network communication. The default timeout is 10 seconds. The maximum timeout is 3600. This option can be used to adjust the timeout value to account for network latency. (optional)
-debug -deb Turn on additional error information. (optional)
-hostname <hostname> -ho Host name of remote workstation running remote backup server. (required when -s remote is used)
-partition <backup_partition> -par Partition to delete on the backup device. (maximum length of 64 characters) .
-password <password> -pas User password for the specified partition.
-port <portnumber> -po Port number for remote backup server on remote workstation. (required when -s remote is used)
-slot <see description> -s

Target slot containing the backup device. It can be specified by any of the following:

<slot number>, if the backup slot is in the current system.

remote -hostname <host name> -port <port number> if the backup device is in a remote work station.

direct to specify a USB attached backup device. If you know the slot number that contains the USB attached HSM, you can specify that slot number explicitly (for example, -s 5)

Example

Note:  The partition archive delete command cannot be issued while the currently selected slot is the SafeNet Luna Backup HSM. Set your lunacm slot to any other slot, to allow partition archive delete to work.

lunacm:>slot set -slot 1
 
        Current Slot Id: 1 (Luna User Slot 7.0.1 (PW) Signing With Cloning Mode)
 
Command Result : No Error
 
 
 
lunacm:> partition archive delete -slot 2 -partition sa40backup
 
        Option -password was not supplied.  It is required.
 
        Enter the SO password for the backup device: ********
 
        Logging in as the SO on slot 2.
 
        Partition sa40backup was successfully deleted on slot 2.
 
Command Result : No Error