X-Git-Url: https://git.proxmox.com/?p=pve-docs.git;a=blobdiff_plain;f=pvesm.1-synopsis.adoc;h=d231c485c85aaf02ccafc8e67e49ce8a082276b7;hp=af25db29f3d456f2958c33acce78677fc32653ed;hb=4772952b604a1fd9bca16e70fbe6a1d3b2d7feca;hpb=9d999d1bf6a0202a9ab0ea2010a7f960fa5e6647 diff --git a/pvesm.1-synopsis.adoc b/pvesm.1-synopsis.adoc index af25db2..d231c48 100644 --- a/pvesm.1-synopsis.adoc +++ b/pvesm.1-synopsis.adoc @@ -44,7 +44,7 @@ NOTE: the value 'rootdir' is used for Containers, and value 'images' for VMs. `--datastore` `` :: -Proxmox backup server datastore name. +Proxmox Backup Server datastore name. `--disable` `` :: @@ -130,11 +130,15 @@ File system path. Pool. +`--port` ` (1 - 65535)` ('default =' `8007`):: + +For non default port. + `--portal` `` :: iSCSI portal (IP or DNS name with optional port). -`--prune-backups` `[keep-daily=] [,keep-hourly=] [,keep-last=] [,keep-monthly=] [,keep-weekly=] [,keep-yearly=]` :: +`--prune-backups` `[keep-all=<1|0>] [,keep-daily=] [,keep-hourly=] [,keep-last=] [,keep-monthly=] [,keep-weekly=] [,keep-yearly=]` :: The 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. @@ -384,7 +388,9 @@ Volume identifier *pvesm prune-backups* `` `[OPTIONS]` -Prune backups. This is only a wrapper for the proper API endpoints. +Prune backups. Only those using the standard naming scheme are considered. +If no keep options are specified, those from the storage configuration are +used. ``: `` :: @@ -394,9 +400,33 @@ The storage identifier. Only show what would be pruned, don't delete anything. -`--prune-backups` `[keep-daily=] [,keep-hourly=] [,keep-last=] [,keep-monthly=] [,keep-weekly=] [,keep-yearly=]` :: +`--keep-all` `` :: + +Keep all backups. Conflicts with the other options when true. + +`--keep-daily` `` :: + +Keep backups for the last different days. If there is morethan one backup for a single day, only the latest one is kept. + +`--keep-hourly` `` :: + +Keep backups for the last different hours. If there is morethan one backup for a single hour, only the latest one is kept. + +`--keep-last` `` :: -Use these retention options instead of those from the storage configuration. +Keep the last backups. + +`--keep-monthly` `` :: + +Keep backups for the last different months. If there is morethan one backup for a single month, only the latest one is kept. + +`--keep-weekly` `` :: + +Keep backups for the last different weeks. If there is morethan one backup for a single week, only the latest one is kept. + +`--keep-yearly` `` :: + +Keep backups for the last different years. If there is morethan one backup for a single year, only the latest one is kept. `--type` `` :: @@ -584,7 +614,11 @@ Password for accessing the share/datastore. Pool. -`--prune-backups` `[keep-daily=] [,keep-hourly=] [,keep-last=] [,keep-monthly=] [,keep-weekly=] [,keep-yearly=]` :: +`--port` ` (1 - 65535)` ('default =' `8007`):: + +For non default port. + +`--prune-backups` `[keep-all=<1|0>] [,keep-daily=] [,keep-hourly=] [,keep-last=] [,keep-monthly=] [,keep-weekly=] [,keep-yearly=]` :: The 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.