Welcome, Guest. Please login or register.
Did you miss your activation email?
Wednesday 20 November 2024, 07:46:38 am

Login with username, password and session length

The Latest Endian Firewall is now available for download HERE
14258 Posts in 4377 Topics by 6515 Members
Latest Member: hulteends
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  General Support
| | |-+  Is there a script to restore a backup from the command line?
0 Members and 2 Guests 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 15322 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.078 seconds with 19 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com