This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

backup restore

HEllo all,

I'm facing a little problem with my astaro security gateway 8 that i stopped using for 1 year. now i need to turn it on again as my new home setup is ok. 

problem : 1 interface (internal) looks down.... can't access it ... and looks like my admin password for command line is not working also .... and i can't access grubb menu by pressing ESC !!!! a total mess !!! 

so i have a Good backup file here with me and i would like to use it but as it is a security gateway 8 can i use it on a fresh UTM 9 install ? 

Flo


This thread was automatically locked due to age.
  • no VLAN stories here unfortunately. but as i had a backup device with all setup at my office (just in case) my problem is solved. i think the device i was trying to recover was broken .... cause all backups were having the same problem which is not possible.
  • I received the following PM from kernel_wall:
    Hey Balfson,

     i'm starting to be crazy .. in the topic where i was speaking abou tmy interface issues ... and backup /restore. i said i found a backup UTM device where all my setup was working and also where i was saying that everything was ok ... i went back at home with it and BOUM same problem when i turn the device on: 

     when i login as root in command line i can se:

     ETH0 no address (it is my external interface in DHCP not conencted yet)
     ETH1 with ip 192.168.5.254 (internal interface)

     when i connect ETH0 to a switch (ETH1 disconnected) if i do ifstat i can see the interface acting 

     when i connect ETH1 to a switch (ETH0 unplugged) nothing happen and switch lights remain BLACK.

     and 2 hours ago in the office it was working .... 

     is there a way for me to do something in command line ? is it posible to recover some configuration from a fil in the disk ? or do i have to restart everything from scratch ? 

     Cheers,
     Flo 
  • Maybe it's the switch in the office?

    Cheers - Bob
  • the ETH1 lights on the computer remains always active an fix ... i should receive a new switch today. i will see with the new switch. if the new switch is not fixing the problem (which i think will happen like this) i will just start from scratch.
  • You can create a new backup from the command line with:

    backup.plx -o yourfilename.abf



    Backups are stored on the disk in /var/confd/var/storage/snapshots/

    BarryG provided the instructions for Backup to USB thumb from console.

    Cheers - Bob
  • Yes but when i take a backup i don't know why but it is screwing up everything ... is there any way i can find back my firewall rules ? it should be stored in a file no ?

    if no i will rebuild everything [[;)]] which could be good for me to work on that [[;)]] it will keep me busy for some night (thx to all those games with stupid ports + NAT rules) and this time i will write down everything on paper (best backup ever)
  • I haven't been able to keep up with, or decipher, what exactly you have now.


    Firewall rule viewing information from the command line.  Hopefully I'm not forgetting anything relevant.  

    Get packetfilter class and type objects:
    cc get_objects_filtered '$_->{class} eq "packetfilter" && $_->{type} eq "packetfilter"'


    You might also want the nat/masq info, they are of class packefilter but not of the type packetfilter:
    cc get_objects_filtered '$_->{class} eq "packetfilter" && $_->{type} ne "packetfilter"'


    Get network class objects:
    cc get_objects_filtered '$_->{class} eq "network"'


    Get service definitions:
    cc get_objects_filtered '$_->{class} eq "service"'


    Also:
    iptables-save


    Keep all of your old backups they might come in handy later:  https://community.sophos.com/products/unified-threat-management/astaroorg/f/52/t/29541
  • Hi kernel_wall,
    we have sometimes the same issue, this is a bug.
    Please send this information to the support.

    This occurs with interfaces and/or NAT rules, if you have restored a backup.

    Restart the UTM doesn't solve this problem and mostly restore a new backup (same problem).
    The only way to solve this issue, is to disable and enable the interface/rule.
    On ASG/UTM/SG devices it is possible to change the interface IP with the LED display. It is enough to use this menu feature, without changing the IP, but after this, you can use this interface again.

    Nice greetings
  • Thx guys for your replies!!!

    I will cehck that this week and i hope i will be able to post back here with a good news.

    Cheers
    Flo
  • really late reply on that sorry guys ... 

    THX for the command line they are giving me the right output.
    any way i can transfer the command line output to a TXT file ? and then copy it to a usb key ???