If you simply use the console backup this is exactly what it will do:
backup
my @backup = (
'home/e-smith',
'etc/e-smith/templates-custom',
'etc/e-smith/templates-user-custom',
'etc/ssh',
'root',
'etc/sudoers',
'etc/passwd',
'etc/shadow',
'etc/group',
'etc/gshadow',
'etc/samba/secrets.tdb',
'etc/samba/smbpasswd',
);
the restore from console will then restore all those files, merge group, shadow and passwd files with the existing ones (when reinstalling from scratch some deamon uid will change)
Fron that very basic backup you will miss most of those contribs backup.
For instance :
- let's encrypt /etc/dehydrated
- sme9admin /var/lib/sme9admin
- phpki /opt/phpki
...
Those would need to be backup manually. Starting SME10 you will be able to include some folders to the console backup...