Welcome, Guest. Please login or register.
Did you miss your activation email?
Monday 30 December 2024, 12:48:22 am

Login with username, password and session length

The Latest Endian Firewall is now available for download HERE
14262 Posts in 4377 Topics by 6517 Members
Latest Member: Sandro
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  General Support
| | |-+  Is there a script to restore a backup from the command line?
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Is there a script to restore a backup from the command line?  (Read 15912 times)
DFen
Full Member
***
Offline Offline

Posts: 46


« 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?
Logged
wavrunrx2
Full Member
***
Offline Offline

Posts: 12


« Reply #1 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
Logged
DFen
Full Member
***
Offline Offline

Posts: 46


« Reply #2 on: Friday 02 July 2010, 12:18:09 am »

wavrunrx2

Many thanks - that was just too obvious for me  Roll Eyes

And I guess just type "reboot" after the backup is extracted!
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Page created in 0.063 seconds with 18 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com