docs: more compact overview
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
1a4186210a
commit
d3e78c5fb4
@ -336,13 +336,15 @@ cheetsheet](/abra/cheat-sheet/#manually-restoring-app-data).
|
|||||||
MySQL / MariaDB:
|
MySQL / MariaDB:
|
||||||
|
|
||||||
```
|
```
|
||||||
abra app run foo.bar.com db mysqldump -u root <database> | gzip > ~/.abra/backups/foo.bar.com_db_`date +%F`.sql.gz
|
abra app run foo.bar.com db mysqldump -u root <database> \
|
||||||
|
| gzip > ~/.abra/backups/foo.bar.com_db_`date +%F`.sql.gz
|
||||||
```
|
```
|
||||||
|
|
||||||
Postgres:
|
Postgres:
|
||||||
|
|
||||||
```
|
```
|
||||||
abra app run foo.bar.com db pg_dump -u root <database> | gzip > ~/.abra/backups/foo.bar.com_db_`date +%F`.sql.gz
|
abra app run foo.bar.com db pg_dump -u root <database> | \
|
||||||
|
gzip > ~/.abra/backups/foo.bar.com_db_`date +%F`.sql.gz
|
||||||
```
|
```
|
||||||
|
|
||||||
If you get errors about database access:
|
If you get errors about database access:
|
||||||
@ -351,7 +353,8 @@ If you get errors about database access:
|
|||||||
something like this:
|
something like this:
|
||||||
|
|
||||||
```
|
```
|
||||||
abra app run foo.bar.com db bash -c 'mysqldump -u root -p"$(cat /run/secrets/db_oot_password)" <database>' | gzip > ~/.abra/backups/foo.bar.com_db_`date +%F`.sql.gz
|
abra app run foo.bar.com db \
|
||||||
|
bash -c 'mysqldump -u root -p"$(cat /run/secrets/db_oot_password)" <database>' | gzip > ~/.abra/backups/foo.bar.com_db_`date +%F`.sql.gz
|
||||||
```
|
```
|
||||||
|
|
||||||
## Can I deploy a recipe without `abra`?
|
## Can I deploy a recipe without `abra`?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user