From 9dba01021ed688b84ed0bdcccc8a94d1815bae6f Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Thu, 5 Nov 2020 09:41:22 +0100 Subject: [PATCH] Prepare changelog for 0.11.0 --- changelog/0.11.0_2020-11-05/issue-1212 | 11 +++++++++++ changelog/0.11.0_2020-11-05/issue-1756 | 15 +++++++++++++++ changelog/0.11.0_2020-11-05/issue-2241 | 10 ++++++++++ changelog/0.11.0_2020-11-05/issue-2319 | 12 ++++++++++++ changelog/0.11.0_2020-11-05/issue-2491 | 9 +++++++++ changelog/0.11.0_2020-11-05/issue-2834 | 7 +++++++ changelog/0.11.0_2020-11-05/issue-2938 | 6 ++++++ changelog/0.11.0_2020-11-05/issue-2942 | 7 +++++++ changelog/0.11.0_2020-11-05/issue-2951 | 9 +++++++++ changelog/0.11.0_2020-11-05/issue-2969 | 9 +++++++++ changelog/0.11.0_2020-11-05/issue-2979 | 9 +++++++++ changelog/0.11.0_2020-11-05/issue-340 | 12 ++++++++++++ changelog/0.11.0_2020-11-05/pull-2849 | 7 +++++++ changelog/0.11.0_2020-11-05/pull-2910 | 10 ++++++++++ changelog/0.11.0_2020-11-05/pull-2978 | 8 ++++++++ 15 files changed, 141 insertions(+) create mode 100644 changelog/0.11.0_2020-11-05/issue-1212 create mode 100644 changelog/0.11.0_2020-11-05/issue-1756 create mode 100644 changelog/0.11.0_2020-11-05/issue-2241 create mode 100644 changelog/0.11.0_2020-11-05/issue-2319 create mode 100644 changelog/0.11.0_2020-11-05/issue-2491 create mode 100644 changelog/0.11.0_2020-11-05/issue-2834 create mode 100644 changelog/0.11.0_2020-11-05/issue-2938 create mode 100644 changelog/0.11.0_2020-11-05/issue-2942 create mode 100644 changelog/0.11.0_2020-11-05/issue-2951 create mode 100644 changelog/0.11.0_2020-11-05/issue-2969 create mode 100644 changelog/0.11.0_2020-11-05/issue-2979 create mode 100644 changelog/0.11.0_2020-11-05/issue-340 create mode 100644 changelog/0.11.0_2020-11-05/pull-2849 create mode 100644 changelog/0.11.0_2020-11-05/pull-2910 create mode 100644 changelog/0.11.0_2020-11-05/pull-2978 diff --git a/changelog/0.11.0_2020-11-05/issue-1212 b/changelog/0.11.0_2020-11-05/issue-1212 new file mode 100644 index 000000000..7a5a470d2 --- /dev/null +++ b/changelog/0.11.0_2020-11-05/issue-1212 @@ -0,0 +1,11 @@ +Bugfix: Restore timestamps and permissions on intermediate directories + +When using the `--include` option of the restore command, restic restored +timestamps and permissions only on directories selected by the include pattern. +Intermediate directories, which are necessary to restore files located in sub- +directories, were created with default permissions. We've fixed the restore +command to restore timestamps and permissions for these directories as well. + +https://github.com/restic/restic/issues/1212 +https://github.com/restic/restic/issues/1402 +https://github.com/restic/restic/pull/2906 diff --git a/changelog/0.11.0_2020-11-05/issue-1756 b/changelog/0.11.0_2020-11-05/issue-1756 new file mode 100644 index 000000000..f735cf1f9 --- /dev/null +++ b/changelog/0.11.0_2020-11-05/issue-1756 @@ -0,0 +1,15 @@ +Bugfix: Mark repository files as read-only when using the local backend + +Files stored in a local repository were marked as writeable on the +filesystem for non-Windows systems, which did not prevent accidental file +modifications outside of restic. In addition, the local backend did not work +with certain filesystems and network mounts which do not permit modifications +of file permissions. + +restic now marks files stored in a local repository as read-only on the +filesystem on non-Windows systems. The error handling is improved to support +more filesystems. + +https://github.com/restic/restic/issues/1756 +https://github.com/restic/restic/issues/2157 +https://github.com/restic/restic/pull/2989 diff --git a/changelog/0.11.0_2020-11-05/issue-2241 b/changelog/0.11.0_2020-11-05/issue-2241 new file mode 100644 index 000000000..23eb5cac5 --- /dev/null +++ b/changelog/0.11.0_2020-11-05/issue-2241 @@ -0,0 +1,10 @@ +Bugfix: Hide password in REST backend repository URLs + +When using a password in the REST backend repository URL, +the password could in some cases be included in the output +from restic, e.g. when initializing a repo or during an error. + +The password is now replaced with "***" where applicable. + +https://github.com/restic/restic/issues/2241 +https://github.com/restic/restic/pull/2658 diff --git a/changelog/0.11.0_2020-11-05/issue-2319 b/changelog/0.11.0_2020-11-05/issue-2319 new file mode 100644 index 000000000..90f42a302 --- /dev/null +++ b/changelog/0.11.0_2020-11-05/issue-2319 @@ -0,0 +1,12 @@ +Bugfix: Correctly dump directories into tar files + +The dump command previously wrote directories in a tar file in a way which +can cause compatibility problems. This caused, for example, 7zip on Windows +to not open tar files containing directories. In addition it was not possible +to dump directories with extended attributes. These compatibility problems +are now corrected. + +In addition, a tar file now includes the name of the owner and group of a file. + +https://github.com/restic/restic/issues/2319 +https://github.com/restic/restic/pull/3039 diff --git a/changelog/0.11.0_2020-11-05/issue-2491 b/changelog/0.11.0_2020-11-05/issue-2491 new file mode 100644 index 000000000..ed1dbdac6 --- /dev/null +++ b/changelog/0.11.0_2020-11-05/issue-2491 @@ -0,0 +1,9 @@ +Bugfix: Don't require `self-update --output` placeholder file + +`restic self-update --output /path/to/new-restic` used to require that +new-restic was an existing file, to be overwritten. Now it's possible +to download an updated restic binary to a new path, without first +having to create a placeholder file. + +https://github.com/restic/restic/issues/2491 +https://github.com/restic/restic/pull/2937 diff --git a/changelog/0.11.0_2020-11-05/issue-2834 b/changelog/0.11.0_2020-11-05/issue-2834 new file mode 100644 index 000000000..42d63cd31 --- /dev/null +++ b/changelog/0.11.0_2020-11-05/issue-2834 @@ -0,0 +1,7 @@ +Bugfix: Fix rare cases of backup command hanging forever + +We've fixed an issue with the backup progress reporting which could cause +restic to hang forever right before finishing a backup. + +https://github.com/restic/restic/issues/2834 +https://github.com/restic/restic/pull/2963 diff --git a/changelog/0.11.0_2020-11-05/issue-2938 b/changelog/0.11.0_2020-11-05/issue-2938 new file mode 100644 index 000000000..59e8682b3 --- /dev/null +++ b/changelog/0.11.0_2020-11-05/issue-2938 @@ -0,0 +1,6 @@ +Bugfix: Fix manpage formatting + +The manpage formatting in restic v0.10.0 was garbled, which is fixed now. + +https://github.com/restic/restic/issues/2938 +https://github.com/restic/restic/pull/2977 diff --git a/changelog/0.11.0_2020-11-05/issue-2942 b/changelog/0.11.0_2020-11-05/issue-2942 new file mode 100644 index 000000000..c79c1f226 --- /dev/null +++ b/changelog/0.11.0_2020-11-05/issue-2942 @@ -0,0 +1,7 @@ +Bugfix: Make --exclude-larger-than handle disappearing files + +There was a small bug in the backup command's --exclude-larger-than +option where files that disappeared between scanning and actually +backing them up to the repository caused a panic. This is now fixed. + +https://github.com/restic/restic/issues/2942 diff --git a/changelog/0.11.0_2020-11-05/issue-2951 b/changelog/0.11.0_2020-11-05/issue-2951 new file mode 100644 index 000000000..e7f2e4793 --- /dev/null +++ b/changelog/0.11.0_2020-11-05/issue-2951 @@ -0,0 +1,9 @@ +Bugfix: restic generate, help and self-update no longer check passwords + +The commands `restic cache`, `generate`, `help` and `self-update` don't need +passwords, but they previously did run the RESTIC_PASSWORD_COMMAND (if set in +the environment), prompting users to authenticate for no reason. They now skip +running the password command. + +https://github.com/restic/restic/issues/2951 +https://github.com/restic/restic/pull/2987 diff --git a/changelog/0.11.0_2020-11-05/issue-2969 b/changelog/0.11.0_2020-11-05/issue-2969 new file mode 100644 index 000000000..2bccc2ed1 --- /dev/null +++ b/changelog/0.11.0_2020-11-05/issue-2969 @@ -0,0 +1,9 @@ +Enhancement: Optimize check for unchanged files during backup + +During a backup restic skips processing files which have not changed since the last backup run. +Previously this required opening each file once which can be slow on network filesystems. The +backup command now checks for file changes before opening a file. This considerably reduces +the time to create a backup on network filesystems. + +https://github.com/restic/restic/issues/2969 +https://github.com/restic/restic/pull/2970 diff --git a/changelog/0.11.0_2020-11-05/issue-2979 b/changelog/0.11.0_2020-11-05/issue-2979 new file mode 100644 index 000000000..456e2901c --- /dev/null +++ b/changelog/0.11.0_2020-11-05/issue-2979 @@ -0,0 +1,9 @@ +Bugfix: Make snapshots --json output [] instead of null when no snapshots + +Restic previously output `null` instead of `[]` for the `--json snapshots` +command, when there were no snapshots in the repository. This caused some +minor problems when parsing the output, but is now fixed such that `[]` is +output when the list of snapshots is empty. + +https://github.com/restic/restic/issues/2979 +https://github.com/restic/restic/pull/2984 diff --git a/changelog/0.11.0_2020-11-05/issue-340 b/changelog/0.11.0_2020-11-05/issue-340 new file mode 100644 index 000000000..84c67f145 --- /dev/null +++ b/changelog/0.11.0_2020-11-05/issue-340 @@ -0,0 +1,12 @@ +Enhancement: Add support for Volume Shadow Copy Service (VSS) on Windows + +Volume Shadow Copy Service allows read access to files that are locked by +another process using an exclusive lock through a filesystem snapshot. Restic +was unable to backup those files before. This update enables backing up these +files. + +This needs to be enabled explicitely using the --use-fs-snapshot option of the +backup command. + +https://github.com/restic/restic/issues/340 +https://github.com/restic/restic/pull/2274 diff --git a/changelog/0.11.0_2020-11-05/pull-2849 b/changelog/0.11.0_2020-11-05/pull-2849 new file mode 100644 index 000000000..fde8d4112 --- /dev/null +++ b/changelog/0.11.0_2020-11-05/pull-2849 @@ -0,0 +1,7 @@ +Enhancement: Authenticate to Google Cloud Storage with access token + +When using the GCS backend, it is now possible to authenticate with OAuth2 +access tokens instead of a credentials file by setting the GOOGLE_ACCESS_TOKEN +environment variable. + +https://github.com/restic/restic/pull/2849 diff --git a/changelog/0.11.0_2020-11-05/pull-2910 b/changelog/0.11.0_2020-11-05/pull-2910 new file mode 100644 index 000000000..0a760e47b --- /dev/null +++ b/changelog/0.11.0_2020-11-05/pull-2910 @@ -0,0 +1,10 @@ +Enhancement: New option --repository-file + +We've added a new command-line option --repository-file as an alternative +to -r. This allows to read the repository URL from a file in order to +prevent certain types of information leaks, especially for URLs containing +credentials. + +https://github.com/restic/restic/issues/1458 +https://github.com/restic/restic/issues/2900 +https://github.com/restic/restic/pull/2910 diff --git a/changelog/0.11.0_2020-11-05/pull-2978 b/changelog/0.11.0_2020-11-05/pull-2978 new file mode 100644 index 000000000..78b0a5e10 --- /dev/null +++ b/changelog/0.11.0_2020-11-05/pull-2978 @@ -0,0 +1,8 @@ +Enhancement: Warn if parent snapshot cannot be loaded during backup + +During a backup restic uses the parent snapshot to check whether a file was +changed and has to be backed up again. For this check the backup has to read +the directories contained in the old snapshot. If a tree blob cannot be +loaded, restic now warns about this problem with the backup repository. + +https://github.com/restic/restic/pull/2978