This provides a special remote for git annex
for storage on a Synology NAS.
pipx install git+https://github.com/UCSD-E4E/git-annex-remote-synology.git
pipx uninstall git-annex-remote-synology
pipx install git+https://github.com/UCSD-E4E/git-annex-remote-synology.git
Using the pipx upgrade
command is not currently supported since the repo does not have a version increment yet.
- In an existing git repo, run
git annex init
. - Execute
git-annex-remote-synology setup --hostname e4e-nas.ucsd.edu
to ensure that your username and password are stored. - Perform the
initremote
git annex initremote synology type=external externaltype=synology encryption=none hostname=e4e-nas.ucsd.edu port=6021 protocol=https ignore_ssl=True dsm_version=7 path=/fishsense/git-annex/pyFishSenseDev
- Enable the remote
git annex enableremote synology
- Download the data
git annex copy --from=synology