With version 7 i used to have a script like this:
Very simple but very handy. With plink i 'catted' the content of the config.xml to a new file somewhere on my network. Needless to say that this volume was'nt on FreeNAS :) I ran it from cron and by doing so i did had a backup just in case. But there is no config.xml anymore (find / -name config.xml returns nothing)
So what must i do/download/cat now in order to have a backup of the config (on a regular base)? And will there be a 'config by email' option at some point?
J
#!/bin/sh
datum=`date +%d%m%Y`
/usr/bin/plink -pw abacadabra -ssh 192.168.1.100 cat /conf/config.xml >/data/backup_freenas/freenas-$datum-config.xml
Very simple but very handy. With plink i 'catted' the content of the config.xml to a new file somewhere on my network. Needless to say that this volume was'nt on FreeNAS :) I ran it from cron and by doing so i did had a backup just in case. But there is no config.xml anymore (find / -name config.xml returns nothing)
So what must i do/download/cat now in order to have a backup of the config (on a regular base)? And will there be a 'config by email' option at some point?
J