Native OS commands

The following parameters are supported for OS commands.

To query parameters in a Windows command file, use %<parameter>, for example %1. To query parameters in a Linux command file, use $<parameter>, for example $1. The parameters for backup, restore and prune operations have to match.

Parameter Description
1 "PhysicalFileName" to backup a NSF, transaction log, or file.
2 "FileName" of the logical database or transaction log.
3 "BackupReference" For a database, the DBIID. For Transaction log extends (TXNs), the LogID, an internal transaction log ID that makes extends unique and that only changes when you recreate transaction logs.
4 "BackupNode" name of the current Domino server as defined by configuration. By default, the "CN" of the Domino server, with spaces replaced by underscores.
5 "BackupName" defined when starting a backup, usually Default.
6 "BackupMode" of the current operation (FULL, SNAP, TRANSLOG, INCR, DELTA, SELECT).
7 "BackupStartDT" defines the beginning of a backup and is the same for all databases in the same backup set. It is internally used to identify the backup for a server.
8 "BackupTargetDir" defined in the Main tab of a Configuration document to identify the target location for a backup.
9 For Backup operations: "RetentionDays" for a backup. Defined in the Main tab of the Configuration document.
9 For Restore operations: "RestoreFileName" Physical restore target for a NSF, DELTA, transaction log, or file
10 For Restore operations: "RefString" returned from backup command to identify a backup.