Rsync empty backup

Dear Community,

I found a strange behavior in rsync backup. After backup complention if I check in target volume (on a NAS), the directory /var/lib/nethserver/ibay is empty.

I already use rsync with nethserver in others server, and the only difference with this installation is that /var/lib/nethserver/ibay is located in another disk, different of / disk. I think that should be the issue, but i don’t understand why.

Moreover, in the same server the backup executed with restic are ok.

Any idea?

Thank you in advance

NethServer Version: 7.9.2009

1 Like

The tool used by NethServer is called Rsync time backup and by default it copies only one-file-system (see line 282 of /usr/bin/rsync_tmbackup).
You could try to customize the tool (but it may be overwritten by a future update) or try to adjust NethServer backup script using the right flags (not that easy).

Dear Filippo,

Many thanks for absolute precise answer! I’ll check rsync script and remove the flag.

Otherwise given that restic works fine out of the box (whit this disk configuration), what do you think to use only it in production?

I’d go with restic.

Ok, thank you for support!