Skip to content

Instantly share code, notes, and snippets.

#!/bin/env bash
# This script is used to backup from Proxmox Virtual Environment (PVE) to the Proxmox Backup Server (PBS).
# Can be run manually or scheduled using cron with no user input. Provides output to the terminal and logs to a file.
# Must have a valid API token for the user on the Proxmox Backup Server (PBS) to run this script.
# ==================== Define variables (Edit Below) ==================== #
DRY_RUN=false # true/false, for testing purposes true (only logs will be generated), for production false (actual run)
CLIENT_HOSTNAME="$(hostname)"
PBS_USER="pbsuser" # user name of the PBS user must have DatastoreAdmin privilages on /datastore
@amitsax
amitsax / keybase.md
Created December 19, 2022 23:32
Keybase verification

Keybase proof

I hereby claim:

  • I am amitsax on github.
  • I am amitsax (https://keybase.io/amitsax) on keybase.
  • I have a public key ASDtPpxDp2sDmmHimTm3sohmzXXun1M7r884egLpsRUAbgo

To claim this, I am signing this object: