1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-23 00:07:25 +00:00

Rephrase #3095/#3102 changelog entry

This commit is contained in:
greatroar 2020-11-17 11:59:27 +01:00
parent 94a154c7ca
commit 028f2b8c0e

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,
since google drive trash retention policy changed, it is no longer required.
Rclone will now use what's provided in by the `--drive-use-trash
parameter, `drive-use-trash` config or RCLONE_CONFIG_*_USE_TRASH env
falling back to `true` as a default (as of: v1.53.2).
When deleting files on Google Drive via an rclone backend, restic used
to bypass the trash folder and required using the `-o rclone.args`
option to enable the trash folder. This ensured that deleted files in
Google Drive were not kept indefinitely in the trash folder. Since
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/pull/3102