Theory of Backing up a FreeNAS Domain Controller (and restoring)

Status
Not open for further replies.

SBTech

Cadet
Joined
Aug 10, 2016
Messages
9
After reading this https://wiki.samba.org/index.php/Backup_and_restore_an_Samba_AD_DC

I reviewed the script mentioned in the source, looks out of date.

my thought is a cron job that stops the samba server services at 2am (so samba flushes out the tdb files)
creates a backup of /var/db/samba4
backup the of the FreeNAS sqlite DB (still looking for that file)
start samba server

I figure if I had to, I would be able to do a fresh install
restore the sqlite db and reboot
turn off the samba services
restore /var/db/samba4

I would be back up and running again.

Anyone tried this and failed?

My guess is this would be unsupported and I understand that.
 
Status
Not open for further replies.
Top