Stage website files from DirectAdmin backups
This commit is contained in:
1 parent
c6310b1525
commit
2b4895df4f
5 files changed
+322
-13
No files matched your search
@@ -404,6 +404,22 @@ for the original account. A domain conflict or a change to the original
|
||||
account's domain or requests can block the import. A blocked import prints
|
||||
its report and exits with code `2`.
|
||||
|
||||
### Stage DirectAdmin website files
|
||||
|
||||
Run the following command with a path for a new directory. The command
|
||||
publishes the selected site's files under `document-root` inside that
|
||||
directory after successfully reading the backup.
|
||||
|
||||
```sh
|
||||
coulobre-directadmin stage-website user.admin.customer.tar.zst example.net ./example-net-stage
|
||||
```
|
||||
|
||||
The default source is the domain's `public_html` directory. Use
|
||||
`--source-root private_html` for a separate HTTPS document root. The
|
||||
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.
|
||||
|
||||
## Request an Apache configuration preview
|
||||
|
||||
Start RabbitMQ and set `COULOBRE_BROKER_URL` to its AMQP URL. The development
|
||||
|
||||
Reference in new issue
Block a user