2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-22 21:05:10 +00:00

Merge pull request #3103 from greatroar/rephrase-pr3102

Rephrase #3095/#3102 changelog entry
This commit is contained in:
rawtaz 2020-11-17 12:52:12 +01:00 committed by GitHub
commit 342520b648
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,9 +1,17 @@
Change: Remove `--drive-use-trash=false` from default rclone params Change: Deleting files on Google Drive now moves them to the trash
By default restic used launched rclone with --drive-use-trash=false, When deleting files on Google Drive via an rclone backend, restic used
since google drive trash retention policy changed, it is no longer required. to bypass the trash folder and required using the `-o rclone.args`
Rclone will now use what's provided in by the `--drive-use-trash option to enable the trash folder. This ensured that deleted files in
parameter, `drive-use-trash` config or RCLONE_CONFIG_*_USE_TRASH env Google Drive were not kept indefinitely in the trash folder. Since
falling back to `true` as a default (as of: v1.53.2). Google Drive's trash retention policy changed to deleting trashed files
after 30 days, this is no longer needed.
Restic now leaves it up to rclone and its configuration to use or not
use the trash folder when deleting files. The default is to use the
trash folder, as of rclone 1.53.2. To re-enable the restic 0.11 behavior,
set the `RCLONE_DRIVE_USE_TRASH` environment variable or change the
rclone configuration. See the rclone documentation for details.
https://github.com/restic/restic/issues/3095 https://github.com/restic/restic/issues/3095
https://github.com/restic/restic/pull/3102