Backup Inclusion not working

NethServer Version: NethServer release 7.6.1810 (final)

I followed this instruction here to include /opt and /etc in our daily backup.

But when I was doing a test restoration, the /opt and /etc locations are not showing on the hierarchy.

Even tried to do a manual restore via putty, but same result.

Does the inclusion path needs to be under /etc/, for example /etc/postfix/ for the backup inclusion to work?
And I don’t need to issue any signal-event or expand-template command after modifying the custom.include file?


There may be a missing or too many line breaks in the custom include file.

From the docs:

Make sure not to leave empty lines inside edited files.

Missing line break:

1 Like

Hello MrMarkuz,

My custom.include looks like this now when I issue cat:

and mcedit looks like this:

I checked the restore files which does not show /opt and /etc folders and the other sub-folders for some reason even before modifying the custom.include file:

But it works on test manual restore via putty:

Thanks for your help.

1 Like