Add extra options to rclone

For details see https://github.com/restic/restic/pull/1657#issuecomment-377707486
This commit is contained in:
Alexander Neumann
2018-04-01 10:34:30 +02:00
parent 86f4b03730
commit 3f48e0e0f4
3 changed files with 11 additions and 5 deletions

View File

@@ -108,7 +108,9 @@ func New(cfg Config) (*Backend, error) {
args = append(args, a...)
} else {
args = append(args, "serve", "restic", "--stdio")
args = append(args,
"serve", "restic", "--stdio",
"--b2-hard-delete", "--drive-use-trash=false")
}
// finally, add the remote