Files
aliasvault/docs/installation/advanced/database.md
2024-12-31 21:18:44 +01:00

572 B

layout, title, parent, nav_order
layout title parent nav_order
default Database Backup Advanced 2

Database Backup

In order to backup the database, you can use the install.sh script. This script will stop all services, export the database to a file, and then restart the services.

./install.sh db-backup > backup.sql.gz

Database Restore

To restore the database, you can use the install.sh script. This script will stop all services, drop the database, import the database from a file, and then restart the services.

./install.sh db-restore < backup.sql.gz