I have a working restic repo that I migrated to OneDrive via rclone sync.
I try to push new backups to it via the rclone link to restic but I get the error bellow.
Any ideas?
Thanks
dae@darkmind /m/y> rclone lsd OneDrive:files/ResData/P1Back
-1 2021-05-27 16:26:20 256 data
-1 2021-05-27 16:24:45 143 index
-1 2021-05-27 16:24:34 1 keys
-1 2021-05-27 16:24:35 18 snapshots
dae@darkmind /m/y> restic -r rclone:OneDrive:files/ResData/P1Back snapshots
Fatal: unable to open config file: does not exist
Is there a repository at the following location?
rclone:OneDrive:files/ResData/P1Back
dae@darkmind ~> ls -l ~/.config/rclone/
total 4
-rw------- 1 dae dae 3727 Jul 30 09:27 rclone.conf
The repository is supposed to contain a file called config (in P1Back). If you still have a copy of the file just upload it manually to the OneDrive folder.
Does specifying the path to the rclone config file using the rclone option --config help?
What does rclone print when you add the option -vv (twice verbose)?
I don’t see anything obvious in that debug log. Could you try to let restic create a new repository at lets say rclone:OneDrive:files/ResData/P1Back2 and then check whether that looks any different to the migrated backup?
So four years later, I am having the same issue. I migrated the repo to a new mega account, and I see this error. The config file is there, but restic says the following:
open repository
Fatal: repository does not exist: unable to open config file: does not exist
Is there a repository at the following location?
How to proceeded ? My apologies for reviving a four year thread. Thanks.
@John how exactly do you connect restic to the repository? Also via rclone, or not? Please provide the complete command and the result.
p.s. you use Mega storage and not OneDrive, the current title is confusing (I clicked on it since I also use OneDrive on windows). Maybe better to have opened a new thread for this question/issue.
Hi! Sorry, I have not logged in after I had the issue. I do not remember how I solved it either. Just wanted to say thank you for helping. Happy New Year!