Dietmar Maurer
|
23f74c190e
|
src/backup/backup_info.rs: impl Display for BackupGroup
|
2020-06-24 13:35:21 +02:00 |
Dietmar Maurer
|
d6d3b353be
|
cleanup: implement FromStr for BackupGroup
|
2020-06-23 08:16:56 +02:00 |
Dietmar Maurer
|
a67f7d0a07
|
cleanup: implement FromStr for BackupDir
|
2020-06-23 08:09:52 +02:00 |
Dominik Csapak
|
abdb976340
|
add Display trait to BackupDir
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
|
2020-06-19 08:28:35 +02:00 |
Wolfgang Bumiller
|
f7d4e4b506
|
switch from failure to anyhow
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
|
2020-04-17 18:43:30 +02:00 |
Dietmar Maurer
|
8ce49a76da
|
src/backup/backup_info.rs: fix SNAPSHOT_PATH_REGEX and GROUP_PATH_REGEX
|
2020-02-18 13:16:35 +01:00 |
Dietmar Maurer
|
11d89239c3
|
src/backup/backup_info.rs: new list_groups helper
|
2020-01-17 10:42:03 +01:00 |
Dietmar Maurer
|
8f14e8fe4c
|
src/backup/backup_info.rs: implement last_successful_backup()
A backup is considered successful if there is a manifest file.
|
2020-01-06 11:35:22 +01:00 |
Dietmar Maurer
|
92acbd69f7
|
src/backup/backup_info.rs: remove old prune code
|
2019-12-06 08:29:27 +01:00 |
Dietmar Maurer
|
6f47dd8a0f
|
src/backup/backup_info.rs - prune: improve algorythm
|
2019-12-05 18:41:28 +01:00 |
Dietmar Maurer
|
8f0b4c1f90
|
src/api2/admin/datastore.rs - prune: log info about all snapshots
|
2019-12-05 15:35:11 +01:00 |
Dietmar Maurer
|
9ce42759ec
|
src/backup/backup_info.rs - compute_prune_list: remove unfinished backups
|
2019-12-05 11:18:10 +01:00 |
Dietmar Maurer
|
2c034f8d0a
|
src/backup/backup_info.rs: improve prune algorithm
|
2019-12-05 08:55:19 +01:00 |
Dietmar Maurer
|
aeeac29bb1
|
src/backup/backup_info.rs: new compute_prune_list helper
So that we can write regression tests for this.
|
2019-12-04 15:49:11 +01:00 |
Dietmar Maurer
|
38a6cddad7
|
src/backup/backup_info.rs: add BackupInfo::new constructor
|
2019-08-07 08:27:52 +02:00 |
Dietmar Maurer
|
fa5d6977dd
|
Revert previous, commit, use UTC RFC3339 without timezone (Z)
We now have human readable data/time, and names are still sortable.
|
2019-07-22 11:49:30 +02:00 |
Dietmar Maurer
|
10c2a21cfe
|
src/backup/backup_info.rs: use unix epoch timestamps instead of RFC3339
RFC3339 contains additional timezone information, but IMHO this just adds
more confusion. The API also uses timestamps.
|
2019-07-22 07:57:03 +02:00 |
Dietmar Maurer
|
c6d203bbd3
|
src/backup/backup_info.rs: also list .blob files
|
2019-06-25 07:07:45 +02:00 |
Dietmar Maurer
|
51a4f63ff7
|
src/backup/datastore.rs: move last_backup to BackupInfo
|
2019-05-11 12:07:09 +02:00 |
Dietmar Maurer
|
b02a52e3a5
|
src/backup/datastore.rs: impl last_backup helper
|
2019-05-11 11:36:46 +02:00 |
Dietmar Maurer
|
c09775011a
|
src/backup/backup_info.rs: implement list_backup for BackupGroup, cleanups
|
2019-05-11 10:19:34 +02:00 |
Dietmar Maurer
|
35a2d8a6a6
|
src/backup/backup_info.rs: Derive Clone
|
2019-05-10 06:59:23 +02:00 |
Dietmar Maurer
|
58e99e138e
|
src/backup/backup_info.rs: new helper to list files
|
2019-03-06 11:02:08 +01:00 |
Wolfgang Bumiller
|
391d310741
|
backup_info: BackupDir shortcut
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
|
2019-03-05 10:15:06 +01:00 |
Wolfgang Bumiller
|
93b49ce38a
|
backup_info: use two independent Into<String> types
there's no reason to force them to be the same input type
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
|
2019-03-05 09:13:08 +01:00 |
Dietmar Maurer
|
d57474e055
|
src/backup/backup_info.rs: improve docs
|
2019-03-05 07:28:13 +01:00 |
Dietmar Maurer
|
b3483782d1
|
src/backup/backup_info.rs: move code into separate file
Also changed create_backup_dir() parameters - uses &BackupDir now.
|
2019-03-05 07:18:12 +01:00 |