The backup engine is an implementation detail — LibrePortal picks a sensible default and handles it — so it doesn't belong next to Name/Type on the Connection tab. Add ENGINE to LOC_ADVANCED_SUFFIXES and mark it **ADVANCED** in the location.config template + seed so it's metadata-driven. Since the engine select now lives in the Advanced tab while SSH-auth and path-mode stay on Connection, refreshInlineTypeFields re-applies the dynamic behaviors (engine filtering, SSH/path visibility) against the shared .task-details scope rather than a single panel. Also fixed the live per-location engine label (restic -> Restic) which now surfaces in the dropdown via the generator-emitted options. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> Signed-off-by: librelad <librelad@digitalangels.vip>
28 lines
3.1 KiB
Plaintext
28 lines
3.1 KiB
Plaintext
# Backup location 1 — default local repo seeded with LibrePortal.
|
|
# Edit via the Locations page on /backup, or directly here.
|
|
CFG_BACKUP_LOC_1_NAME="Local disk" # Location Name - Friendly label shown in the UI
|
|
CFG_BACKUP_LOC_1_ENABLED=true # Enabled - Snapshot to this location
|
|
CFG_BACKUP_LOC_1_ENGINE=restic # Engine - Backup engine used at this location [restic:Restic|borg:BorgBackup|kopia:Kopia] **ADVANCED**
|
|
CFG_BACKUP_LOC_1_PASSWORD=RANDOMIZEDPASSWORD1 # Repository Password - Used to encrypt/decrypt snapshots — back up offline!
|
|
CFG_BACKUP_LOC_1_TYPE=local # Type - Backend [local:Local / mounted path|sftp:SFTP|rest:REST|s3:S3|b2:Backblaze B2|gs:Google Cloud Storage|azure:Azure|rclone:rclone]
|
|
CFG_BACKUP_LOC_1_PATH_MODE=auto # Path Mode - Where this location stores its data [auto:Automatic (/docker/backups/<id>)|custom:Custom path]
|
|
CFG_BACKUP_LOC_1_PATH= # Custom Path - Filesystem path on this server (used when Path Mode = Custom)
|
|
CFG_BACKUP_LOC_1_URI= # URI Override - Custom restic URI (leave blank to build from the fields below) **ADVANCED**
|
|
CFG_BACKUP_LOC_1_SSH_USER= # SSH User - For sftp type
|
|
CFG_BACKUP_LOC_1_SSH_HOST= # SSH Host - For sftp type
|
|
CFG_BACKUP_LOC_1_SSH_PORT=22 # SSH Port - For sftp type **ADVANCED**
|
|
CFG_BACKUP_LOC_1_SSH_PATH= # SSH Remote Path - Path on the remote host where the repo lives
|
|
CFG_BACKUP_LOC_1_SSH_AUTH=key # SSH Authentication - [key:SSH key (~/.ssh/id_rsa)|password:Password (via sshpass)]
|
|
CFG_BACKUP_LOC_1_SSH_PASS= # SSH Password - Used only when SSH Authentication is set to Password
|
|
CFG_BACKUP_LOC_1_S3_ACCESS_KEY= # S3 Access Key - For s3 type
|
|
CFG_BACKUP_LOC_1_S3_SECRET_KEY= # S3 Secret Key - For s3 type
|
|
CFG_BACKUP_LOC_1_B2_ACCOUNT_ID= # B2 Account ID - For b2 type
|
|
CFG_BACKUP_LOC_1_B2_ACCOUNT_KEY= # B2 Account Key - For b2 type
|
|
CFG_BACKUP_LOC_1_APPEND_ONLY=false # Append-only - Refuse forget/prune for this location (ransomware-safe) **ADVANCED**
|
|
CFG_BACKUP_LOC_1_CUSTOM_RETENTION=false # Custom Retention - Override the global retention for this location
|
|
CFG_BACKUP_LOC_1_KEEP_LAST= # Keep Last - Snapshots to always retain (blank = global)
|
|
CFG_BACKUP_LOC_1_KEEP_DAILY= # Keep Daily - Days (blank = global)
|
|
CFG_BACKUP_LOC_1_KEEP_WEEKLY= # Keep Weekly - Weeks (blank = global)
|
|
CFG_BACKUP_LOC_1_KEEP_MONTHLY= # Keep Monthly - Months (blank = global)
|
|
CFG_BACKUP_LOC_1_KEEP_YEARLY= # Keep Yearly - Years (blank = global)
|