Versions
Shows backup versions.
$ hb versions [-c backupdir] [-r version] or [-a]
With no options, displays versions still containing user files or arc files.
Example
This is an excerpt of versions -a
for the HashBackup development server backup:
$ hb versions -c /hbbackup -a
HashBackup #3271 Copyright 2009-2024 HashBackup, LLC
Backup directory: /hbbackup
Showing active versions
Version | Owner | Backup Start | Backup End | Time | Files | File Space | HB #
--------+--------+---------------------+---------------------+---------+--------+------------+-----
1831 | 0 root | 2016-07-03 02:00:07 | 2016-07-03 02:51:07 | 51m 0s | 18544 | 732 MB | 1538
2015 | 0 root | 2017-01-08 02:00:07 | 2017-01-08 02:45:42 | 45m 35s | 450038 | 24 GB | 1744
2016 | 0 root | 2017-01-09 02:00:07 | 2017-01-09 02:15:55 | 15m 48s | 13 | 96 KB | 1744
2018 | 0 root | 2017-01-11 02:00:08 | 2017-01-11 02:16:21 | 16m 13s | 11 | 277 bytes | 1744
2023 | 0 root | 2017-01-16 02:00:07 | 2017-01-16 02:18:32 | 18m 25s | 16 | 4.3 MB | 1744
Details
Version information is shown in several columns:
The first 5 columns, Version
, Owner
, Backup Start
,
Backup End
, and Time
are easy to understand.
The Files
column is the number of files saved in the version that
are still in the backup. Files are removed with the rm
or retain
commands, so this number changes over time.
File Space
is the sum
of the files sizes, as shown by a Unix ls
command, for files still
saved in the version.
HB #
is the version of the HB command used to create the backup.