diff --git a/cmd/restic/global.go b/cmd/restic/global.go index 7b917d5aa..54668d7af 100644 --- a/cmd/restic/global.go +++ b/cmd/restic/global.go @@ -742,7 +742,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)