EFW Support

Support => General Support => Topic started by: DFen on Wednesday 30 June 2010, 07:03:41 pm



Title: Is there a script to restore a backup from the command line?
Post by: DFen on Wednesday 30 June 2010, 07:03:41 pm
If networking is seriously broken, how is it possible to restore a known good backup from the command line?


Title: Re: Is there a script to restore a backup from the command line?
Post by: wavrunrx2 on Thursday 01 July 2010, 04:13:20 am
backups are stored here --> /home/httpd/html/backup/

cd into that directory

type:

tar xvf backup-<date>-<router.name>-settings-cron.tar.gz -C /

done


Title: Re: Is there a script to restore a backup from the command line?
Post by: DFen on Friday 02 July 2010, 12:18:09 am
wavrunrx2

Many thanks - that was just too obvious for me  ::)

And I guess just type "reboot" after the backup is extracted!