I can’t back up an NS8 file server with BackupPC

Hi,

I’ve been using BackupPC for many years, and when Steph made it available on NS8, I was very happy about it. I have always created Backup Servers with NS7 and BackupPC to secure the files of other NS7 instances.

Now, I find myself needing to use an “old” Backup Server 7.9 with BackupPC, and I would like to back up a new NS8 File Server that was just successfully migrated from NS7.

The problem is that, if I understand correctly, rsync on NS8 is not in its “usual place” (/usr/bin/rsync), but rather in a subdirectory like /home/samba1/.local/share/containers/storage/overlay/97............88/diff/usr/bin/rsync. Is that really the case? Can I use “this” rsync, or am I completely missing something?

I also noticed that rsyncd is inactive on NS8, am I correct?

Thank you all for your collaboration.

Pierluigi.

Yes, you have missed something. NS8 is not to be compared with NS7. Please see the NS8 manual to get a basic understanding of the differences between NS7 and NS8.

Yes and you are welcome. Evolution is a funny thing and may surprise you when you do not/can not/will not/fail to keep up with. I could be wrong and if so, I appologise.

Thanks a lot for the link. I’m aware of the basic differences between NS7 and NS8, and I appreciate the reminder to keep learning. But as an old sysadmin, I could never walk away from rsync and its miracles :wink:

blind shot but did you install rsync on the ns8, I am not sure we could use the rsync in the container (used to move/clone a module)

Steph is right, the rsync core container could fit your needs, preserving UID/GID mappings and extended attributes required by Samba to store ACLs.

You can manually start an instance of it for the Samba application. For example:

runagent -m samba1 podman run -d ...args

I haven’t tried it myself, but you can look at the clone-module code to get an idea of how to build the argument list: ns8-core/core/imageroot/usr/local/agent/actions/clone-module/10recvstate at main · NethServer/ns8-core · GitHub