-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
add kopia #5845
add kopia #5845
Conversation
@mdhowle as you requested this package, can you please have a first look at it? Currently the web login is hard coded (use kopia/kopia). The kopia command is available in the path in a shell on your Diskstation. I already configured the package that way, that the kopia server uses the folder So I am waiting for your feedback on what is needed to make this package usable for real life scenarios... And what is your model? (hopefully not a DS415play or DS214play as those have evansport cpu and are not available as prebuilt package). |
@mdhowle just hold on, I had to delete the gh build actions due to some issues... |
@mdhowle the installation issue is fixed. |
- additionally download all files when PKG_DIST_ARCH_LIST is defined - use download-all target for download in github action
Thanks! I was able to test and got it working with some modifications. I have a DS1621+, AMD Ryzen V1500B (amd64) First, I generated a self-signed certificate with SANs. The client wouldn't work without a SAN. I was unsure if other DSM versions have openssl 1.1.1 available, which has options to add SANs directly. This command should work on all openssl versions though.
When I first tried to create a local repository, I received I added these environment variables to fix these errors, and added the TLS certificate to the arguments
Once the sever was running:
Then, I added a user for the client. Adding users from the UI isn't yet supported. We probably need a better way of executing the kopia binary with the appropriate environment variables set. Maybe rename kopia binary to kopia.real and create a shell script named
On the client:
I was able to backup and restore from the repository server. |
- update kopia to latest release - configure and install folders for config and cache
unset USER as this conflicts with kopia, as it tries to create a repository when USER is set
@mdhowle would you be willing to do another test? |
@hgy59 I hope you don't mind, I worked on your todo list |
Thanks for the update. I was able to setup a repository and create a snapshot from a remote computer. If possible to change, the kopia URL scheme in the Package Center page uses HTTP, http:https://nas01.example.com:51515 . It should be https://nas01.example.com:51515 |
@publicarray to support more targets (evansport and ARMv5) we need to build kopia from source. |
- update native/go to v1.22.3 (required by kopia in SynoCommunity#5845)
Thanks @hgy59 How about we release this version as is and add support for the other architectures after the go update? |
- update native/go to v1.22.3 (required by kopia in #5845)
Description
Closes #5842
Checklist
all-supported
completed successfullyType of change
TODO