Skip to content

Instantly share code, notes, and snippets.

View ddyykk's full-sized avatar

Johnson Du ddyykk

  • Auckland
View GitHub Profile
@ddyykk
ddyykk / backup_firefly_docker.md
Last active November 12, 2025 10:24
The scripts used for backup and restore data in Firefly III docker containers. Steps are in the .md file.

Usage Instructions:

  1. Backup Script (backup_firefly_docker.sh):

    • Run the script: ./backup_firefly_docker.sh
    • Enter the database password when prompted.
    • The script will create a backup of the database and uploads directory, compress it, and verify its contents. The files will be in the directory of your current path. (The path when you run the script)
    • The backup file and its checksum will be saved in the firefly_backups directory.
  2. Restore Script (restore_firefly_docker.sh):