# DSAK - Domino Swiss Army Knife (Freeware)

A few additional console commands for the HCL Domino system administrator

The free Domino Swiss Army Knife (DSAK, spelled De-Sack) loads as a small server add-in task on the HCL Domino Server. It adds some commands to help the system administrator perform daily tasks directly on the server console without using the Domino Administrator client.

<a href="/quick-start/downloads" class="button primary">Free Download</a>

{% hint style="info" %}
Follow development at Mastodon [#DominoDSAK](https://swiss.social/tags/dominodsak)

This tool is also shown on the [*HCL Domino Marketplace*](https://hclsofy.com/domino)
{% endhint %}

### Prerequisites

* HCL Domino 9.0.1 FP8 or above

### Features

* [*SrvInfo*](/command-reference/command-srvinfo): Show server information
* [*SrvStats*](/command-reference/command-srvstats): Show key statistic and performance values
* [*DBFind*](/command-reference/command-dbfind): Find database by file name, path name or database title
* [*DBInfo*](/command-reference/command-dbinfo): Show detailed database information
* [*DBCopy*](/command-reference/command-dbcopy): Create a new copy of a database
* [*DBCreate*](/command-reference/command-dbcreate): Create a new database (empty database or from a template)
* [*DBDelete*](/command-reference/command-dbdelete): Delete a database
* [*DBEncrypt*](/command-reference/command-dbencrypt) / [*DBDecrypt*](/command-reference/command-dbdecrypt): Encrypt or decrypt database with server id (AES-256)
* [*DBSign*](/command-reference/command-dbsign): Sign database with server id
* [*DBDesignLock*](/command-reference/command-dbdesignlock): Enable or disable database design locking
* [*DBQuotaSet*](/command-reference/command-dbquotaset) / [*DBQuotaClear*](/command-reference/command-dbquotaclear): Set or clear database size quota
* [*DBCLOnline*](/command-reference/command-dbclonline) / [*DBCLOffline*](/command-reference/command-dbcloffline): Set cluster database online or offline
* [*DBFTCreate*](/command-reference/command-dbftcreate) / [*DBFTUpdate*](/command-reference/command-dbftupdate) / [*DBFTRemove*](/command-reference/command-dbftremove): Create, update or remove full-text index
* [*DBReplEnable*](/command-reference/command-dbreplenable) / [*DBReplDisable*](/command-reference/command-dbrepldisable) / [*DBReplClear*](/command-reference/command-dbreplclear): Enable/disable replication or clear replication history for a database
* [*DBDocDelete*](/command-reference/command-dbdocdelete): Delete a document by NoteID or UNID

### Examples

```
> Load RunJava JAddin DSAK
22.01.2024 17:08:16   JVM: Java Virtual Machine initialized.
22.01.2024 17:08:16   RunJava: Started JAddin Java task.
22.01.2024 17:08:16   DSAK: Domino Swiss Army Knife (Freeware) - Version 1.5.0 2024-01-22
22.01.2024 17:08:16   DSAK: Copyright (c) andy.brunner@k43.ch - All Rights Reserved
22.01.2024 17:08:16   DSAK: Use command <Tell DSAK ?> for help
```

```
> Tell DSAK SrvStats
17.08.2025 11:03:45   DSAK:    Uptime       CPU       RAM       RAM    Paging   Network      Mail      Mail     Users     Users     Avail
17.08.2025 11:03:45   DSAK:      Days      Busy     Total     Avail  Rate/sec  Data/sec   Waiting      Dead   Current      Peak     Index
17.08.2025 11:03:45   DSAK: --------- --------- --------- --------- --------- --------- --------- --------- --------- --------- ---------
17.08.2025 11:03:45   DSAK:         3        1%    6144MB    2905MB        89      13KB         0         0         0         3        99 
17.08.2025 11:03:45   DSAK: 
17.08.2025 11:03:45   DSAK:  Transact  Transact NSFBuffer NSFBuffer     Tasks     Tasks      HTTP      HTTP  UpdQueue  UpdQueue
17.08.2025 11:03:45   DSAK:  Curr/min  Peak/min      Size   HitRate   Current   Waiting   Current      Peak   Current      Peak
17.08.2025 11:03:45   DSAK: --------- --------- --------- --------- --------- --------- --------- --------- --------- ---------
17.08.2025 11:03:45   DSAK:         9       264    1024MB       96%         0         0         1        28         0         1 

```

```
> Tell DSAK DBInfo mail/abrunner.nsf
22.01.2024 17:11:12   DSAK: NSF File Name                mail\abrunner.nsf
22.01.2024 17:11:12   DSAK: NSF Title                    Andy Brunner
22.01.2024 17:11:12   DSAK: NSF On-Disk-Structure        55 (Version 12.0+)
22.01.2024 17:11:12   DSAK: NSF Replica ID               C1257B3F0013A42E
22.01.2024 17:11:12   DSAK: NSF Replication Status       Enabled
22.01.2024 17:11:12   DSAK: ACL Administration Server    Server/ABDataDev
22.01.2024 17:11:12   DSAK: ACL Maximum Internet Access  Editor
22.01.2024 17:11:12   DSAK: ACL Entry                    Name: -Default-, Type: No Access (Unspecified)
22.01.2024 17:11:12   DSAK: ACL Entry                    Name: OtherDomainServers, Type: No Access (Server Group)
22.01.2024 17:11:12   DSAK: ACL Entry                    Name: CN=Server/O=ABDataDev, Type: Manager (Server), Attribute: Admin Server
22.01.2024 17:11:12   DSAK: ACL Entry                    Name: Anonymous, Type: No Access (Unspecified)
22.01.2024 17:11:12   DSAK: ACL Entry                    Name: CN=Andy Brunner/O=ABDataDev, Type: Manager (Person)
22.01.2024 17:11:12   DSAK: ACL Entry                    Name: LocalDomainAdmins, Type: Manager (Person Group)
22.01.2024 17:11:12   DSAK: ACL Entry                    Name: LocalDomainServers, Type: Manager (Server Group)
22.01.2024 17:11:12   DSAK: NSF Clustering               Disabled
22.01.2024 17:11:12   DSAK: NSF Created                  29.07.2019 16:12:43 CEDT
22.01.2024 17:11:12   DSAK: NSF Modified                 19.01.2024 16:52:51 CET
22.01.2024 17:11:12   DSAK: NSF Last Fixup               19.01.2024 16:52:52 CET
22.01.2024 17:11:12   DSAK: NSF Database Type            Standard
22.01.2024 17:11:12   DSAK: NSF Design Inheritance       StdR12Mail
22.01.2024 17:11:12   DSAK: NSF Template Name            Database is not a template
22.01.2024 17:11:12   DSAK: NSF Documents                19
22.01.2024 17:11:12   DSAK: NSF File Size                22 MB
22.01.2024 17:11:12   DSAK: NSF File Limits              Maximum 4'194'303 MB
22.01.2024 17:11:12   DSAK: NSF Free Space               2 % (0 MB)
22.01.2024 17:11:12   DSAK: NSF Forms                    160 Forms, 112 Subforms
22.01.2024 17:11:12   DSAK: NSF Indices                  83 Views, 19 Folders
22.01.2024 17:11:12   DSAK: NSF Agents                   93 Public, 0 Private
22.01.2024 17:11:12   DSAK: Full-Text Index              Database is not full-text indexed
22.01.2024 17:11:12   DSAK: NSF Status Check             OK
```

{% hint style="info" %}
Enter *Tell DSAK Help* to list all available commands
{% endhint %}

### Author

This small utility was created during development and administration of customer projects. If you encounter any problems or if you have a suggestion, please let me know.

You may contact me via my email address <andy.brunner@k43.ch>.

### Credits

Foto by [Nick ter Haar](https://unsplash.com/de/@nickterhaar) on [Unsplash](https://unsplash.com/de/s/fotos/swiss-army?utm_source=unsplash\&utm_medium=referral\&utm_content=creditCopyText)

### Freeware / Unlicense

DSAK is freeware and unlicensed. It was created with love and passion in the beautiful country of 🇨🇭 Switzerland. This software shall be used for Good not Evil. As far as I know, no animal was harmed in the making of this software. 😊


# Installation and Usage

How to install and use DSAK

### Installation

1. [Download](/quick-start/downloads) and extract the DSAK.jar file.
2. Copy the DSAK.jar file to the directory *{Program-Directory}/ndext* on your HCL Domino server.
3. Load DSAK with the console command *Load RunJava JAddin DSAK* on your HCL Domino server. Make sure that the *Load* command is written with correct upper- and lowercase.

```
> Load RunJava JAddin DSAK
17.02.2024 12:04:24   JVM: Java Virtual Machine initialized.
17.02.2024 12:04:24   RunJava: Started JAddin Java task.
17.02.2024 12:04:24   DSAK: Domino Swiss Army Knife (Freeware) - Version 1.6.0 2024-02-16
17.02.2024 12:04:24   DSAK: Copyright (c) andy.brunner@k43.ch - All Rights Reserved
17.02.2024 12:04:24   DSAK: Use command <Tell DSAK ?> for help
```

### Usage

After DSAK is loaded, use any of the *Tell DSAK* commands, e.g.

```
> Tell DSAK DBFind cert
17.02.2024 12:07:01   DSAK: Database cca50.ntf (domino certificate authority)
17.02.2024 12:07:01   DSAK: Database certlog.nsf (abdatadev's certification log)
17.02.2024 12:07:01   DSAK: Database certlog.ntf (certification log)
17.02.2024 12:07:01   DSAK: Database certpub.ntf (domino certificate publication requests (8.5))
17.02.2024 12:07:01   DSAK: Database certreq.ntf (certificate requests (10))
17.02.2024 12:07:01   DSAK: Database certsrv.nsf (server certificate admin)
17.02.2024 12:07:01   DSAK: Database certstore.nsf (certificate store)
17.02.2024 12:07:01   DSAK: Database certstore.ntf (certificate store)
17.02.2024 12:07:01   DSAK: Database csrv50.ntf (server certificate admin)
17.02.2024 12:07:02   DSAK: Database icl.ntf (issued certificates list)
17.02.2024 12:07:02   DSAK: Databases searched: 149, found: 10
```

### Notes

* For HCL Domino 14, you will see the message *WARNING: A terminally deprecated method in java.lang.System has been called.* This is a normal message and can be ignored as written in the [HCL Domino Release Notes](https://help.hcltechsw.com/domino/14.0.0/admin/wn_components_no_longer_included_in_release.html).
* Any parameter containing blanks must be enclosed with single quotes, e.g. *Tell DSAK DBInfo 'mail/john smith.nsf'*
* If you pass a parameter during startup, DSAK will load, execute the command and terminate (one-shot command), e.g. *Load RunJava JAddin DSAK SrvInfo*


# Downloads

Version history

<details>

<summary>In Development</summary>

* Minor code and documentation changes

</details>

### Version 2025.11.27

{% file src="/files/f647RkN0ndmmEOld2fYg" %}

* Include JAddin version 2025.11.27
* Change version number scheme from n.n.n to yyyy.mm.dd

### Version 1.7.0 (2024-09-03)

{% file src="/files/ppq5OwduFFrhU2P1L7Tq" %}

* Include [JAddin 2.1.4](https://jaddin.k43.ch) framework to support HCL Domino 14.5 and higher (JVM with Java 17)
* Command [*DBDesignLock*](/command-reference/command-dbdesignlock): New command to enable or disable design locking
* Command [*DBSign*](/command-reference/command-dbsign): Allow databases without server access to be signed
* Command [*DBInfo*](/command-reference/command-dbinfo): Show design lock status
* Command [*SrvInfo*](/command-reference/command-srvinfo): Show total number and size of databases and templates

### Version 1.6.0 (2024-02-16)

{% file src="/files/58FZZ21O7Btd02uYkKyY" %}

* Command [*SrvStats*](/command-reference/command-srvstats): Format Network Data Rate/sec in MB, KB or B
* Command [*DBInfo*](/command-reference/command-dbinfo): Show database encryption state (Domino 12.0.2+)
* Command [*DBEncrypt*](/command-reference/command-dbencrypt): New command to encrypt database with server-id (Domino 12.0.2+)
* Command [*DBDecrypt*](/command-reference/command-dbdecrypt): New command to decrypt database (Domino 12.0.2+)

### Version 1.5.0 (2024-01-23)

{% file src="/files/OAStIBHRV3twhVa0xh48" %}

* Command [*SrvStats*](/command-reference/command-srvstats): New command to show key statistic and performance values
* Include [JAddin](https://jaddin.k43.ch) 2.1.3 framework
* Add reference pages for all commands in homepage <https://dsak.k43.ch>

### Version 1.4.0 (2023-09-01)

{% file src="/files/85yGDSRrSQVOFwcKu37Z" %}

* Command DBSign: New command to sign database with server id (only existing signatures)

### Version 1.3.0 (2023-08-26)

{% file src="/files/gvnY4lyIwhdw7srDDQPn" %}

* Command DBDocDelete: New command to delete document by NoteID or UNID

### Version 1.2.0 (2023-01-13)

{% file src="/files/vLkzmEQGRQL9GoxsLC74" %}

* Command DBFTCreate: Change full text index update frequency to immediate
* Command DBInfo: Show database replication state
* Command DBReplClear: New command to clear database replication history
* Command DBReplDisable: New command to disable database replication
* Command DBReplEnable: New command to enable database replication
* Command DBFind: New command to search for databases (filename or database title)

### Version 1.1.0 (2023-01-07)

{% file src="/files/8MUGmTdAVFqWefpPS8FQ" %}

* Command DBCreate: Change database title to "-No Title-" for new databases
* Command DBInfo: Show formatted ACL entries
* Command DBQuotaSet: New command to set database size quota
* Command DBQuotaClear: New command to clear database size quota limit

### Version 1.0.0 (2023-01-03)

{% file src="/files/c1A87uosQ3amJC0xRDrZ" %}

* Initial version


# FAQ

Frequently Asked Questions

### How is this add-in written?

The code is written entirely in Java to run on all platforms and processor architecture supported by HCL Domino. Once loaded, the add-in stays in the background waiting for server console commands. The open source [JAddin Framework](https://jaddin.abdata.ch) is used to interface between the HCL Domino Server and the DSAK Java class.

### Error "RunJava: Can't find class ..." or "JAddin: Unable to load Java class ..."

Make sure you have typed the *Load RunJava JAddin DSAK* command with correct upper-/lowercase characters. All Java class names are case-sensitive (see [Installation and Usage)](/quick-start/installation-and-usage).

### How do I get informed about new versions?

DSAK checks the availability of a newer version during startup and writes a message to the server console if a new version is ready to download. This check is done with a standard HTTPS request to <https://k43.ch> (port 443).


# Command SrvInfo

### **Syntax**

*Tell DSAK SrvInfo*

### Function

Shows some key server information

### Parameters

None

### Example

```
> Tell DSAK SrvInfo
22.01.2024 17:16:03   DSAK: Server Name                  CN=Server/O=ABDataDev
22.01.2024 17:16:03   DSAK: Domino Version               Release 14.0 November 09, 2023
22.01.2024 17:16:03   DSAK: Domino Domain                ABDataDev
22.01.2024 17:16:03   DSAK: Domino Platform              Windows/64
22.01.2024 17:16:03   DSAK: Program Directory            C:\Program Files\HCL\Domino
22.01.2024 17:16:03   DSAK: Data Directory               C:\Program Files\HCL\Domino\data
22.01.2024 17:16:03   DSAK: OS Version                   6.2 (Windows Server 2012)
22.01.2024 17:16:03   DSAK: JVM Version                  17.0.8.1 (IBM Corporation)
22.01.2024 17:16:03   DSAK: JVM Heap Maximum             1'024 MB
22.01.2024 17:16:03   DSAK: JVM Heap Free                88 % (226 MB)
22.01.2024 17:16:03   DSAK: Database Files               51 (624 MB)
22.01.2024 17:16:03   DSAK: Template Files               99 (308 MB)
```


# Command SrvStats

### **Syntax**

*Tell DSAK SrvStats {Enable|Disable}*

### Function

Shows some key statistic and performance values obtained from the HCL Domino server statistic table.

### Parameters

* *No parameter*: Show the current statistic and performance values
* *Enable:* Show the values at every full hour. This output will also be written to the database log nsf
* *Disable*: Disable the hourly output to the HCL Domino console (default)

### Example

```
> Tell DSAK SrvStats
07.03.2024 02:00:13   DSAK:    Uptime       CPU       RAM       RAM    Paging   Network      Mail      Mail     Users     Users     Avail
07.03.2024 02:00:13   DSAK:      Days      Busy     Total     Avail  Rate/sec  Data/sec   Waiting      Dead   Current      Peak     Index
07.03.2024 02:00:13   DSAK: --------- --------- --------- --------- --------- --------- --------- --------- --------- --------- ---------
07.03.2024 02:00:13   DSAK:        21        2%    6144MB    2081MB         0       9KB         0         0         0         4       100 
07.03.2024 02:00:13   DSAK: 
07.03.2024 02:00:13   DSAK:  Transact  Transact NSFBuffer NSFBuffer     Tasks     Tasks      HTTP      HTTP  UpdQueue  UpdQueue
07.03.2024 02:00:13   DSAK:  Curr/min  Peak/min      Size   HitRate   Current   Waiting   Current      Peak   Current      Peak
07.03.2024 02:00:13   DSAK: --------- --------- --------- --------- --------- --------- --------- --------- --------- ---------
07.03.2024 02:00:13   DSAK:         0      1191    1024MB       96%         0         0         0        15         0         1 
```

* The command output is best viewed with a monospaced font.
* The current state of SrvStats (enabled or disabled) is preserved in the notes.ini variable *$DSAK-SrvStats.*
* To obtain the statistics from the server, DSAK issues several *Show Statistics* commands to the server. These commands may show up in your log.nsf database.

{% hint style="warning" %}
If you want to include other statistic data, please send an email to <andy.brunner@k43.ch>.
{% endhint %}


# Command DBFind

### **Syntax**

*Tell DSAK DBFind Query*

### Function

Search for database by file name, path or database title.

### Parameters

* *Query*:  String (or substring) can be either database file name, path name or database title.&#x20;

### Example

```
> Tell DSAK DBFind andy
22.01.2024 17:20:01   DSAK: Database mail\abrunner.nsf (andy brunner)
22.01.2024 17:20:01   DSAK: Databases searched: 149, found: 1
```


# Command DBInfo

### **Syntax**

*Tell DSAK DBInfo filename*

### Function

Show detailed database information.

### Parameters

* *filename*:  Full path and file name of database&#x20;

### Example

```
> Tell DSAK DBInfo mail/abrunner.nsf
22.01.2024 17:11:12   DSAK: NSF File Name                mail\abrunner.nsf
22.01.2024 17:11:12   DSAK: NSF Title                    Andy Brunner
22.01.2024 17:11:12   DSAK: NSF On-Disk-Structure        55 (Version 12.0+)
22.01.2024 17:11:12   DSAK: NSF Replica ID               C1257B3F0013A42E
22.01.2024 17:11:12   DSAK: NSF Encrypted                Yes
22.01.2024 17:11:12   DSAK: NSF Encryption Strength      AES-256
22.01.2024 17:11:12   DSAK: NSF Replication Status       Enabled
22.01.2024 17:11:12   DSAK: ACL Administration Server    Server/ABDataDev
22.01.2024 17:11:12   DSAK: ACL Maximum Internet Access  Editor
22.01.2024 17:11:12   DSAK: ACL Entry                    Name: -Default-, Type: No Access (Unspecified)
22.01.2024 17:11:12   DSAK: ACL Entry                    Name: OtherDomainServers, Type: No Access (Server Group)
22.01.2024 17:11:12   DSAK: ACL Entry                    Name: CN=Server/O=ABDataDev, Type: Manager (Server), Attribute: Admin Server
22.01.2024 17:11:12   DSAK: ACL Entry                    Name: Anonymous, Type: No Access (Unspecified)
22.01.2024 17:11:12   DSAK: ACL Entry                    Name: CN=Andy Brunner/O=ABDataDev, Type: Manager (Person)
22.01.2024 17:11:12   DSAK: ACL Entry                    Name: LocalDomainAdmins, Type: Manager (Person Group)
22.01.2024 17:11:12   DSAK: ACL Entry                    Name: LocalDomainServers, Type: Manager (Server Group)
22.01.2024 17:11:12   DSAK: NSF Clustering               Disabled
22.01.2024 17:11:12   DSAK: NSF Created                  29.07.2019 16:12:43 CEDT
22.01.2024 17:11:12   DSAK: NSF Modified                 19.01.2024 16:52:51 CET
22.01.2024 17:11:12   DSAK: NSF Last Fixup               19.01.2024 16:52:52 CET
22.01.2024 17:11:12   DSAK: NSF Database Type            Standard
22.01.2024 17:11:12   DSAK: NSF Design Locking           No
22.01.2024 17:11:12   DSAK: NSF Design Inheritance       StdR12Mail
22.01.2024 17:11:12   DSAK: NSF Template Name            Database is not a template
22.01.2024 17:11:12   DSAK: NSF Documents                19
22.01.2024 17:11:12   DSAK: NSF File Size                22 MB
22.01.2024 17:11:12   DSAK: NSF File Limits              Maximum 4'194'303 MB
22.01.2024 17:11:12   DSAK: NSF Free Space               2 % (0 MB)
22.01.2024 17:11:12   DSAK: NSF Forms                    160 Forms, 112 Subforms
22.01.2024 17:11:12   DSAK: NSF Indices                  83 Views, 19 Folders
22.01.2024 17:11:12   DSAK: NSF Agents                   93 Public, 0 Private
22.01.2024 17:11:12   DSAK: Full-Text Index              Database is not full-text indexed
22.01.2024 17:11:12   DSAK: NSF Status Check             OK
```

{% hint style="info" %}
The database encryption state and encryption strength will only be shown on HCL Domino 12.0.2+
{% endhint %}


# Command DBCopy

### **Syntax**

*Tell DSAK DBCopy filename newfilename*

### Function

Create a new database copy (without documents).

{% hint style="info" %}
Only the design of the existing database is copied. A new replica id will be set for the newly created database.
{% endhint %}

### Parameters

* *filename*:  Full path and name of an existing database
* *newfilename*: File path and name of the new database

### Example

```
> tell DSAK DBCopy mail/abrunner.nsf test.nsf
22.01.2024 17:22:14   Recovery Manager: Assigning new DBIID for C:\Program Files\HCL\Domino\data\test.nsf (need new backup for media recovery).
22.01.2024 17:22:22   DSAK: Database mail\abrunner.nsf copied to test.nsf
```


# Command DBCreate

### **Syntax**

*Tell DSAK DBCreate filename {template}*

### Function

Create a new blank database or a database from the specified template.

### Parameters

* *filename*:  Full path and name of an existing database
* *template:* Template file (optional)

### Example

```
> tell DSAK DBCreate test1.nsf mail12.ntf
22.01.2024 17:24:10   Recovery Manager: Assigning new DBIID for C:\Program Files\HCL\Domino\data\test1.nsf (need new backup for media recovery).
22.01.2024 17:24:29   DSAK: Database test1.nsf created from template mail12.ntf (ACL -Default-: Manager)
```


# Command DBDelete

### **Syntax**

*Tell DSAK DBDelete filename*

### Function

Permanently delete a database.

### Parameters

* *filename*:  Full path and name of an existing database

### Notes

* The *DBDelete* command first issues a *Drop {database}* command to try to free any database file locks.
* The database name is checked against a list of database names, which will not be processed. This list is identical to the documented system database list of the DBMT command (see <https://help.hcltechsw.com/domino/14.0.0/admin/admn_maintaining_user_mail_files_using_the_dbmt_tool_t.html?hl=dbmt>)

### Example

```
> Tell DSAK DBDelete test1.nsf
22.01.2024 17:25:43   DSAK: Database test1.nsf deleted
```

{% hint style="danger" %}
Warning: The database file will be permanently deleted.
{% endhint %}


# Command DBEncrypt

### **Syntax**

*Tell DSAK DBEncrypt filename*

### Function

Locally encrypt the database with the server-id. The encryption strength is AES-256.

### Parameters

* *filename*:  Full path and name of an existing database

### Example

```
> Tell DSAK DBEncrypt test
16.02.2024 14:53:02   DSAK: Database test.nsf will be encrypted with AES-256 during next database open request
```

{% hint style="info" %}
This command is only available on HCL Domino 12.0.2+
{% endhint %}


# Command DBDecrypt

### **Syntax**

*Tell DSAK DBDecrypt filename*

### Function

Decrypt the database

### Parameters

* *filename*:  Full path and name of an existing database

### Example

```
> Tell DSAK DBDecrypt test
16.02.2024 14:53:41   DSAK: Database test.nsf will be decrypted during next database open request
```

{% hint style="info" %}
This command only available on HCL Domino 12.0.2+
{% endhint %}


# Command DBSign

### **Syntax**

*Tell DSAK DBSign filename*

### Function

Sign the database with the server id.

### Parameters

* *filename*:  Full path and name of an existing database

### Notes

* Only existing signatures are updated.
* The *DBSign* command is implemented by creating an AdminP request in the administration database. After that, the command *Tell AdminP Process New* is executed on the HCL Domino console to speed up the time for the AdminP process of executing the request.

### Example

```
> Tell DSAK DBSign test.nsf
22.01.2024 17:57:11   Admin Process: Checking for new requests to perform
22.01.2024 17:57:12   DSAK: AdminP request created to sign database. It may take some time to complete.
```

{% hint style="warning" %}
Make sure that the HCL Domino server is included in the *Administrators* field in the Domino directory (Server Document > Security > Administrators)
{% endhint %}


# Command DBDesignLock

### **Syntax**

*Tell DSAK DBDesignLock filename On/Off*

### Function

Enable or disable design locking.

### Parameters

* *filename*:  Full path and name of an existing database
* *On:* Enable design locking
* *Off:* Disable design locking

### Example

```
> Tell DSAK DBDesignLock test.nsf Allow
22.02.2024 15:04:18   DSAK: Database test.nsf: Design locking is now enabled
```


# Command DBQuotaSet

### **Syntax**

*Tell DSAK DBQuotaSet filename nnn*

### Function

Set a new database file size quota.

### Parameters

* *filename*:  Full path and name of an existing database
* *nnn*: New file size quota in MB (50 - 10000)

### Example

```
> Tell DSAK DBQuotaSet test.nsf 500
22.01.2024 17:26:48   DSAK: Size quota of database test.nsf set to 500 MB
```


# Command DBQuotaClear

### **Syntax**

*Tell DSAK DBQuotaClear filename*

### Function

Clear the database file quota.

### Parameters

* *filename*:  Full path and name of an existing database

### Example

```
> Tell DSAK DBQuotaClear test.nsf
22.01.2024 17:27:25   DSAK: Database test.nsf size quota cleared
```


# Command DBCLOnline

### **Syntax**

*Tell DSAK DBCLOnline filename*

### Function

Put (cluster) database in online state.

### Parameters

* *filename*:  Full path and name of an existing database

### Example

```
> Tell DSAK DBCLOnline test.nsf
22.01.2024 17:28:14   DSAK: Database test.nsf is now online (in service)
```


# Command DBCLOffline

### **Syntax**

*Tell DSAK DBCLOffline filename*

### Function

Put (cluster) database in offline state.

### Parameters

* *filename*:  Full path and name of an existing database

### Example

```
> Tell DSAK DBCLOffline test.nsf
22.01.2024 17:28:07   DSAK: Database test.nsf is now offline (not in service)
```


# Command DBFTCreate

### **Syntax**

*Tell DSAK DBFTCreate filename*

### Function

Create full text index for a database.

### Parameters

* *filename*:  Full path and name of an existing database

### Example

```
> Tell DSAK DBFTCreate mail/abrunner.nsf
22.01.2024 17:47:56   DSAK: Full-text index in database mail\abrunner.nsf created (Attachments: Yes, Encrypted Fields: Yes, Frequency: Immediate)
```

{% hint style="info" %}
The full text index attribute are set to *Attachments: Yes, Encrypted Fields: Yes, Frequency: Immediate*
{% endhint %}


# Command DBFTUpdate

### **Syntax**

*Tell DSAK DBFTUpdate filename*

### Function

Update the existing full text index for a database.

### Parameters

* *filename*:  Full path and name of an existing database

### Example

```
> Tell DSAK DBFTUpdate mail/abrunner.nsf
22.01.2024 17:48:48   DSAK: Full-text index of database mail\abrunner.nsf is now scheduled for update
```


# Command DBFTRemove

### **Syntax**

*Tell DSAK DBFTRemove filename*

### Function

Remove the full text index from a database.

### Parameters

* *filename*:  Full path and name of an existing database

### Example

```
> Tell DSAK DBFTRemove mail/abrunner.nsf
22.01.2024 17:50:42   DSAK: Full-text index of database mail\abrunner.nsf removed
```


# Command DBReplEnable

### **Syntax**

*Tell DSAK DBReplEnable filename*

### Function

Enable the replication for a database.

### Parameters

* *filename*:  Full path and name of an existing database

### Example

```
> Tell DSAK DBReplEnable test.nsf
22.01.2024 17:51:56   DSAK: Replication of database test.nsf is now enabled
```


# Command DBReplDisable

### **Syntax**

*Tell DSAK DBReplDisable filename*

### Function

Disable the replication for a database.

### Parameters

* *filename*:  Full path and name of an existing database

### Example

```
> Tell DSAK DBReplDisable test.nsf
22.01.2024 17:51:52   DSAK: Replication of database test.nsf is now disabled
```


# Command DBReplClear

### **Syntax**

*Tell DSAK DBReplClear filename*

### Function

Clear the replication history of a database.

### Parameters

* *filename*:  Full path and name of an existing database

### Example

```
> Tell DSAK DBReplClear test.nsf
22.01.2024 17:52:31   DSAK: Replication history in database test.nsf cleared
```


# Command DBDocDelete

### **Syntax**

*Tell DSAK DBDocDelete filename docID*

### Function

Delete document by NoteID or UniversalID.

### Parameters

* *filename*:  Full path and name of an existing database
* *docID*: NoteID or UniversalID of the document to be deleted

### Examples

```
> Tell DSAK DBDocDelete test.nsf 1112
22.01.2024 18:03:57   DSAK: Document 1112 deleted in database test.nsf
```

```
> Tell DSAK DBDocDelete test.nsf A202FCAD47FC8F0CC1258AAC005D35A6
22.01.2024 18:05:23   DSAK: Document A202FCAD47FC8F0CC1258AAC005D35A6 deleted in database test.nsf
```


# Command Help

### **Syntax**

*Tell DSAK Help*

### Function

Shows help screen with all available commands

### Parameters

None

### Example

```
> Tell DSAK Help
16.02.2024 15:19:46   DSAK: ---Domino Server---
16.02.2024 15:19:46   DSAK: SrvInfo                      Show various server information
16.02.2024 15:19:46   DSAK: SrvStats {Enable/Disable}    Show server statistics or enable/disable hourly display
16.02.2024 15:19:46   DSAK:
16.02.2024 15:19:46   DSAK: ---Database File---
16.02.2024 15:19:46   DSAK: DBFind query                 Find databases matching query (in filename or database title)
16.02.2024 15:19:46   DSAK: DBInfo filename              Show detailed database information
16.02.2024 15:19:46   DSAK: DBCopy filename newfilename  Create new database copy (without documents)
16.02.2024 15:19:46   DSAK: DBCreate filename [template] Create empty database [from template file]
16.02.2024 15:19:46   DSAK: DBDelete filename            Delete the database (Warning: No recovery possible)
16.02.2024 15:19:46   DSAK: DBEncrypt filename           Encrypt the database with Server-ID (AES-256)
16.02.2024 15:19:46   DSAK: DBDecrypt filename           Decrypt the database
16.02.2024 15:19:46   DSAK: DBSign filename              Sign database with server id (only existing signatures).
16.02.2024 15:19:46   DSAK: DBDesignLock filename On/Off Enable/Disable database design locking
16.02.2024 15:19:46   DSAK:
16.02.2024 15:19:46   DSAK: ---Database Size Quota---
16.02.2024 15:19:46   DSAK: DBQuotaSet filename nnn      Set new database size quota (in MB, 50 - 10000)
16.02.2024 15:19:46   DSAK: DBQuotaClear filename        Remove size quota from database
16.02.2024 15:19:46   DSAK:
16.02.2024 15:19:46   DSAK: ---Database Cluster---
16.02.2024 15:19:46   DSAK: DBCLOnline filename          Put (cluster) database in online state
16.02.2024 15:19:46   DSAK: DBCLOffline filename         Put (cluster) database in offline state
16.02.2024 15:19:46   DSAK:
16.02.2024 15:19:46   DSAK: ---Database Full-Text Index---
16.02.2024 15:19:46   DSAK: DBFTCreate filename          Create full-text index for database (Attachments: Yes, Encrypted Fields: Yes)
16.02.2024 15:19:46   DSAK: DBFTUpdate database          Update full-text index of database
16.02.2024 15:19:46   DSAK: DBFTRemove filename          Remove full-text index of database
16.02.2024 15:19:46   DSAK:
16.02.2024 15:19:46   DSAK: ---Database Replication---
16.02.2024 15:19:46   DSAK: DBReplEnable filename        Enable database replication
16.02.2024 15:19:46   DSAK: DBReplDisable filename       Disable database replication
16.02.2024 15:19:46   DSAK: DBReplClear filename         Clear database replication history
16.02.2024 15:19:46   DSAK:
16.02.2024 15:19:46   DSAK: ---Database Document---
16.02.2024 15:19:46   DSAK: DBDocDelete filename docId   Delete document by NoteID or UniversalID
16.02.2024 15:19:46   DSAK:
16.02.2024 15:19:46   DSAK: ---Miscellaneous---
16.02.2024 15:19:46   DSAK: Help/?                       Display this help screen
16.02.2024 15:19:46   DSAK: Quit/Q                       Terminate DSAK
16.02.2024 15:19:46   DSAK: Help!                        Display help screen from JAddin framework
```


