- go in the directory where your samba4 provision is stored (/usr/local/samba by default)
- do tar cf $HOME/backup.tar private (it's also recommended to save the etc/smb.conf and var/sysvol dir aswell)
-* Go in the source4 dir
+ go into the directory where your samba4 provision is stored (/usr/local/samba by default)
+ do tar cf $HOME/backup.tar private etc var sysvol
+* Go into the source4 dir