|
|
```bash
|
|
|
# Backup
|
|
|
docker run \
|
|
|
-v /path/to/backup.fbk:/db.fbk \
|
|
|
-v /path/to/database.fdb:/db.fdb \
|
|
|
kpsys/firebird \
|
|
|
/usr/local/firebird/bin/gbak -b -v -p 16384 -user SQLKPWIN -password alzbetka /db.fbk localhost:db_verbis
|
|
|
```
|
|
|
|
|
|
```bash
|
|
|
# Restore
|
|
|
docker run \
|
|
|
-v /path/to/directory/with/backup:/db kpsys/firebird \
|
|
|
/usr/local/firebird/bin/gbak -r -v -p 16384 -user SQLKPWIN -password <PASSWORD> /db/<backup-file-name>.fbk /db/<database-file-name>.fdb
|
|
|
``` |
|
|
\ No newline at end of file |