is there a way to automaticly save the config?

Status
Not open for further replies.

ezteok

Cadet
Joined
Jun 13, 2011
Messages
7
With version 7 i used to have a script like this:

#!/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
 

ezteok

Cadet
Joined
Jun 13, 2011
Messages
7
Okay, great! So there is no magic there? (no extract from db to a format that can be imported when needed with the webinterface) Just a file copy and that's it?

J
 
Status
Not open for further replies.
Top