Configuration backup/export/import

Questions and answers about how to do stuff
Post Reply
echo
Posts: 10
Joined: 07 Jan 2020 11:31

Configuration backup/export/import

Post 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.
User avatar
shawniverson
Posts: 3783
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Configuration backup/export/import

Post by shawniverson »

Already built-in, take a look in /var/eFa/backup
echo
Posts: 10
Joined: 07 Jan 2020 11:31

Re: Configuration backup/export/import

Post 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 :)
User avatar
shawniverson
Posts: 3783
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Configuration backup/export/import

Post 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.
Post Reply