Restore DirectAdmin websites into empty web roots

This commit is contained in:
parkel committed 2026-11-21 00:16:22 +01:00
1 parent 2b4895df4f
commit 581566b80b
6 files changed
+288 -3

No files matched your search

+21
View File
@@ -420,6 +420,27 @@ command writes regular files with owner-only permissions and reports
the file count, size and number of skipped links or special entries.
The staging directory is separate from the live web root.
### Restore a DirectAdmin website on a web node
Apply the account's web deployment manifest on the web node, then run
the following command with the same manifest and the original backup.
```sh
sudo /opt/coulobre/bin/coulobre-web-node restore-directadmin coulobre-web-plan-1.json user.admin.customer.tar.zst
```
The command restores the manifest's domain into an empty document root.
It reads and validates the entire backup before placing the files. Use
`--source-root private_html` to restore that source directory instead.
The report includes the file count, size and number of skipped entries.
The hosting account owns the restored files. Apache can read public
files through the `www-data` group. Hidden entries and entries with
private source permissions stay private to the hosting account. The
managed Apache configuration controls the restored site. Any restored
`.htaccess` files are available for review. See the
[Apache AllowOverride reference](https://httpd.apache.org/docs/2.4/mod/core.html#allowoverride).
## Request an Apache configuration preview
Start RabbitMQ and set `COULOBRE_BROKER_URL` to its AMQP URL. The development