Merge pull request #2932 from MichaelEischer/proper-rclone-create

Call rclone.Create to create a new repository for the rclone backend
This commit is contained in:
Alexander Neumann
2020-10-09 21:29:15 +02:00
committed by GitHub
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -770,7 +770,7 @@ func create(s string, opts options.Options) (restic.Backend, error) {
case "rest":
return rest.Create(cfg.(rest.Config), rt)
case "rclone":
return rclone.Open(cfg.(rclone.Config), nil)
return rclone.Create(cfg.(rclone.Config))
}
debug.Log("invalid repository scheme: %v", s)