Open dsully opened 1 year ago
Judging from your rclone config, the repository should look like rclone:remote:
.
You can always try if rclone is able to access the storage and then prefix the access path with rclone:
.
For a future reader, this is what worked for me finally:
$XDG_CONFIG_HOME/rustic/rustic.toml
:
[repository]
repository = "rclone:remote:<my-bucket-name>"
$XDG_CONFIG_HOME/rclone/rclone.conf
:
[remote]
type = "b2"
account = "<account-id>"
key = "<account-key>"
hard_delete = true
If/until there is a native B2 backend for Rustic.
@aawsome Not sure if this should go into a user guide, or the Wiki (which looks to be disabled).
Hi - I'm currently using
restic
and wanted to tryrustic
as an alternative. However, I'm having trouble backing up directly to B2.Here's the repository section of
rustic.toml
:And my
rclone.conf
:If I run
rustic backup
:I've tried various permutations of the repository name, with a
:
appended or removingb2
:My existing
restic
config can backup directly to B2 without needingrclone
at all.The example here with OVH: https://github.com/rustic-rs/rustic/blob/main/examples/ovh-hot-cold.toml indicates I can do a direct backup to a remote provider.
Thanks