FreeNAS – Automatic Config Backups

How to configure FreeNAS with automatic config backups and a retention policy.