No description
Find a file
2026-05-03 14:33:21 +03:00
.env.app.sh added extension to have seaparte from file_pattern 2026-03-26 13:34:25 +02:00
.env.sh added example env files and file_pattern config 2026-03-26 13:22:44 +02:00
.gitignore added example env files and file_pattern config 2026-03-26 13:22:44 +02:00
create-db-snapshot-restic.sh fixed naming of rclone local uploads env 2026-03-02 14:49:05 +02:00
create-db-snapshot.sh added better loging with timestamps 2026-05-03 14:33:21 +03:00
create-encrypted-db-snapshot.sh added not encrypted version of backup 2026-03-21 00:14:31 +02:00
example.sh added b2 hard delete flag for db sync 2026-04-21 00:21:36 +03:00
readme.md fixed naming of rclone local uploads env 2026-03-02 21:14:39 +02:00
restore-db-snapshot.sh fixed naming of rclone local uploads env 2026-03-02 14:49:05 +02:00
sync-db-snapshots.sh added better loging with timestamps 2026-05-03 14:33:21 +03:00
sync-dir.sh added better loging with timestamps 2026-05-03 14:33:21 +03:00
sync-uploads.sh added better loging with timestamps 2026-05-03 14:33:21 +03:00

Global config env:

export G_HOME=""
export G_SCRIPT_PATH=""
export G_AGE_RECIPIENT=""
export G_AGE_KEY_FILE=""     # optional used only for restoring encrypted snapshot
export G_LOCAL_DB_BACKUP_DIR=""
export G_RCLONE_BACKUP_REMOTE_NAME=""
export G_RETENTION_DAYS=""
export G_LOG_FILE=""

App config env:

export APP_NAME=""
export APP_DB_PATH=""
export APP_DB_BACKUP_BUCKET=""
export APP_UPLOADS_BACKUP_BUCKET=""
export APP_UPLOADS_BUCKET=""
export APP_RCLONE_LOCAL_REMOTE=""
export APP_RCLONE_BACKUP_REMOTE=""

# Restic backup configuration (for create-db-snapshot-restic.sh)
export APP_RESTIC_REPOSITORY=""    # e.g., "s3:s3.amazonaws.com/bucket-name/app-name"
export APP_RESTIC_PASSWORD=""      # encryption password for this app's restic repo