# ============================================================================== # Shared configuration for backup.sh and restore.sh. # # This is a TEMPLATE — copy it to backup.env and fill in real values: # # cp backup.env.sample backup.env # chmod 600 backup.env # # backup.env is git-ignored and holds the live credentials. Both scripts # source it, so it is the single source of truth for the PBS connection/auth. # ============================================================================== # --- Proxmox Backup Server --- export PBS_SERVER="backup.example.com" export PBS_DATASTORE="datastore-name" export PBS_PORT="8007" # --- Namespace within the datastore --- BACKUP_NS="namespace-name" # --- Authentication (API token: @!) --- export PBS_AUTH_ID="user@pbs!tokenname" export PBS_PASSWORD="paste-token-secret-here" # --- Client-side encryption key (passed via --keyfile) --- ENCRYPTION_KEY_FILE="/etc/proxmox-backup/encryption-key.pem" # --- Local hostname (used as backup-id and archive-name prefix) --- HOSTNAME="$(hostname)"