Page 1 of 1

Configuration backup/export/import

Posted: 13 Nov 2020 09:46
by echo
Hi guys!
I've been using eFa for 3 years now and I'm loving it. :dance: Great work!
Currently I am running eFa 4 on centos 7.
Recently I have had some troubles with some of my physical hosts, so I've been thinking is there an easy (lazy) way to do periodically configuration export. The idea is that I don't want to (for various reasons) do backup of my whole appliance, but simple config backup and export, so if anything bad happens I can quickly install centos 8 minimal and run eFa installer, then import the backup config, and presto change-o I have eFa running up again :clap:
I would like to be able to do this automatically with cron and some bash script, but what are the steps (commands)?
Has anyone tried something like this?
Thank you.

Re: Configuration backup/export/import

Posted: 13 Nov 2020 10:22
by shawniverson
Already built-in, take a look in /var/eFa/backup

Re: Configuration backup/export/import

Posted: 13 Nov 2020 12:29
by echo
Hey Shawn 10x! :D
I didn't know that... silly me :oops:
Does those backups include export from sa-learn –backup?
And how do restore in new installation?
Thank you :)

Re: Configuration backup/export/import

Posted: 14 Nov 2020 16:20
by shawniverson
It is really easy, although I want to make it easier.

You copy the backups from here. If you place them in the same spot on a new appliance you can use eFa-Configure to restore them :D

The SA bayes/txrep is included.