mirror of
https://github.com/chevereto/docker.git
synced 2026-05-07 00:46:30 +02:00
20 lines
301 B
Markdown
20 lines
301 B
Markdown
|
|
# Database
|
||
|
|
|
||
|
|
Manage the database backup and restore at the `./backup` directory.
|
||
|
|
|
||
|
|
## Database backup
|
||
|
|
|
||
|
|
Backup a database by `NAMESPACE`.
|
||
|
|
|
||
|
|
```sh
|
||
|
|
make database-backup NAMESPACE=yourproject
|
||
|
|
```
|
||
|
|
|
||
|
|
## Database restore
|
||
|
|
|
||
|
|
Restore a database by `NAMESPACE`.
|
||
|
|
|
||
|
|
```sh
|
||
|
|
make database-restore NAMESPACE=yourproject
|
||
|
|
```
|