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