Skip to content

Add a switch to choose between Scylla and Rclone API for backup/restore #4163

Open
@Michal-Leszczynski

Description

@Michal-Leszczynski

Should we allow user to decide whether backup/restore tasks should use Rclone or Scylla API?

Having a way of falling back to Rclone (without rolling back to previous SM release, which is not always possible) when some issues regarding Scylla API or its usage by SM are encountered makes sense.
It would also allow for easier testing of cross Rclone/Scylla backup/restore.

So I would say that we should add a switch to choose between those APIs, and that the Scylla API should be the default choice (when possible).

Such switch could be implemented as a new restore/backup flags or as a config field in scylla-manager.yaml file.

I would say that it's easier for the user and the testing if we decide to go with the new flags.
The only drawback is that we are adding more and more flags to those commands, which might make them more difficult to configure for the users. On the other hand, in an ideal scenario, we don't expect users to use this flag at all. But if that's a case, maybe it's enough to just put it in the scylla-manager.yaml file, where it can still be configured on the really rare occasions, when it's needed?

What do you think?
cc: @karol-kokoszka @VAveryanov8 @regevran

Metadata

Metadata

Labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions