Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 524 Bytes

README.md

File metadata and controls

10 lines (8 loc) · 524 Bytes

FreeNAS-scripts

Scripts to back up configuration data daily. Set variables inside for your backup location. Set a cloud sync task to get the backup off your pool.

Copy the scripts to /root/scripts via scp (enable ssh first), and chmod +x them so they are executable.

In FreeNAS, choose Tasks, cron jobs, and create a new cron job:

  • Command: /root/scripts/checkconfigdb.sh && /root/scripts/backupconfigdb.sh
  • Run as user: root
  • Schedule cron job: Daily
  • Hide standard output, hide standard error and enabled: Checked