Skip to content

Backing Up DS Database

Endi S. Dewata edited this page Feb 18, 2023 · 2 revisions

Overview

This page describes the process to back up a single database in a DS instance.

Backup Procedure

Make sure the DS instance is stopped while creating a backup:

$ systemctl stop [email protected]

To back up the database:

$ db2ldif -V -Z localhost \
    -n <database> \
    -a <database>.ldif
Note
The output directory must be writable by dirsrv user.