Inspect DirectAdmin account backups

This commit is contained in:
parkel committed 2026-11-20 23:09:27 +01:00
1 parent 053fd9907c
commit 6ff77f3aed
4 files changed
+449

No files matched your search

+25
View File
@@ -336,6 +336,31 @@ installation needs attention.
Exit code `1` indicates an invalid manifest or an invocation error such as
running the check without root privileges.
## Inspect a DirectAdmin backup
Use an account archive from DirectAdmin's Site Backup, Manage User Backups
or Admin Backup/Transfer feature. Coulobre reads plain tar and gzip archives
directly. Install the `zstd` package to read Zstandard archives. See the
[DirectAdmin backup guide](https://docs.directadmin.com/directadmin/backup-restore-migration/).
```sh
coulobre-directadmin inspect user.admin.customer.tar.zst
```
The command reads the archive in place and prints a JSON inventory. It
reports the source account and primary domain, discovered domains, website
and mail file counts, DNS zone presence, supported mailbox addresses, and
database dump names. Mailboxes with names outside Coulobre's address format
are counted separately. It records the presence of a nested home archive.
Symbolic links, hard links and other special entries are counted separately
from regular files.
The inventory reads the account, domain and mailbox lists from their
metadata files and checks the rest by archive entry. These metadata files
have an 8 MiB limit per file. Mail and website counts refer to regular
files at recognized paths. The report contains names and counts rather
than passwords, hashes or file contents.
## Request an Apache configuration preview
Start RabbitMQ and set `COULOBRE_BROKER_URL` to its AMQP URL. The development