Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synology: Initializing repo via one-off task doesn't work #10

Open
zzottel opened this issue Oct 29, 2021 · 2 comments
Open

Synology: Initializing repo via one-off task doesn't work #10

zzottel opened this issue Oct 29, 2021 · 2 comments

Comments

@zzottel
Copy link

zzottel commented Oct 29, 2021

... and will never work, because the BorgBase ssh key has to be added to root's known keys.

I suggest removing that info from https://docs.borgbase.com/setup/synology/ and telling the user that the repository has to be initialized from the command line on the disk station.

@m3nu
Copy link
Collaborator

m3nu commented Oct 29, 2021

This is true and should be mentioned. Personally I also prefer testing stuff in the CLI, but it's still doable without. Specifically, you could add ssh_command: ssh -o StrictHostKeyChecking=no to your Borgmatic config.

I don't have a fresh Syno to play with, but if you can confirm this works, I'll update the docs right away.

@zzottel
Copy link
Author

zzottel commented Oct 30, 2021

I don't have a fresh one either, as I used the command line, too. I even moved away from Borgmatic now, as I had my own Borg scripts from my servers, anyway, and Borgmatic confused me more than it helped (especially by not putting borg's stderr output into its own error message when an error occurred).

So, I'm sorry, can't help there anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants