‘cd spksrc/spk/urbakup’ and ‘make arch-xxxxx’ xxxxx for your synology nas
for instance ‘make arch-armadaxp-6.1’ for a RS814 with DSM 6.1 to generate urbackup server 2.4.12
goto synology nas and install manuell the spk from packages directory on your build system
It would be cool if the binaries would be build via a free build service such as Azure Pipelines or travis (Azure piplines might be the one that stays around longer), such that there are binaries to link to from the download page.
Edit: Or I guess, it’s simply merged back into the synocommunity thing and becomes available via that.
You should also perhaps set /etc/urbackup/backupfolder correctly as well, because I believe Synology uses btrfs, and if btrfs-tools is installed urbackup might be able to use btrfs-mode on Synology?
But now they’ll have problems merging this since there are binaries in git
The proper way to do this is to tag a commit in git (e.g. as urbackup-2.4.12), then go to the releases tab in github -> edit release -> attach binary. I’m sure github would like me linking to releases more as well
Thanks for putting this together; so far I have been using Urbackup Server inside Docker inside my Synology - and generally it has worked well.
I’m a bit puzzled as how to best move forward though:
Inside Docker, I can update to the latest Urbackup Server release as I choose;
With the spk release, it looks like I’m limited to whatever build is available in that format - but it looks like it has access to the BTRFS advantages;
I’m also a bit wary as to how cleanly the spk can be removed from the NAS, should I choose to.
Haha! Well - I’ve actually not been using it for a while, whilst the macOS client issues get sorted out - but I’d been happy with the server side running inside Docker when I was running it. I’ll likely be blowing away my current setup and starting again from scratch, when I get to it.
I’m no Docker expert, but I’ve got the following paths linked to /volume1/docker inside the NAS:
…with my Settings > Backup Storage Path set to /backups.
In the startup log, I see this:
2020-06-18 13:02:57: Image mounting disabled: TEST FAILED: guestmount is missing (libguestfs-tools)
2020-06-18 13:02:57: Backup destination cannot handle subvolumes and snapshots. Snapshots disabled.
(I haven’t yet tried installing libguestfs-tools, as I have no use for image backups at present.)
I don’t know if the BTRFS functionality would get presented to a Docker container - but from what you’ve written above, it looks like btrfs-tools would have to be installed anyway?
I installed your package and it seems to work fine, unfortunately the libcurl library within the package does not support ldap protocol, so the LDAP/AD connection cannot be configured. Is it possible to build the package with ldap support?
By the way, the native curl library on the NAS has ldap support, why not using it directly?