2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-22 12:55:18 +00:00
restic/changelog/unreleased
Aneesh Agrawal 058dfc20da Avoid choosing parent snapshot newer than time of current snapshot
Currently, `restic backup` (if a `--parent` is not provided)
will choose the most recent matching snapshot as the parent snapshot.
This makes sense in the usual case,
where we tag the snapshot-being-created with the current time.

However, this doesn't make sense if the user has passed `--time`
and is currently creating a snapshot older than the latest snapshot.
Instead, choose the most recent snapshot
which is not newer than the snapshot-being-created's timestamp,
to avoid any time travel.

Impetus for this change:
I'm using restic for the first time!
I have a number of existing BTRFS snapshots
I am backing up via restic to serve as my initial set of backups.
I initially `restic backup`'d the most recent snapshot to test,
then started backing up each of the other snapshots.
I noticed in `restic cat snapshot <id>` output
that all the remaining snapshots have the most recent as the parent.
2022-01-23 23:55:00 -05:00
..
.gitignore Add gitignore to changelog/unreleased 2020-11-05 09:01:32 +01:00
issue-1542 Add use case to changelog 2021-08-04 21:19:29 +02:00
issue-2202 Add changelog for #3246 2021-09-07 21:18:11 +02:00
issue-2345 Save cached files to a temporary location first 2021-08-04 22:02:42 +02:00
issue-2388 s3: Add warning if key ID or secret is empty 2021-10-06 23:13:40 +01:00
issue-2656 Add --insecure-tls flag to disable SSL cert verification 2021-09-21 10:52:40 -04:00
issue-2738 Add changelog 2021-09-12 16:00:49 +02:00
issue-3382 add changelog issue-3382 2021-11-04 15:13:48 +01:00
issue-3464 [issue 3464] skip lock creation in case of dry-run 2022-01-23 06:44:41 +03:00
issue-3490 [#issue 3490] Support for specifying file size in read-data-subset 2021-11-02 15:25:46 +05:30
issue-3518 tweak copy --no-lock changelog 2021-12-27 18:22:25 +01:00
issue-3541 b2: Successful delete if file does not exist 2021-10-09 23:51:12 +02:00
issue-3542 Add file mode in symbolic notation to ls --json 2021-11-16 19:45:50 +02:00
issue-3556 Add PR link to changelog 2021-11-13 22:25:54 +01:00
issue-3601 fix: rclone receiving SIGINT prematurely on Windows causing restic hang forever 2021-12-28 13:14:46 +08:00
pull-2594 Reword changelog 2021-09-19 14:41:07 +02:00
pull-2880 Improve recover 2021-09-03 21:36:57 +02:00
pull-3429 Add changelog for #3429 2021-08-16 17:42:16 +02:00
pull-3436 Add changelog 2021-08-04 21:51:53 +02:00
pull-3488 Add changelog 2021-08-22 18:29:58 +02:00
pull-3508 Add changelog entry for PR #3508 2021-09-24 15:45:09 +02:00
pull-3514 rclone: add timeout option and documentation 2021-11-07 17:49:21 +01:00
pull-3519 Require Go 1.14 to build 2021-09-19 16:18:19 +02:00
pull-3591 prune: Handle --max-repack-size=0 as expected 2021-12-27 15:48:56 +01:00
pull-3593 Parallelize blob upload/download for restic copy 2021-12-29 18:59:09 +01:00
pull-3619 Avoid choosing parent snapshot newer than time of current snapshot 2022-01-23 23:55:00 -05:00