]> git.proxmox.com Git - pve-docs.git/blame - pvesm.1-synopsis.adoc
vzdump: mention new parameter 'pbs-entries-max'
[pve-docs.git] / pvesm.1-synopsis.adoc
CommitLineData
1f554f76
DM
1*pvesm* `<COMMAND> [ARGS] [OPTIONS]`
2
3*pvesm add* `<type> <storage>` `[OPTIONS]`
4
5Create a new storage.
6
5f4e66fe 7`<type>`: `<btrfs | cephfs | cifs | dir | glusterfs | iscsi | iscsidirect | lvm | lvmthin | nfs | pbs | rbd | zfs | zfspool>` ::
1f554f76
DM
8
9Storage type.
10
013dc89f 11`<storage>`: `<string>` ::
1f554f76
DM
12
13The storage identifier.
14
2489d6df 15`--authsupported` `<string>` ::
1f554f76
DM
16
17Authsupported.
18
2489d6df 19`--base` `<string>` ::
1f554f76
DM
20
21Base volume. This volume is automatically activated.
22
2489d6df 23`--blocksize` `<string>` ::
1f554f76
DM
24
25block size
26
27a7acb2
DM
27`--bwlimit` `[clone=<LIMIT>] [,default=<LIMIT>] [,migration=<LIMIT>] [,move=<LIMIT>] [,restore=<LIMIT>]` ::
28
4a407cfd 29Set I/O bandwidth limit for various operations (in KiB/s).
27a7acb2 30
2489d6df 31`--comstar_hg` `<string>` ::
1f554f76
DM
32
33host group for comstar views
34
2489d6df 35`--comstar_tg` `<string>` ::
1f554f76
DM
36
37target group for comstar views
38
2489d6df 39`--content` `<string>` ::
1f554f76 40
04ce4dfa
DM
41Allowed content types.
42+
c2993fe5 43NOTE: the value 'rootdir' is used for Containers, and value 'images' for VMs.
1f554f76 44
9d2e98ed
TL
45`--content-dirs` `<string>` ::
46
47Overrides for default content type directories.
48
4a407cfd
TL
49`--create-base-path` `<boolean>` ('default =' `yes`)::
50
51Create the base directory if it doesn't exist.
52
53`--create-subdirs` `<boolean>` ('default =' `yes`)::
54
55Populate the directory with the default structure.
56
c30bb419
TL
57`--data-pool` `<string>` ::
58
59Data Pool (for erasure coding only)
60
c5aa7e14
TL
61`--datastore` `<string>` ::
62
4772952b 63Proxmox Backup Server datastore name.
c5aa7e14 64
2489d6df 65`--disable` `<boolean>` ::
1f554f76
DM
66
67Flag to disable the storage.
68
27a7acb2
DM
69`--domain` `<string>` ::
70
71CIFS domain.
72
739d4d64 73`--encryption-key` `a file containing an encryption key, or the special value "autogen"` ::
04d22a9f
TL
74
75Encryption key. Use 'autogen' to generate one automatically without passphrase.
76
2489d6df 77`--export` `<string>` ::
1f554f76
DM
78
79NFS export path.
80
c5aa7e14
TL
81`--fingerprint` `([A-Fa-f0-9]{2}:){31}[A-Fa-f0-9]{2}` ::
82
83Certificate SHA 256 fingerprint.
84
2489d6df 85`--format` `<string>` ::
1f554f76 86
04ce4dfa 87Default image format.
1f554f76 88
5370fa8c
TL
89`--fs-name` `<string>` ::
90
91The Ceph filesystem name.
92
5da3d723
TL
93`--fuse` `<boolean>` ::
94
95Mount CephFS through FUSE.
96
2489d6df 97`--is_mountpoint` `<string>` ('default =' `no`)::
2c0dde61 98
2489d6df 99Assume the given path is an externally managed mountpoint and consider the storage offline if it is not mounted. Using a boolean (yes/no) value serves as a shortcut to using the target path in this field.
2c0dde61 100
2489d6df 101`--iscsiprovider` `<string>` ::
1f554f76
DM
102
103iscsi provider
104
5370fa8c
TL
105`--keyring` `file containing the keyring to authenticate in the Ceph cluster` ::
106
107Client keyring contents (for external clusters).
108
2489d6df 109`--krbd` `<boolean>` ::
1f554f76 110
e2d681b3 111Always access rbd through krbd kernel module.
1f554f76 112
4d47f125
TL
113`--lio_tpg` `<string>` ::
114
115target portal group for Linux LIO targets
116
d2656385
TL
117`--master-pubkey` `a file containing a PEM-formatted master public key` ::
118
5f4e66fe 119Base64-encoded, PEM-formatted public RSA key. Used to encrypt a copy of the encryption-key which will be added to each encrypted backup.
d2656385 120
7af2edf9
TL
121`--max-protected-backups` `<integer> (-1 - N)` ('default =' `Unlimited for users with Datastore.Allocate privilege, 5 for other users`)::
122
123Maximal number of protected backups per guest. Use '-1' for unlimited.
124
2489d6df 125`--maxfiles` `<integer> (0 - N)` ::
1f554f76 126
5f4e66fe 127Deprecated: use 'prune-backups' instead. Maximal number of backup files per VM. Use '0' for unlimited.
1f554f76 128
2489d6df 129`--mkdir` `<boolean>` ('default =' `yes`)::
2c0dde61 130
4a407cfd 131Create the directory if it doesn't exist and populate it with default sub-dirs. NOTE: Deprecated, use the 'create-base-path' and 'create-subdirs' options instead.
2c0dde61 132
2489d6df 133`--monhost` `<string>` ::
1f554f76 134
2489d6df 135IP addresses of monitors (for external clusters).
1f554f76 136
5c1699e5
TL
137`--mountpoint` `<string>` ::
138
139mount point
140
d2656385
TL
141`--namespace` `<string>` ::
142
de786b48 143Namespace.
d2656385 144
5f4e66fe
TL
145`--nocow` `<boolean>` ('default =' `0`)::
146
147Set the NOCOW flag on files. Disables data checksumming and causes data errors to be unrecoverable from while allowing direct I/O. Only use this if data does not need to be any more safe than on a single ext4 formatted disk with no underlying raid system.
148
2489d6df 149`--nodes` `<string>` ::
1f554f76
DM
150
151List of cluster node names.
152
2489d6df 153`--nowritecache` `<boolean>` ::
1f554f76
DM
154
155disable write caching on the target
156
2489d6df 157`--options` `<string>` ::
1f554f76 158
159464a9 159NFS/CIFS mount options (see 'man nfs' or 'man mount.cifs')
1f554f76 160
5da3d723 161`--password` `<password>` ::
27a7acb2 162
04d22a9f 163Password for accessing the share/datastore.
27a7acb2 164
2489d6df 165`--path` `<string>` ::
1f554f76
DM
166
167File system path.
168
2489d6df 169`--pool` `<string>` ::
1f554f76
DM
170
171Pool.
172
4772952b
TL
173`--port` `<integer> (1 - 65535)` ('default =' `8007`)::
174
175For non default port.
176
2489d6df 177`--portal` `<string>` ::
1f554f76
DM
178
179iSCSI portal (IP or DNS name with optional port).
180
5370fa8c
TL
181`--preallocation` `<falloc | full | metadata | off>` ('default =' `metadata`)::
182
183Preallocation mode for raw and qcow2 images. Using 'metadata' on raw images results in preallocation=off.
184
4772952b 185`--prune-backups` `[keep-all=<1|0>] [,keep-daily=<N>] [,keep-hourly=<N>] [,keep-last=<N>] [,keep-monthly=<N>] [,keep-weekly=<N>] [,keep-yearly=<N>]` ::
739d4d64
TL
186
187The retention options with shorter intervals are processed first with --keep-last being the very first one. Each option covers a specific period of time. We say that backups within this period are covered by this option. The next option does not take care of already covered backups and only considers older backups.
188
2489d6df 189`--saferemove` `<boolean>` ::
1f554f76
DM
190
191Zero-out data when removing LVs.
192
2489d6df 193`--saferemove_throughput` `<string>` ::
1f554f76
DM
194
195Wipe throughput (cstream -t parameter value).
196
2489d6df 197`--server` `<string>` ::
1f554f76
DM
198
199Server IP or DNS name.
200
2489d6df 201`--server2` `<string>` ::
1f554f76
DM
202
203Backup volfile server IP or DNS name.
204+
205NOTE: Requires option(s): `server`
206
27a7acb2
DM
207`--share` `<string>` ::
208
209CIFS share.
210
2489d6df 211`--shared` `<boolean>` ::
1f554f76
DM
212
213Mark storage as shared.
214
5370fa8c 215`--smbversion` `<2.0 | 2.1 | 3 | 3.0 | 3.11 | default>` ('default =' `default`)::
27a7acb2 216
5370fa8c 217SMB protocol version. 'default' if not set, negotiates the highest SMB2+ version supported by both the client and server.
27a7acb2 218
2489d6df 219`--sparse` `<boolean>` ::
1f554f76
DM
220
221use sparse volumes
222
5da3d723
TL
223`--subdir` `<string>` ::
224
225Subdir to mount.
226
2489d6df 227`--tagged_only` `<boolean>` ::
2c0dde61
DM
228
229Only use logical volumes tagged with 'pve-vm-ID'.
230
2489d6df 231`--target` `<string>` ::
1f554f76
DM
232
233iSCSI target.
234
2489d6df 235`--thinpool` `<string>` ::
1f554f76
DM
236
237LVM thin pool LV name.
238
2489d6df 239`--transport` `<rdma | tcp | unix>` ::
1f554f76
DM
240
241Gluster transport: tcp or rdma
242
2489d6df 243`--username` `<string>` ::
1f554f76
DM
244
245RBD Id.
246
2489d6df 247`--vgname` `<string>` ::
1f554f76
DM
248
249Volume group name.
250
2489d6df 251`--volume` `<string>` ::
1f554f76
DM
252
253Glusterfs Volume.
254
1f554f76
DM
255*pvesm alloc* `<storage> <vmid> <filename> <size>` `[OPTIONS]`
256
257Allocate disk images.
258
013dc89f 259`<storage>`: `<string>` ::
1f554f76
DM
260
261The storage identifier.
262
8dd66e12 263`<vmid>`: `<integer> (100 - 999999999)` ::
1f554f76
DM
264
265Specify owner VM
266
013dc89f 267`<filename>`: `<string>` ::
1f554f76
DM
268
269The name of the file to create.
270
013dc89f 271`<size>`: `\d+[MG]?` ::
1f554f76 272
c2993fe5 273Size in kilobyte (1024 bytes). Optional suffixes 'M' (megabyte, 1024K) and 'G' (gigabyte, 1024M)
1f554f76 274
2489d6df 275`--format` `<qcow2 | raw | subvol>` ::
1f554f76
DM
276
277no description available
278+
279NOTE: Requires option(s): `size`
280
c5aa7e14
TL
281*pvesm apiinfo*
282
283Returns APIVER and APIAGE.
284
e2d681b3 285*pvesm cifsscan*
27a7acb2 286
e2d681b3 287An alias for 'pvesm scan cifs'.
27a7acb2 288
5d9c884c
DM
289*pvesm export* `<volume> <format> <filename>` `[OPTIONS]`
290
04d22a9f 291Used internally to export a volume.
5d9c884c
DM
292
293`<volume>`: `<string>` ::
294
295Volume identifier
296
5f4e66fe 297`<format>`: `<btrfs | qcow2+size | raw+size | tar+size | vmdk+size | zfs>` ::
5d9c884c
DM
298
299Export stream format
300
301`<filename>`: `<string>` ::
302
303Destination file name
304
d2656385 305`--base` `(?^i:[a-z0-9_\-]{1,40})` ::
5d9c884c
DM
306
307Snapshot to start an incremental stream from
308
d2656385 309`--snapshot` `(?^i:[a-z0-9_\-]{1,40})` ::
5d9c884c
DM
310
311Snapshot to export
312
5f4e66fe
TL
313`--snapshot-list` `<string>` ::
314
315Ordered list of snapshots to transfer
316
2489d6df 317`--with-snapshots` `<boolean>` ('default =' `0`)::
5d9c884c
DM
318
319Whether to include intermediate snapshots in the stream
320
2c0dde61
DM
321*pvesm extractconfig* `<volume>`
322
323Extract configuration from vzdump backup archive.
324
013dc89f 325`<volume>`: `<string>` ::
2c0dde61
DM
326
327Volume identifier
328
1f554f76
DM
329*pvesm free* `<volume>` `[OPTIONS]`
330
331Delete volume
332
013dc89f 333`<volume>`: `<string>` ::
1f554f76
DM
334
335Volume identifier
336
1c532546
TL
337`--delay` `<integer> (1 - 30)` ::
338
339Time to wait for the task to finish. We return 'null' if the task finish within that time.
340
2489d6df 341`--storage` `<string>` ::
1f554f76
DM
342
343The storage identifier.
344
e2d681b3 345*pvesm glusterfsscan*
1f554f76 346
e2d681b3 347An alias for 'pvesm scan glusterfs'.
1f554f76 348
35a75dd3 349*pvesm help* `[OPTIONS]`
1f554f76
DM
350
351Get help about specified command.
352
35a75dd3 353`--extra-args` `<array>` ::
1f554f76 354
35a75dd3 355Shows help for a specific command
1f554f76 356
2489d6df 357`--verbose` `<boolean>` ::
1f554f76
DM
358
359Verbose output format.
360
5d9c884c
DM
361*pvesm import* `<volume> <format> <filename>` `[OPTIONS]`
362
04d22a9f 363Used internally to import a volume.
5d9c884c
DM
364
365`<volume>`: `<string>` ::
366
367Volume identifier
368
5f4e66fe 369`<format>`: `<btrfs | qcow2+size | raw+size | tar+size | vmdk+size | zfs>` ::
5d9c884c
DM
370
371Import stream format
372
373`<filename>`: `<string>` ::
374
d2656385 375Source file name. For '-' stdin is used, the tcp://<IP-or-CIDR> format allows to use a TCP connection, the unix://PATH-TO-SOCKET format a UNIX socket as input.Else, the file is treated as common file.
5d9c884c 376
c5aa7e14
TL
377`--allow-rename` `<boolean>` ('default =' `0`)::
378
379Choose a new volume ID if the requested volume ID already exists, instead of throwing an error.
380
d2656385 381`--base` `(?^i:[a-z0-9_\-]{1,40})` ::
5d9c884c
DM
382
383Base snapshot of an incremental stream
384
d2656385 385`--delete-snapshot` `(?^i:[a-z0-9_\-]{1,80})` ::
5d9c884c
DM
386
387A snapshot to delete on success
388
5f4e66fe
TL
389`--snapshot` `(?^i:[a-z0-9_\-]{1,40})` ::
390
391The current-state snapshot if the stream contains snapshots
392
2489d6df 393`--with-snapshots` `<boolean>` ('default =' `0`)::
5d9c884c
DM
394
395Whether the stream includes intermediate snapshots
396
e2d681b3 397*pvesm iscsiscan*
1f554f76 398
e2d681b3 399An alias for 'pvesm scan iscsi'.
1f554f76 400
1f554f76
DM
401*pvesm list* `<storage>` `[OPTIONS]`
402
403List storage content.
404
013dc89f 405`<storage>`: `<string>` ::
1f554f76
DM
406
407The storage identifier.
408
2489d6df 409`--content` `<string>` ::
1f554f76
DM
410
411Only list content of this type.
412
8dd66e12 413`--vmid` `<integer> (100 - 999999999)` ::
1f554f76
DM
414
415Only list images for this VM
416
1f554f76
DM
417*pvesm lvmscan*
418
e2d681b3 419An alias for 'pvesm scan lvm'.
9b3e4991 420
e2d681b3 421*pvesm lvmthinscan*
9b3e4991 422
e2d681b3 423An alias for 'pvesm scan lvmthin'.
9b3e4991 424
e2d681b3 425*pvesm nfsscan*
1f554f76 426
e2d681b3 427An alias for 'pvesm scan nfs'.
1f554f76 428
1f554f76
DM
429*pvesm path* `<volume>`
430
431Get filesystem path for specified volume
432
013dc89f 433`<volume>`: `<string>` ::
1f554f76
DM
434
435Volume identifier
436
739d4d64
TL
437*pvesm prune-backups* `<storage>` `[OPTIONS]`
438
4772952b
TL
439Prune backups. Only those using the standard naming scheme are considered.
440If no keep options are specified, those from the storage configuration are
441used.
739d4d64
TL
442
443`<storage>`: `<string>` ::
444
445The storage identifier.
446
447`--dry-run` `<boolean>` ::
448
449Only show what would be pruned, don't delete anything.
450
4772952b
TL
451`--keep-all` `<boolean>` ::
452
453Keep all backups. Conflicts with the other options when true.
454
455`--keep-daily` `<N>` ::
456
457Keep backups for the last <N> different days. If there is morethan one backup for a single day, only the latest one is kept.
458
459`--keep-hourly` `<N>` ::
460
461Keep backups for the last <N> different hours. If there is morethan one backup for a single hour, only the latest one is kept.
462
463`--keep-last` `<N>` ::
739d4d64 464
4772952b
TL
465Keep the last <N> backups.
466
467`--keep-monthly` `<N>` ::
468
469Keep backups for the last <N> different months. If there is morethan one backup for a single month, only the latest one is kept.
470
471`--keep-weekly` `<N>` ::
472
473Keep backups for the last <N> different weeks. If there is morethan one backup for a single week, only the latest one is kept.
474
475`--keep-yearly` `<N>` ::
476
477Keep backups for the last <N> different years. If there is morethan one backup for a single year, only the latest one is kept.
739d4d64
TL
478
479`--type` `<lxc | qemu>` ::
480
481Either 'qemu' or 'lxc'. Only consider backups for guests of this type.
482
8dd66e12 483`--vmid` `<integer> (100 - 999999999)` ::
739d4d64
TL
484
485Only consider backups for this guest.
486
1f554f76
DM
487*pvesm remove* `<storage>`
488
489Delete storage configuration.
490
013dc89f 491`<storage>`: `<string>` ::
1f554f76
DM
492
493The storage identifier.
494
e2d681b3
TL
495*pvesm scan cifs* `<server>` `[OPTIONS]`
496
497Scan remote CIFS server.
498
499`<server>`: `<string>` ::
500
501The server address (name or IP).
502
503`--domain` `<string>` ::
504
505SMB domain (Workgroup).
506
507`--password` `<password>` ::
508
509User password.
510
511`--username` `<string>` ::
512
513User name.
514
515*pvesm scan glusterfs* `<server>`
516
517Scan remote GlusterFS server.
518
519`<server>`: `<string>` ::
520
521The server address (name or IP).
522
523*pvesm scan iscsi* `<portal>`
524
525Scan remote iSCSI server.
526
527`<portal>`: `<string>` ::
528
529The iSCSI portal (IP or DNS name with optional port).
530
531*pvesm scan lvm*
532
533List local LVM volume groups.
534
535*pvesm scan lvmthin* `<vg>`
536
537List local LVM Thin Pools.
538
539`<vg>`: `[a-zA-Z0-9\.\+\_][a-zA-Z0-9\.\+\_\-]+` ::
540
541no description available
542
543*pvesm scan nfs* `<server>`
544
545Scan remote NFS server.
546
547`<server>`: `<string>` ::
548
549The server address (name or IP).
550
d2656385
TL
551*pvesm scan pbs* `<server> <username> --password <string>` `[OPTIONS]` `[FORMAT_OPTIONS]`
552
553Scan remote Proxmox Backup Server.
554
555`<server>`: `<string>` ::
556
557The server address (name or IP).
558
559`<username>`: `<string>` ::
560
561User-name or API token-ID.
562
563`--fingerprint` `([A-Fa-f0-9]{2}:){31}[A-Fa-f0-9]{2}` ::
564
565Certificate SHA 256 fingerprint.
566
567`--password` `<string>` ::
568
569User password or API token secret.
570
571`--port` `<integer> (1 - 65535)` ('default =' `8007`)::
572
573Optional port.
574
e2d681b3
TL
575*pvesm scan zfs*
576
577Scan zfs pool list on local node.
578
1f554f76
DM
579*pvesm set* `<storage>` `[OPTIONS]`
580
581Update storage configuration.
582
013dc89f 583`<storage>`: `<string>` ::
1f554f76
DM
584
585The storage identifier.
586
2489d6df 587`--blocksize` `<string>` ::
1f554f76
DM
588
589block size
590
27a7acb2
DM
591`--bwlimit` `[clone=<LIMIT>] [,default=<LIMIT>] [,migration=<LIMIT>] [,move=<LIMIT>] [,restore=<LIMIT>]` ::
592
4a407cfd 593Set I/O bandwidth limit for various operations (in KiB/s).
27a7acb2 594
2489d6df 595`--comstar_hg` `<string>` ::
1f554f76
DM
596
597host group for comstar views
598
2489d6df 599`--comstar_tg` `<string>` ::
1f554f76
DM
600
601target group for comstar views
602
2489d6df 603`--content` `<string>` ::
1f554f76 604
04ce4dfa
DM
605Allowed content types.
606+
c2993fe5 607NOTE: the value 'rootdir' is used for Containers, and value 'images' for VMs.
1f554f76 608
9d2e98ed
TL
609`--content-dirs` `<string>` ::
610
611Overrides for default content type directories.
612
4a407cfd
TL
613`--create-base-path` `<boolean>` ('default =' `yes`)::
614
615Create the base directory if it doesn't exist.
616
617`--create-subdirs` `<boolean>` ('default =' `yes`)::
618
619Populate the directory with the default structure.
620
c30bb419
TL
621`--data-pool` `<string>` ::
622
623Data Pool (for erasure coding only)
624
2489d6df 625`--delete` `<string>` ::
1f554f76
DM
626
627A list of settings you want to delete.
628
2489d6df 629`--digest` `<string>` ::
1f554f76 630
c2993fe5 631Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.
1f554f76 632
2489d6df 633`--disable` `<boolean>` ::
1f554f76
DM
634
635Flag to disable the storage.
636
27a7acb2
DM
637`--domain` `<string>` ::
638
639CIFS domain.
640
739d4d64 641`--encryption-key` `a file containing an encryption key, or the special value "autogen"` ::
04d22a9f
TL
642
643Encryption key. Use 'autogen' to generate one automatically without passphrase.
644
c5aa7e14
TL
645`--fingerprint` `([A-Fa-f0-9]{2}:){31}[A-Fa-f0-9]{2}` ::
646
647Certificate SHA 256 fingerprint.
648
2489d6df 649`--format` `<string>` ::
1f554f76 650
04ce4dfa 651Default image format.
1f554f76 652
5370fa8c
TL
653`--fs-name` `<string>` ::
654
655The Ceph filesystem name.
656
5da3d723
TL
657`--fuse` `<boolean>` ::
658
659Mount CephFS through FUSE.
660
2489d6df 661`--is_mountpoint` `<string>` ('default =' `no`)::
2c0dde61 662
2489d6df 663Assume the given path is an externally managed mountpoint and consider the storage offline if it is not mounted. Using a boolean (yes/no) value serves as a shortcut to using the target path in this field.
2c0dde61 664
5370fa8c
TL
665`--keyring` `file containing the keyring to authenticate in the Ceph cluster` ::
666
667Client keyring contents (for external clusters).
668
2489d6df 669`--krbd` `<boolean>` ::
1f554f76 670
e2d681b3 671Always access rbd through krbd kernel module.
1f554f76 672
4d47f125
TL
673`--lio_tpg` `<string>` ::
674
675target portal group for Linux LIO targets
676
d2656385
TL
677`--master-pubkey` `a file containing a PEM-formatted master public key` ::
678
5f4e66fe 679Base64-encoded, PEM-formatted public RSA key. Used to encrypt a copy of the encryption-key which will be added to each encrypted backup.
d2656385 680
7af2edf9
TL
681`--max-protected-backups` `<integer> (-1 - N)` ('default =' `Unlimited for users with Datastore.Allocate privilege, 5 for other users`)::
682
683Maximal number of protected backups per guest. Use '-1' for unlimited.
684
2489d6df 685`--maxfiles` `<integer> (0 - N)` ::
1f554f76 686
5f4e66fe 687Deprecated: use 'prune-backups' instead. Maximal number of backup files per VM. Use '0' for unlimited.
1f554f76 688
2489d6df 689`--mkdir` `<boolean>` ('default =' `yes`)::
2c0dde61 690
4a407cfd 691Create the directory if it doesn't exist and populate it with default sub-dirs. NOTE: Deprecated, use the 'create-base-path' and 'create-subdirs' options instead.
2c0dde61 692
2489d6df
WB
693`--monhost` `<string>` ::
694
695IP addresses of monitors (for external clusters).
696
5c1699e5
TL
697`--mountpoint` `<string>` ::
698
699mount point
700
d2656385
TL
701`--namespace` `<string>` ::
702
de786b48 703Namespace.
d2656385 704
5f4e66fe
TL
705`--nocow` `<boolean>` ('default =' `0`)::
706
707Set the NOCOW flag on files. Disables data checksumming and causes data errors to be unrecoverable from while allowing direct I/O. Only use this if data does not need to be any more safe than on a single ext4 formatted disk with no underlying raid system.
708
2489d6df 709`--nodes` `<string>` ::
1f554f76
DM
710
711List of cluster node names.
712
2489d6df 713`--nowritecache` `<boolean>` ::
1f554f76
DM
714
715disable write caching on the target
716
2489d6df 717`--options` `<string>` ::
1f554f76 718
159464a9 719NFS/CIFS mount options (see 'man nfs' or 'man mount.cifs')
1f554f76 720
04d22a9f 721`--password` `<password>` ::
27a7acb2 722
04d22a9f 723Password for accessing the share/datastore.
27a7acb2 724
2489d6df 725`--pool` `<string>` ::
1f554f76
DM
726
727Pool.
728
4772952b
TL
729`--port` `<integer> (1 - 65535)` ('default =' `8007`)::
730
731For non default port.
732
5370fa8c
TL
733`--preallocation` `<falloc | full | metadata | off>` ('default =' `metadata`)::
734
735Preallocation mode for raw and qcow2 images. Using 'metadata' on raw images results in preallocation=off.
736
4772952b 737`--prune-backups` `[keep-all=<1|0>] [,keep-daily=<N>] [,keep-hourly=<N>] [,keep-last=<N>] [,keep-monthly=<N>] [,keep-weekly=<N>] [,keep-yearly=<N>]` ::
739d4d64
TL
738
739The retention options with shorter intervals are processed first with --keep-last being the very first one. Each option covers a specific period of time. We say that backups within this period are covered by this option. The next option does not take care of already covered backups and only considers older backups.
740
2489d6df 741`--saferemove` `<boolean>` ::
1f554f76
DM
742
743Zero-out data when removing LVs.
744
2489d6df 745`--saferemove_throughput` `<string>` ::
1f554f76
DM
746
747Wipe throughput (cstream -t parameter value).
748
2489d6df 749`--server` `<string>` ::
1f554f76
DM
750
751Server IP or DNS name.
752
2489d6df 753`--server2` `<string>` ::
1f554f76
DM
754
755Backup volfile server IP or DNS name.
756+
757NOTE: Requires option(s): `server`
758
2489d6df 759`--shared` `<boolean>` ::
1f554f76
DM
760
761Mark storage as shared.
762
5370fa8c 763`--smbversion` `<2.0 | 2.1 | 3 | 3.0 | 3.11 | default>` ('default =' `default`)::
27a7acb2 764
5370fa8c 765SMB protocol version. 'default' if not set, negotiates the highest SMB2+ version supported by both the client and server.
27a7acb2 766
2489d6df 767`--sparse` `<boolean>` ::
1f554f76
DM
768
769use sparse volumes
770
5da3d723
TL
771`--subdir` `<string>` ::
772
773Subdir to mount.
774
2489d6df 775`--tagged_only` `<boolean>` ::
2c0dde61
DM
776
777Only use logical volumes tagged with 'pve-vm-ID'.
778
2489d6df 779`--transport` `<rdma | tcp | unix>` ::
1f554f76
DM
780
781Gluster transport: tcp or rdma
782
2489d6df 783`--username` `<string>` ::
1f554f76
DM
784
785RBD Id.
786
1f554f76
DM
787*pvesm status* `[OPTIONS]`
788
789Get status for all datastores.
790
2489d6df 791`--content` `<string>` ::
1f554f76
DM
792
793Only list stores which support this content type.
794
2489d6df 795`--enabled` `<boolean>` ('default =' `0`)::
1f554f76
DM
796
797Only list stores which are enabled (not disabled in config).
798
35a75dd3
DM
799`--format` `<boolean>` ('default =' `0`)::
800
801Include information about formats
802
2489d6df 803`--storage` `<string>` ::
1f554f76
DM
804
805Only list status for specified storage
806
2489d6df 807`--target` `<string>` ::
1f554f76 808
c2993fe5 809If target is different to 'node', we only lists shared storages which content is accessible on this 'node' and the specified 'target' node.
1f554f76 810
1f554f76
DM
811*pvesm zfsscan*
812
e2d681b3 813An alias for 'pvesm scan zfs'.
1f554f76
DM
814
815