This commit is contained in:
DogmaDragon 2025-11-16 19:58:08 +02:00 committed by GitHub
parent 8f568f4938
commit aff53af4be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,7 +6,7 @@ title: Backup and restore database
Always use the UI to create a backup of the database. As with all live databases **DO NOT** copy manually the database file as a means of backup.
Stash uses an sqlite database with `WAL` mode enabled. This practically means that along with the main db file `stash.go-sqlite` there can be a `-shm` and a `-wal` file present ([more info](https://sqlite.org/wal.html){:target="_blank"}). Even stopping Stash might leave some of these index files present so again **DO NOT** manually copy the database file.
Stash uses an sqlite database with `WAL` mode enabled. This practically means that along with the main db file `stash-go.sqlite` there can be a `-shm` and a `-wal` file present ([more info](https://sqlite.org/wal.html){:target="_blank"}). Even stopping Stash might leave some of these index files present so again **DO NOT** manually copy the database file.
The **Backup** or **Download Backup** tasks are the proper way to create a backup file.