PROXMOX-BACKUP-CLIENT(1)
πΈ NAME πΈ
proxmox-backup-client β Command line tool for Backup and Restore. This is the PROXMOX-BACKUP-CLIENT(1) page from the Proxmox Backup manual, and bestie, it's literally the CLI for backup and restore. π
β¨ SYNOPSIS β¨
okay so every command gets its own little moment here. Keep the code exactly as written β no renaming, no merging, no invented flags. π
πΎ backup β the main character πΎ
proxmox-backup-client backup {<backupspec>} [OPTIONS]
Create a (host) backup. Main character energy, honestly.
<backupspec> (<string>) β List of backup source specifications:
[<archive-name>.<type>:<source-path>] ...
The archive-name must only contain alphanumerics, hyphens and underscores while the type must be either pxar, img, conf or log. Can be specified more than once.
bestie, those archive-name rules are strict β do not freestyle them. π«Ά
Optional parameters:
--all-file-systems <boolean>βdefault=false. Include all mounted subdirectories.--auth-id <string>β Authentication ID.--backup-id <string>β Backup ID.--backup-time <integer>β(1 - N). Backup time (Unix epoch.)--backup-type vm|ct|hostβ Backup type.--burst <string>β Size of the token bucket (for Token bucket filter) in bytes with optional unit (B, KB (base 10), MB, GB, ..., KiB (base 2), MiB, Gib, ...).--change-detection-mode legacy|data|metadataβdefault=legacy. Mode to detect file changes since last backup run.--chunk-size <integer>β(64 - 4096),default=4096. Chunk size in KB. Must be a power of 2.--crypt-mode none|encrypt|sign-onlyβdefault=encrypt. Defines whether data is encrypted (using an AEAD cipher), only signed, or neither.--datastore <string>β Datastore name.--dry-run <boolean>βdefault=false. Just show what backup would do, but do not upload anything.--entries-max <integer>βdefault=1048576. Max number of entries to hold in memory.--exclude <string>β List of paths or patterns for matching files to exclude. Can be specified more than once.--include-dev <string>β Include mountpoints with samest_devnumber (see man fstat) as specified files. Can be specified more than once.--keyfd <integer>β(0 - N). Pass an encryption key via an already opened file descriptor.--keyfile <string>β Path to encryption key. All data will be encrypted using this key.--master-pubkey-fd <integer>β(0 - N). Pass a master public key via an already opened file descriptor.--master-pubkey-file <string>β Path to master public key. The encryption key used for a backup will be encrypted using this key and appended to the backup.--no-cache <boolean>βdefault=false. Bypass local datastore cache for network storages.--ns <string>β Namespace.--port <integer>β(1 - 65535),default=8007. Backup server port. Default: 8007.--rate <string>β Rate limit (for Token bucket filter) in bytes/s with optional unit (B, KB (base 10), MB, GB, ..., KiB (base 2), MiB, Gib, ...).--repository <string>β Repository URL:[[auth-id@]server[:port]:]datastore.--server <string>β Backup server address (hostname or IP). Default: localhost.--skip-e2big-xattr <boolean>βdefault=false. Ignore the E2BIG error when retrieving xattrs. This includes the file, but discards the metadata.--skip-lost-and-found <boolean>βdefault=false. Skiplost+founddirectory.
β‘ benchmark β vibe check the server β‘
proxmox-backup-client benchmark [OPTIONS]
Run benchmark tests.
Optional parameters:
--auth-id <string>β Authentication ID.--datastore <string>β Datastore name.--keyfile <string>β Path to encryption key. All data will be encrypted using this key.--no-cache <boolean>βdefault=false. Bypass local datastore cache for network storages.--output-format text|json|json-prettyβ Output format.--port <integer>β(1 - 65535),default=8007. Backup server port. Default: 8007.--repository <string>β Repository URL:[[auth-id@]server[:port]:]datastore.--server <string>β Backup server address (hostname or IP). Default: localhost.
ποΈ catalog dump β dump the catalog ποΈ
proxmox-backup-client catalog dump <snapshot> [OPTIONS]
Dump catalog.
<snapshot> (<string>) β Snapshot path.
Optional parameters:
--auth-id <string>β Authentication ID.--datastore <string>β Datastore name.--keyfd <integer>β(0 - N). Pass an encryption key via an already opened file descriptor.--keyfile <string>β Path to encryption key.--ns <string>β Namespace.--port <integer>β(1 - 65535),default=8007. Backup server port. Default: 8007.--repository <string>β Repository URL:[[auth-id@]server[:port]:]datastore.--server <string>β Backup server address (hostname or IP). Default: localhost.
π catalog shell β peek inside, bestie π
proxmox-backup-client catalog shell <snapshot> <archive-name> [OPTIONS]
Shell to interactively inspect and restore snapshots.
<snapshot> (<string>) β Group/Snapshot path.
<archive-name> (<string>) β Backup archive name.
Optional parameters:
--auth-id <string>β Authentication ID.--datastore <string>β Datastore name.--keyfd <integer>β(0 - N). Pass an encryption key via an already opened file descriptor.--keyfile <string>β Path to encryption key.--ns <string>β Namespace.--port <integer>β(1 - 65535),default=8007. Backup server port. Default: 8007.--repository <string>β Repository URL:[[auth-id@]server[:port]:]datastore.--server <string>β Backup server address (hostname or IP). Default: localhost.
π change-owner β hand over the group π
proxmox-backup-client change-owner <group> <new-owner> [OPTIONS]
Change owner of a backup group.
<group> (<string>) β Backup group.
<new-owner> (<string>) β Authentication ID.
Optional parameters:
--auth-id <string>β Authentication ID.--datastore <string>β Datastore name.--ns <string>β Namespace.--port <integer>β(1 - 65535),default=8007. Backup server port. Default: 8007.--repository <string>β Repository URL:[[auth-id@]server[:port]:]datastore.--server <string>β Backup server address (hostname or IP). Default: localhost.
π§Ή garbage-collect β clean it up π§Ή
proxmox-backup-client garbage-collect [OPTIONS]
Start garbage collection for a specific repository.
Optional parameters:
--auth-id <string>β Authentication ID.--datastore <string>β Datastore name.--output-format text|json|json-prettyβ Output format.--port <integer>β(1 - 65535),default=8007. Backup server port. Default: 8007.--repository <string>β Repository URL:[[auth-id@]server[:port]:]datastore.--server <string>β Backup server address (hostname or IP). Default: localhost.
π group forget β forget (remove) snapshots π
proxmox-backup-client group forget <group> [OPTIONS]
Forget (remove) backup snapshots.
<group> (<string>) β Backup group.
Optional parameters:
--auth-id <string>β Authentication ID.--datastore <string>β Datastore name.--ns <string>β Namespace.--port <integer>β(1 - 65535),default=8007. Backup server port. Default: 8007.--repository <string>β Repository URL:[[auth-id@]server[:port]:]datastore.--server <string>β Backup server address (hostname or IP). Default: localhost.
π¦ group move β new namespace, same datastore π¦
proxmox-backup-client group move <group> --target-ns <string> [OPTIONS]
Move a backup group to a different namespace within the same datastore.
<group> (<string>) β Backup group.
--target-ns <string> β Namespace.
Optional parameters:
--auth-id <string>β Authentication ID.--datastore <string>β Datastore name.--merge-group <boolean>βdefault=true. If the group already exists in the target namespace, merge snapshots into it. Requires matching ownership and non-overlapping snapshot times.--ns <string>β Namespace.--output-format text|json|json-prettyβ Output format.--port <integer>β(1 - 65535),default=8007. Backup server port. Default: 8007.--repository <string>β Repository URL:[[auth-id@]server[:port]:]datastore.--server <string>β Backup server address (hostname or IP). Default: localhost.
π help β when you need the lore π
proxmox-backup-client help [{<command>}] [OPTIONS]
Get help about specified command (or sub-command).
<command> (<string>) β Command. This may be a list in order to specify nested sub-commands. Can be specified more than once.
Optional parameters:
--verbose <boolean>β Verbose help.
π key change-passphrase β new password, who dis πβ
proxmox-backup-client key change-passphrase [<path>] [OPTIONS]
Change the encryption key's password.
<path> (<string>) β Key file. Without this the default key's password will be changed.
Optional parameters:
--hint <string>β Password hint.--kdf none|scrypt|pbkdf2βdefault=scrypt. Key derivation function for password protected encryption keys.
π§ key create β make a new encryption key π§
proxmox-backup-client key create [<path>] [OPTIONS]
Create a new encryption key.
<path> (<string>) β Output file. Without this the key will become the new default encryption key.
Optional parameters:
--hint <string>β Password hint.--kdf none|scrypt|pbkdf2βdefault=scrypt. Key derivation function for password protected encryption keys.
π key create-master-key β RSA public/private key pair π
proxmox-backup-client key create-master-key
Create an RSA public/private key pair used to put an encrypted version of the symmetric backup encryption key onto the backup server along with each backup.
π key import-master-pubkey β import that RSA public key π
proxmox-backup-client key import-master-pubkey <path>
Import an RSA public key used to put an encrypted version of the symmetric backup encryption key onto the backup server along with each backup.
The imported key will be used as default master key for future invocations by the same local user.
<path> (<string>) β Path to the PEM formatted RSA public key.
β key import-with-master-key β part 1 stops here β
proxmox-backup-client key import-with-master-key [<path>] --encrypted-keyfile <string> --master-keyfile <string> [OPTIONS]
Okay so this next one is the key-import situation, and it's giving β¨security coreβ¨ β it pulls in an encrypted backup of an encryption key using a (private) master key π
<path>(string) β the output file, bestie. And lowkey the important bit: if you don't pass this, the imported key becomes the new default encryption key π--encrypted-keyfile<string>β the RSA-encrypted keyfile you're importing π--master-keyfile<string>β the (private) master key to use with it ποΈ
Optional parameters:
--hint<string>β a password hint. Be nice to future you π--kdf none|scrypt|pbkdf2(default=scrypt) β which key derivation function to use for password-protected encryption keys π§
π proxmox-backup-client key paperkey [<path>] [OPTIONS]
Not me being obsessed with this one β it generates a printable, human readable text file containing the encryption key ππ
And it also includes a scanable QR code for fast key restore, which is genuinely iconic for disaster recovery π¦ (yes, scanable, that's the manpage's spelling, we respect it)
<path>(string) β the key file. If you don't give one, the default key's will be used ποΈ
Optional parameters:
--output-format text|htmlβ paperkey output format β¨--subject<string>β include the specified subject as title text π·οΈ
π
proxmox-backup-client key show [<path>] [OPTIONS]
Prints the encryption key's metadata β like, just the vibes, not the whole key π
<path>(string) β key file. No path? Then the default key's metadata will be shown πΈ
Optional parameters:
--output-format text|json|json-prettyβ output format π
π proxmox-backup-client key show-master-pubkey [<path>] [OPTIONS]
Lists info about the master key π
<path>(string) β path to the PEM formatted RSA public key. If you don't specify it, the default location will be used π
Optional parameters:
--output-format text|json|json-prettyβ output format β¨
π¦ proxmox-backup-client list [OPTIONS]
List backup groups. That's it, that's the whole thing π
Optional parameters:
--auth-id<string>β authentication ID πͺͺ--datastore<string>β datastore name ποΈ--ns<string>β namespace π¦--output-format text|json|json-prettyβ output format π--port<integer>(1 - 65535) (default=8007) β backup server port. Default:8007π--repository<string>β repository URL:[[auth-id@]server[:port]:]datastoreπ--server<string>β backup server address (hostname or IP). Default:localhostπ₯οΈ
β proxmox-backup-client login [OPTIONS]
Try to login. If it works, it stores the ticket ποΈ slay
Optional parameters:
--auth-id<string>β authentication ID πͺͺ--datastore<string>β datastore name ποΈ--port<integer>(1 - 65535) (default=8007) β backup server port. Default:8007π--repository<string>β repository URL:[[auth-id@]server[:port]:]datastoreπ--server<string>β backup server address (hostname or IP). Default:localhostπ₯οΈ
π proxmox-backup-client logout [OPTIONS]
Logout. Translation: delete the stored ticket π bye bestie
Optional parameters:
--auth-id<string>β authentication ID πͺͺ--datastore<string>β datastore name ποΈ--port<integer>(1 - 65535) (default=8007) β backup server port. Default:8007π--repository<string>β repository URL:[[auth-id@]server[:port]:]datastoreπ--server<string>β backup server address (hostname or IP). Default:localhostπ₯οΈ
π₯ proxmox-backup-client map <snapshot> <archive-name> [OPTIONS]
Maps a drive image from a VM backup onto a local loopback device π use unmap to undo it, iykyk
β οΈ WARNING: Only do this with trusted backups! Not me begging you to be careful, but like, I'm begging you to be careful π
<snapshot>(string) β group/snapshot path πΈ<archive-name>(string) β backup archive name ποΈ
Optional parameters:
--auth-id<string>β authentication ID πͺͺ--datastore<string>β datastore name ποΈ--keyfile<string>β path to encryption key π--ns<string>β namespace π¦--port<integer>(1 - 65535) (default=8007) β backup server port. Default:8007π--repository<string>β repository URL:[[auth-id@]server[:port]:]datastoreπ--server<string>β backup server address (hostname or IP). Default:localhostπ₯οΈ--verbose<boolean>(default=false) β verbose output and stay in foreground π
πΈ proxmox-backup-client mount <snapshot> <archive-name> <target> [OPTIONS]
Mount a pxar archive ποΈβ¨
<snapshot>(string) β group/snapshot path πΈ<archive-name>(string) β backup archive name ποΈ<target>(string) β target directory path π
Optional parameters:
--auth-id<string>β authentication ID πͺͺ--datastore<string>β datastore name ποΈ--keyfile<string>β path to encryption key π--ns<string>β namespace π¦--port<integer>(1 - 65535) (default=8007) β backup server port. Default:8007π--repository<string>β repository URL:[[auth-id@]server[:port]:]datastoreπ--server<string>β backup server address (hostname or IP). Default:localhostπ₯οΈ--verbose<boolean>(default=false) β verbose output and stay in foreground π
π§ proxmox-backup-client namespace create [<ns>] [OPTIONS]
Creates a shiny new namespace β¨π¦
<ns>(string) β namespace π¦
Optional parameters:
--auth-id<string>β authentication ID πͺͺ--datastore<string>β datastore name ποΈ--port<integer>(1 - 65535) (default=8007) β backup server port. Default:8007π--repository<string>β repository URL:[[auth-id@]server[:port]:]datastoreπ--server<string>β backup server address (hostname or IP). Default:localhostπ₯οΈ
π proxmox-backup-client namespace delete [<ns>] [OPTIONS]
Deletes an existing namespace. This is the main character energy of irreversible, so read the flags π
<ns>(string) β namespace π¦
Optional parameters:
--auth-id<string>β authentication ID πͺͺ--datastore<string>β datastore name ποΈ--delete-groups<boolean>β destroys all groups in the hierarchy π like, all of them, bestie--port<integer>(1 - 65535) (default=8007) β backup server port. Default:8007π--repository<string>β repository URL:[[auth-id@]server[:port]:]datastoreπ--server<string>β backup server address (hostname or IP). Default:localhostπ₯οΈ
π proxmox-backup-client namespace list [<ns>] [OPTIONS]
Lists the namespaces in a repository ππ¦
<ns>(string) β namespace π¦
Optional parameters:
--auth-id<string>β authentication ID πͺͺ--datastore<string>β datastore name ποΈ--max-depth<integer>(0 - N) β maximum recursion depth π--output-format text|json|json-prettyβ output format β¨--port<integer>(1 - 65535) (default=8007) β backup server port. Default:8007π--repository<string>β repository URL:[[auth-id@]server[:port]:]datastoreπ--server<string>β backup server address (hostname or IP). Default:localhostπ₯οΈ
π proxmox-backup-client namespace move [<ns>] --target-ns <string> [OPTIONS]
Moves a backup namespace to a new location within the same datastore ππ¦
<ns>(string) β namespace π¦--target-ns<string>β namespace π―
Optional parameters:
--auth-id<string>β authentication ID πͺͺ--datastore<string>β datastore name ποΈ--delete-source<boolean>(default=true) β remove the source namespace after moving all contents. Defaults totrueπ§Ή--max-depth<integer>(0 - 7) (default=7) β how many levels of namespaces should be operated on (0== no recursion) πͺ--merge-groups<boolean>(default=true) β if a group with the same name already exists in the target namespace, merge snapshots into it. Requires matching ownership and non-overlapping snapshot times β οΈ don't skip that part--output-format text|json|json-prettyβ output format β¨--port<integer>(1 - 65535) (default=8007) β backup server port. Default:8007π--repository<string>β repository URL:[[auth-id@]server[:port]:]datastoreπ--server<string>β backup server address (hostname or IP). Default:localhostπ₯οΈ
π proxmox-backup-client prune <group> [OPTIONS]
Prunes a backup repository βοΈπ₯ this is the "keep only what sparks joy" command
<group>(string) β backup group π―
Optional parameters:
--auth-id<string>β authentication ID πͺͺ--datastore<string>β datastore name ποΈ--dry-run<boolean>β just show what prune would do, but do not delete anything. Lowkey the self-care flag π§ββοΈ--keep-daily<integer>(1 - N) β number of daily backups to keep π--keep-hourly<integer>(1 - N) β number of hourly backups to keep β°--keep-last<integer>(1 - N) β number of backups to keep π«Ά--keep-monthly<integer>(1 - N) β number of monthly backups to keep ποΈ--keep-weekly<integer>(1 - N) β number of weekly backups to keep π--keep-yearly<integer>(1 - N) β number of yearly backups to keep π--max-depth<integer>(0 - 7) β how many levels of namespaces should be operated on (0== no recursion, empty == automatic full recursion, namespace depths reduce maximum allowed value) πͺ--ns<string>β namespace π¦--output-format text|json|json-prettyβ output format β¨--port<integer>(1 - 65535) (default=8007) β backup server port. Default:8007π--quiet<boolean>(default=false) β minimal output, only show removals π€«--repository<string>β repository URL:[[auth-id@]server[:port]:]datastoreπ--server<string>β backup server address (hostname or IP). Default:localhostπ₯οΈ
π proxmox-backup-client restore <snapshot> <archive-name> <target> [OPTIONS]
Restores a backup repository π«Ά the reverse-uno card of backups
<snapshot>(string) β group/snapshot path πΈ<archive-name>(string) β backup archive name ποΈ<target>(string) β target directory path. Use'-'to write to standard output π€
Heads up bestie: we do not extract '.pxar' archives when writing to standard output π
ββοΈ
Optional parameters:
--allow-existing-dirs<boolean>(default=false) β do not fail if directories already exists ποΈ--auth-id<string>β authentication ID πͺͺ--burst<string>β size of the token bucket (for Token bucket filter) in bytes with optional unit (B,KB(base 10),MB,GB, ...,KiB(base 2),MiB,Gib, ...) πͺ£--crypt-mode none|encrypt|sign-only(default=encrypt) β the vibe check for your data π:encryptmeans it's encrypted with an AEAD cipher,sign-onlymeans it's just signed, andnonemeans neither. Choose wisely bestie.--datastore <string>β the datastore name πΎ.--ignore-acls <boolean>(default=false) β literally just ignore acl settings, no thoughts head empty π.--ignore-extract-device-errors <boolean>(default=false) β ignore errors that happen while extracting device nodes π«Ά.--ignore-ownership <boolean>(default=false) β ignore owner settings, i.e. nochownπ.--ignore-permissions <boolean>(default=false) β ignore permission settings, i.e. nochmodπ.--ignore-xattrs <boolean>(default=false) β ignore xattr settings β¨.--keyfd <integer>(0 - N) β hand over an encryption key through an already opened file descriptor ποΈ.--keyfile <string>β path to the encryption key; all data gets encrypted using this key π.--ns <string>β namespace πΈ.--overwrite <boolean>(default=false) β overwrite files that already exist π€.--overwrite-files <boolean>(default=false) β same energy: overwrite already existing files π₯.--overwrite-hardlinks <boolean>(default=false) β overwrite already existing entries with the archive's hardlink βοΈ.--overwrite-symlinks <boolean>(default=false) β overwrite already existing entries with the archive's symlink πͺ’.--pattern <string>β a path or match pattern to limit which files get restored; you can pass it more than once π―.--port <integer>(1 - 65535) (default=8007) β backup server port. Default: 8007 π.--prelude-target <string>β path to restore the prelude to (pxar v2 archives only, so don't come for me if it's not that) π§.--rate <string>β rate limit (for a Token bucket filter) in bytes/s, with an optional unit:B,KB(base 10),MB,GB, ...,KiB(base 2),MiB,Gib, ... πββοΈπ¨.--repository <string>β repository URL:[[auth-id@]server[:port]:]datastoreποΈ.--server <string>β backup server address (hostname or IP). Default: localhost π₯οΈ.
π°οΈ proxmox-backup-client server-identity
proxmox-backup-client server-identity [OPTIONS]
Returns the server identity info for this Proxmox Backup Server β like sliding into its DMs and asking who it is π.
Optional parameters:
--auth-id <string>β authentication ID πͺͺ.--datastore <string>β datastore name πΎ.--output-format text|json|json-prettyβ output format π.--port <integer>(1 - 65535) (default=8007) β backup server port. Default: 8007 π.--repository <string>β repository URL:[[auth-id@]server[:port]:]datastoreποΈ.--server <string>β backup server address (hostname or IP). Default: localhost π₯οΈ.
π proxmox-backup-client snapshot files
proxmox-backup-client snapshot files <snapshot> [OPTIONS]
List the files inside a snapshot β literally snooping through the archives, but make it authorized π΅οΈββοΈ.
<snapshot> (<string>) β snapshot path πΈ.
Optional parameters:
--auth-id <string>β authentication ID πͺͺ.--datastore <string>β datastore name πΎ.--ns <string>β namespace πΈ.--output-format text|json|json-prettyβ output format π.--port <integer>(1 - 65535) (default=8007) β backup server port. Default: 8007 π.--repository <string>β repository URL:[[auth-id@]server[:port]:]datastoreποΈ.--server <string>β backup server address (hostname or IP). Default: localhost π₯οΈ.
π proxmox-backup-client snapshot forget
proxmox-backup-client snapshot forget <snapshot> [OPTIONS]
Forget (remove) backup snapshots. It's giving "we are never ever getting back together" πΆ β except the snapshot's actually gone.
<snapshot> (<string>) β snapshot path πΈ.
Optional parameters:
--auth-id <string>β authentication ID πͺͺ.--datastore <string>β datastore name πΎ.--ns <string>β namespace πΈ.--port <integer>(1 - 65535) (default=8007) β backup server port. Default: 8007 π.--repository <string>β repository URL:[[auth-id@]server[:port]:]datastoreποΈ.--server <string>β backup server address (hostname or IP). Default: localhost π₯οΈ.
π proxmox-backup-client snapshot list
proxmox-backup-client snapshot list [<group>] [OPTIONS]
List your backup snapshots β the full camera roll, no filters π±β¨.
<group> (<string>) β backup group π―ββοΈ.
Optional parameters:
--auth-id <string>β authentication ID πͺͺ.--datastore <string>β datastore name πΎ.--ns <string>β namespace πΈ.--output-format text|json|json-prettyβ output format π.--port <integer>(1 - 65535) (default=8007) β backup server port. Default: 8007 π.--repository <string>β repository URL:[[auth-id@]server[:port]:]datastoreποΈ.--server <string>β backup server address (hostname or IP). Default: localhost π₯οΈ.
π proxmox-backup-client snapshot notes show
proxmox-backup-client snapshot notes show <snapshot> [OPTIONS]
Show notes π β the little diary entry attached to a snapshot.
<snapshot> (<string>) β snapshot path πΈ.
Optional parameters:
--auth-id <string>β authentication ID πͺͺ.--datastore <string>β datastore name πΎ.--ns <string>β namespace πΈ.--output-format text|json|json-prettyβ output format π.--port <integer>(1 - 65535) (default=8007) β backup server port. Default: 8007 π.--repository <string>β repository URL:[[auth-id@]server[:port]:]datastoreποΈ.--server <string>β backup server address (hostname or IP). Default: localhost π₯οΈ.
βοΈ proxmox-backup-client snapshot notes update
proxmox-backup-client snapshot notes update <snapshot> <notes> [OPTIONS]
Update Notes β rewriting history, but the cute, sanctioned kind π.
<snapshot> (<string>) β snapshot path πΈ.
<notes> (<string>) β the Notes π.
Optional parameters:
--auth-id <string>β authentication ID πͺͺ.--datastore <string>β datastore name πΎ.--ns <string>β namespace πΈ.--port <integer>(1 - 65535) (default=8007) β backup server port. Default: 8007 π.--repository <string>β repository URL:[[auth-id@]server[:port]:]datastoreποΈ.--server <string>β backup server address (hostname or IP). Default: localhost π₯οΈ.
π‘οΈ proxmox-backup-client snapshot protected show
proxmox-backup-client snapshot protected show <snapshot> [OPTIONS]
Show the protection status of the specified snapshot β is it guarded or is it free-range? π
<snapshot> (<string>) β snapshot path πΈ.
Optional parameters:
--auth-id <string>β authentication ID πͺͺ.--datastore <string>β datastore name πΎ.--ns <string>β namespace πΈ.--output-format text|json|json-prettyβ output format π.--port <integer>(1 - 65535) (default=8007) β backup server port. Default: 8007 π.--repository <string>β repository URL:[[auth-id@]server[:port]:]datastoreποΈ.--server <string>β backup server address (hostname or IP). Default: localhost π₯οΈ.
π proxmox-backup-client snapshot protected update
proxmox-backup-client snapshot protected update <snapshot> <protected> [OPTIONS]
Update the protection status of a snapshot β toggling the do-not-touch shield π‘οΈβ¨.
<snapshot> (<string>) β snapshot path πΈ.
<protected> (<boolean>) β the protection status π¦.
Optional parameters:
--auth-id <string>β authentication ID πͺͺ.--datastore <string>β datastore name πΎ.--ns <string>β namespace πΈ.--port <integer>(1 - 65535) (default=8007) β backup server port. Default: 8007 π.--repository <string>β repository URL:[[auth-id@]server[:port]:]datastoreποΈ.--server <string>β backup server address (hostname or IP). Default: localhost π₯οΈ.
π€ proxmox-backup-client snapshot upload-log
proxmox-backup-client snapshot upload-log <snapshot> <logfile> [OPTIONS]
Upload a backup log file β receipts, but make them permanent π§Ύπ .
<snapshot> (<string>) β Group/Snapshot path ποΈ.
<logfile> (<string>) β the path to the log file you want to upload π.
Optional parameters:
--auth-id <string>β authentication ID πͺͺ.--crypt-mode none|encrypt|sign-only(default=encrypt) β defines whether data is encrypted (using an AEAD cipher), only signed, or neither π.--datastore <string>β datastore name πΎ.--keyfd <integer>(0 - N) β pass an encryption key via an already opened file descriptor ποΈ.--keyfile <string>β path to the encryption key; all data will be encrypted using this key π.--ns <string>β namespace πΈ.--port <integer>(1 - 65535) (default=8007) β backup server port. Default: 8007 π.--repository <string>β repository URL:[[auth-id@]server[:port]:]datastoreποΈ.--server <string>β backup server address (hostname or IP). Default: localhost π₯οΈ.
π proxmox-backup-client status
proxmox-backup-client status [OPTIONS]
Get the repository status β the "how are we doing bestie" check-in πββοΈ.
Optional parameters:
--auth-id <string>β authentication ID πͺͺ.--datastore <string>β datastore name πΎ.--output-format text|json|json-prettyβ output format π.--port <integer>(1 - 65535) (default=8007) β backup server port. Default: 8007 π.--repository <string>β repository URL:[[auth-id@]server[:port]:]datastoreποΈ.--server <string>β backup server address (hostname or IP). Default: localhost π₯οΈ.
ποΈ proxmox-backup-client task list
proxmox-backup-client task list [OPTIONS]
List the running server tasks for this repo user β the group chat of things currently happening π.
Optional parameters:
--all <boolean>β also list stopped tasks, because the past matters too π.--auth-id <string>β authentication ID πͺͺ.--datastore <string>β datastore name πΎ.--limit <integer>(1 - 1000) (default=50) β the maximal number of tasks to list π’.--output-format text|json|json-prettyβ output format π.--port <integer>(1 - 65535) (default=8007) β backup server port. Default: 8007 π.--repository <string>β repository URL:[[auth-id@]server[:port]:]datastoreποΈ.--server <string>β backup server address (hostname or IP). Default: localhost π₯οΈ.
π§Ύ proxmox-backup-client task log
proxmox-backup-client task log <upid> [OPTIONS]
Display the task log β the full storytime for one task πβ¨.
<upid> (<string>) β Unique Process/Task Identifier π.
Optional parameters:
--auth-id <string>β authentication ID πͺͺ.--datastore <string>β datastore name πΎ.--port <integer>(1 - 65535) (default=8007) β backup server port. Default: 8007 π.--repository <string>β repository URL:[[auth-id@]server[:port]:]datastoreποΈ.--server <string>β backup server address (hostname or IP). Default: localhost π₯οΈ.
π proxmox-backup-client task stop
proxmox-backup-client task stop <upid> [OPTIONS]
Try to stop a specific task β "you're done, bestie, wrap it up" β.
<upid> (<string>) β Unique Process/Task Identifier π.
Optional parameters:
--auth-id <string>β authentication ID πͺͺ.--datastore <string>β datastore name πΎ.--port <integer>(1 - 65535) (default=8007) β the port your backup server is listening on. Default?8007, bestie, don't forget it π--repository <string>β the repository URL, and the shape is exactly this:[[auth-id@]server[:port]:]datastore--server <string>β where the backup server lives (hostname or IP). Default:localhostπ
π proxmox-backup-client unmap [<name>]
Unmaps a loop device that was mapped with map, and releases all its resources. Cleanup era β¨
<name> (<string>) β the archive name, a path to the loopdev (/dev/loopX), or just the loop device number. Omit it entirely and you get a list of all current mappings, plus a forced cleanup of any leftover instances π§Ή
π proxmox-backup-client version [OPTIONS]
Shows the client version, and the server version too if you want it π
Optional parameters, incoming:
--auth-id <string>β authentication ID--datastore <string>β datastore name--output-format text|json|json-prettyβ output format--port <integer>(1 - 65535) (default=8007) β backup server port. Default:8007--repository <string>β repository URL:[[auth-id@]server[:port]:]datastore--server <string>β backup server address (hostname or IP). Default:localhost
π CATALOG SHELL COMMANDS π
okay so these ones are only available once you start up the interactive restore shell, like so:
proxmox-backup-client shell <snapshot> <name.pxar>
cd [<path>]
Changes the current working directory to a new directory π
<path> (<string>) β target path
clear-selected
Clears the whole list of files you selected for restore. yeet, but for selections π«§
deselect <path>
Deselects an entry for restore.
Heads up: you'll get an error back if that entry isn't actually in the list of entries selected for restore π
<path> (<string>) β path to the entry you want removed from the list
exit
Exits the shell. bye bestie π
find <pattern> [OPTIONS]
Finds entries in the catalog that match your match pattern π
<pattern> (<string>) β path or match pattern for matching filenames
Optional parameters:
--select <boolean>(default=false) β adds the matching filenames to the list for restore
help [{<command>}] [OPTIONS]
Gets help about a specified command (or sub-command) π«Ά
<command> (<string>) β the command. This can be a list, so you can specify nested sub-commands. And yes, you can pass it more than once.
Optional parameters:
--verbose <boolean>β verbose help
list-selected [OPTIONS]
Lists the entries you currently have selected for restore π
Optional parameters:
--patterns <boolean>(default=false) β list the match patterns instead of the matching files
ls [<path>]
Lists the content of the working directory, or of the path you give it π
<path> (<string>) β target path
pwd
Lists the current working directory. classic, iconic, never misses π
restore <target> [OPTIONS]
Restores the sub-archive given by the current working directory into target.
And if you also hand it a pattern, the restore gets limited to a narrower subset of that sub-archive. No pattern, or an empty one? Then the full archive goes to target π―
<target> (<string>) β target path for restore on the local filesystem
Optional parameters:
--pattern <string>β path or match pattern for matching filenames
restore-selected <target>
Restores the selected entries to the given target path.
important: the target must not exist on the client's filesystem. Like, at all. It's giving "fresh start only" π€
<target> (<string>) β target path for restore on the local filesystem
select <path>
Selects an entry for restore β
Heads up: this returns an error if the entry is already in the list, or if you handed it an invalid path.
<path> (<string>) β target path
stat <path>
Reads the metadata for a given directory entry π΅οΈ
lowkey a warning: this one is expensive, because the data has to be read from the pxar archive, which means reading over the network. so don't spam it fr fr π
<path> (<string>) β target path
β¨ COMMON OPTIONS β¨
Most commands that produce output support the --output-format parameter. It accepts these values, slay:
textβ text format (default). Structured data is rendered as a table.jsonβ JSON (single line).json-prettyβ JSON (multiple lines, nicely formatted).
Also, these environment variables can modify output behavior π
PROXMOX_OUTPUT_FORMATβ defines the default output format.PROXMOX_OUTPUT_NO_BORDERβ if set (to any value), table borders are not rendered.PROXMOX_OUTPUT_NO_HEADERβ if set (to any value), table headers are not rendered.
Note: the text format is designed to be human readable, and it is not meant to be parsed by automation tools. So if you need to process the output, please use the json format π (/gen)
π DESCRIPTION π
This tool implements a backup server client β meaning it can connect to backup servers to issue management commands, and to create or restore backups. that's the whole vibe π¦
π COPYRIGHT AND DISCLAIMER π
Copyright (C) 2019-2025, Proxmox Server Solutions GmbH
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>
Author
Proxmox Support Team π«Ά
Copyright
2019-2025, Proxmox Server Solutions GmbH
and that's a wrap on PROXMOX-BACKUP-CLIENT(1) bestie!! π this page is version 4.2.0, dated Tuesday, 01 January 1980 (yes the date is silly, we love her for it π), and it lives in section 1 of the manual. go forth and back things up, you absolute icon ππ
π¦ where this page comes from
- nixos 26.05: proxmox-backup-client 4.2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms