added backup script

This commit is contained in:
2026-02-25 01:47:35 +03:00
parent 9f36a48864
commit 9c0a3c19f6
4 changed files with 155 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
# Copy to restic-backup.env and set values.
# restic-backup.env is not committed (add to .gitignore if needed).
# Repository: local path, sftp, rclone, or S3-compatible.
# Examples:
# RESTIC_REPOSITORY=/backup/restic
# RESTIC_REPOSITORY=sftp:user@backup-host:/restic
# RESTIC_REPOSITORY=s3:s3.amazonaws.com/bucket-name
export RESTIC_REPOSITORY=""
# Repository password (used for encryption).
export RESTIC_PASSWORD=""