pvesm <COMMAND> [ARGS] [OPTIONS]
pvesm add <type> <storage>
[OPTIONS]
Create a new storage.
<type>
: <btrfs | cephfs | cifs | dir | glusterfs | iscsi | iscsidirect | lvm | lvmthin | nfs | pbs | rbd | zfs | zfspool>
<storage>
: <string>
--authsupported
<string>
--base
<string>
--blocksize
<string>
--bwlimit
[clone=<LIMIT>] [,default=<LIMIT>] [,migration=<LIMIT>] [,move=<LIMIT>] [,restore=<LIMIT>]
--comstar_hg
<string>
--comstar_tg
<string>
--content
<string>
Allowed content types.
the value rootdir is used for Containers, and value images for VMs.
--datastore
<string>
--disable
<boolean>
--domain
<string>
--encryption-key
a file containing an encryption key, or the special value "autogen"
--export
<string>
--fingerprint
([A-Fa-f0-9]{2}:){31}[A-Fa-f0-9]{2}
--format
<string>
--fs-name
<string>
--fuse
<boolean>
--is_mountpoint
<string>
(default = no
)
--iscsiprovider
<string>
--keyring
file containing the keyring to authenticate in the Ceph cluster
--krbd
<boolean>
--lio_tpg
<string>
--master-pubkey
a file containing a PEM-formatted master public key
--maxfiles
<integer> (0 - N)
--mkdir
<boolean>
(default = yes
)
--monhost
<string>
--mountpoint
<string>
--namespace
<string>
--nocow
<boolean>
(default = 0
)
--nodes
<string>
--nowritecache
<boolean>
--options
<string>
--password
<password>
--path
<string>
--pool
<string>
--port
<integer> (1 - 65535)
(default = 8007
)
--portal
<string>
--preallocation
<falloc | full | metadata | off>
(default = metadata
)
--prune-backups
[keep-all=<1|0>] [,keep-daily=<N>] [,keep-hourly=<N>] [,keep-last=<N>] [,keep-monthly=<N>] [,keep-weekly=<N>] [,keep-yearly=<N>]
--saferemove
<boolean>
--saferemove_throughput
<string>
--server
<string>
--server2
<string>
Backup volfile server IP or DNS name.
Requires option(s): server
--share
<string>
--shared
<boolean>
--smbversion
<2.0 | 2.1 | 3 | 3.0 | 3.11 | default>
(default = default
)
--sparse
<boolean>
--subdir
<string>
--tagged_only
<boolean>
--target
<string>
--thinpool
<string>
--transport
<rdma | tcp | unix>
--username
<string>
--vgname
<string>
--volume
<string>
pvesm alloc <storage> <vmid> <filename> <size>
[OPTIONS]
Allocate disk images.
<storage>
: <string>
<vmid>
: <integer> (1 - N)
<filename>
: <string>
<size>
: \d+[MG]?
--format
<qcow2 | raw | subvol>
no description available
Requires option(s): size
pvesm apiinfo
Returns APIVER and APIAGE.
pvesm cifsscan
An alias for pvesm scan cifs.
pvesm export <volume> <format> <filename>
[OPTIONS]
Used internally to export a volume.
<volume>
: <string>
<format>
: <btrfs | qcow2+size | raw+size | tar+size | vmdk+size | zfs>
<filename>
: <string>
--base
(?^i:[a-z0-9_\-]{1,40})
--snapshot
(?^i:[a-z0-9_\-]{1,40})
--snapshot-list
<string>
--with-snapshots
<boolean>
(default = 0
)
pvesm extractconfig <volume>
Extract configuration from vzdump backup archive.
<volume>
: <string>
pvesm free <volume>
[OPTIONS]
Delete volume
<volume>
: <string>
--delay
<integer> (1 - 30)
--storage
<string>
pvesm glusterfsscan
An alias for pvesm scan glusterfs.
pvesm help [OPTIONS]
Get help about specified command.
--extra-args
<array>
--verbose
<boolean>
pvesm import <volume> <format> <filename>
[OPTIONS]
Used internally to import a volume.
<volume>
: <string>
<format>
: <btrfs | qcow2+size | raw+size | tar+size | vmdk+size | zfs>
<filename>
: <string>
--allow-rename
<boolean>
(default = 0
)
--base
(?^i:[a-z0-9_\-]{1,40})
--delete-snapshot
(?^i:[a-z0-9_\-]{1,80})
--snapshot
(?^i:[a-z0-9_\-]{1,40})
--with-snapshots
<boolean>
(default = 0
)
pvesm iscsiscan
An alias for pvesm scan iscsi.
pvesm list <storage>
[OPTIONS]
List storage content.
<storage>
: <string>
--content
<string>
--vmid
<integer> (1 - N)
pvesm lvmscan
An alias for pvesm scan lvm.
pvesm lvmthinscan
An alias for pvesm scan lvmthin.
pvesm nfsscan
An alias for pvesm scan nfs.
pvesm path <volume>
Get filesystem path for specified volume
<volume>
: <string>
pvesm prune-backups <storage>
[OPTIONS]
Prune backups. Only those using the standard naming scheme are considered. If no keep options are specified, those from the storage configuration are used.
<storage>
: <string>
--dry-run
<boolean>
--keep-all
<boolean>
--keep-daily
<N>
--keep-hourly
<N>
--keep-last
<N>
--keep-monthly
<N>
--keep-weekly
<N>
--keep-yearly
<N>
--type
<lxc | qemu>
--vmid
<integer> (1 - N)
pvesm remove <storage>
Delete storage configuration.
<storage>
: <string>
pvesm scan cifs <server>
[OPTIONS]
Scan remote CIFS server.
<server>
: <string>
--domain
<string>
--password
<password>
--username
<string>
pvesm scan glusterfs <server>
Scan remote GlusterFS server.
<server>
: <string>
pvesm scan iscsi <portal>
Scan remote iSCSI server.
<portal>
: <string>
pvesm scan lvm
List local LVM volume groups.
pvesm scan lvmthin <vg>
List local LVM Thin Pools.
<vg>
: [a-zA-Z0-9\.\+\_][a-zA-Z0-9\.\+\_\-]+
pvesm scan nfs <server>
Scan remote NFS server.
<server>
: <string>
pvesm scan pbs <server> <username> --password <string>
[OPTIONS]
[FORMAT_OPTIONS]
Scan remote Proxmox Backup Server.
<server>
: <string>
<username>
: <string>
--fingerprint
([A-Fa-f0-9]{2}:){31}[A-Fa-f0-9]{2}
--password
<string>
--port
<integer> (1 - 65535)
(default = 8007
)
pvesm scan zfs
Scan zfs pool list on local node.
pvesm set <storage>
[OPTIONS]
Update storage configuration.
<storage>
: <string>
--blocksize
<string>
--bwlimit
[clone=<LIMIT>] [,default=<LIMIT>] [,migration=<LIMIT>] [,move=<LIMIT>] [,restore=<LIMIT>]
--comstar_hg
<string>
--comstar_tg
<string>
--content
<string>
Allowed content types.
the value rootdir is used for Containers, and value images for VMs.
--delete
<string>
--digest
<string>
--disable
<boolean>
--domain
<string>
--encryption-key
a file containing an encryption key, or the special value "autogen"
--fingerprint
([A-Fa-f0-9]{2}:){31}[A-Fa-f0-9]{2}
--format
<string>
--fs-name
<string>
--fuse
<boolean>
--is_mountpoint
<string>
(default = no
)
--keyring
file containing the keyring to authenticate in the Ceph cluster
--krbd
<boolean>
--lio_tpg
<string>
--master-pubkey
a file containing a PEM-formatted master public key
--maxfiles
<integer> (0 - N)
--mkdir
<boolean>
(default = yes
)
--monhost
<string>
--mountpoint
<string>
--namespace
<string>
--nocow
<boolean>
(default = 0
)
--nodes
<string>
--nowritecache
<boolean>
--options
<string>
--password
<password>
--pool
<string>
--port
<integer> (1 - 65535)
(default = 8007
)
--preallocation
<falloc | full | metadata | off>
(default = metadata
)
--prune-backups
[keep-all=<1|0>] [,keep-daily=<N>] [,keep-hourly=<N>] [,keep-last=<N>] [,keep-monthly=<N>] [,keep-weekly=<N>] [,keep-yearly=<N>]
--saferemove
<boolean>
--saferemove_throughput
<string>
--server
<string>
--server2
<string>
Backup volfile server IP or DNS name.
Requires option(s): server
--shared
<boolean>
--smbversion
<2.0 | 2.1 | 3 | 3.0 | 3.11 | default>
(default = default
)
--sparse
<boolean>
--subdir
<string>
--tagged_only
<boolean>
--transport
<rdma | tcp | unix>
--username
<string>
pvesm status [OPTIONS]
Get status for all datastores.
--content
<string>
--enabled
<boolean>
(default = 0
)
--format
<boolean>
(default = 0
)
--storage
<string>
--target
<string>
pvesm zfsscan
An alias for pvesm scan zfs.