]> git.proxmox.com Git - proxmox-backup.git/commitdiff
docs/administration-guide.rst: fix prune command output
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 5 May 2020 05:24:27 +0000 (07:24 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 5 May 2020 05:24:27 +0000 (07:24 +0200)
docs/administration-guide.rst

index 77fc80c6aa98ede2bf4b001a21c5259ce029d3aa..8f83bec2ef61067d6fa3d59f495594368d254db0 100644 (file)
@@ -777,11 +777,6 @@ The retention options are processed in the order given above. Each option
 only covers backups within its time period. The next option does not take care
 of already covered backups. It will only consider older backups.
 
-For example, the ``--keep-monthly`` option does not consider any backup that is
-younger than one month.
-
-.. todo:: check if the previous statement is correct
-
 Unfinished and incomplete backups will be removed by the prune command unless
 they are newer than the last successful backup. In this case, the last failed
 backup is retained.
@@ -797,14 +792,19 @@ shows the list of existing snapshots and which action prune would take.
 .. code-block:: console
 
   # proxmox-backup-client prune host/elsa --dry-run --keep-daily 1 --keep-weekly 3
-  retention options: --keep-daily 1 --keep-weekly 3
-  Testing prune on store "store2" group "host/elsa"
-  host/elsa/2019-12-04T13:20:37Z keep
-  host/elsa/2019-12-03T09:35:01Z remove
-  host/elsa/2019-11-22T11:54:47Z keep
-  host/elsa/2019-11-21T12:36:25Z remove
-  host/elsa/2019-11-10T10:42:20Z keep
-
+  ┌────────────────────────────────┬──────┐
+  │ snapshot                       │ keep │
+  ╞════════════════════════════════╪══════╡
+  │ host/elsa/2019-12-04T13:20:37Z │    1 │
+  ├────────────────────────────────┼──────┤
+  │ host/elsa/2019-12-03T09:35:01Z │    0 │
+  ├────────────────────────────────┼──────┤
+  │ host/elsa/2019-11-22T11:54:47Z │    1 │
+  ├────────────────────────────────┼──────┤
+  │ host/elsa/2019-11-21T12:36:25Z │    0 │
+  ├────────────────────────────────┼──────┤
+  │ host/elsa/2019-11-10T10:42:20Z │    1 │
+  └────────────────────────────────┴──────┘
 
 .. note:: Neither the ``prune`` command nor the ``forget`` command free space
    in the chunk-store. The chunk-store still contains the data blocks. To free