Author Topic: restore backups  (Read 3547 times)

sudinna

  • Zen Apprentice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
restore backups
« on: April 15, 2008, 08:41:39 pm »
ebox's ip (192.168.20.254) has duplicated with another ip in the network.
Now the web interface is no more available to restore the previous backups. How I
can restore the prev.backups without using ebox web interface?

luch0

  • Zen Monk
  • **
  • Posts: 64
  • Karma: +0/-0
    • View Profile
Re: restore backups
« Reply #1 on: April 15, 2008, 10:22:57 pm »
Hi Sudinna.
If you have access to the console eBox, log in as root and execute:

#ifconfig
This is a list of your interfaces, for example, you are going to see something like:

eth0 192.168.1.1 ....
eth1 192.168.20.200 ...
eth3 10.0.0.1 ...

Once identified the interface in conflict, change the IP with:

#ifconfig eth1 192.168.20.200 netmask 255.255.255.0

And try access to web enviroment again.

Regards!

sudinna

  • Zen Apprentice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: restore backups
« Reply #2 on: April 16, 2008, 07:15:05 pm »
Hi ther..

In the root console I've executed the following statments as you said

#ifconfig eth0 10.0.0.254 netmask 255.0.0.0
#ifconfig eth1 192.168.20.254 netmask 255.255.255.0

It was said that the link is up. So I press the Ctrl+D
and it automatically login to the system.
But I was unable to access to web enviroment.

Any hope?

Regards / Sudinna

   

luch0

  • Zen Monk
  • **
  • Posts: 64
  • Karma: +0/-0
    • View Profile
Re: restore backups
« Reply #3 on: April 17, 2008, 01:21:40 am »
Hi again Sudinna!
Are you sure is ebox running? You looked at the logs in /var/log? Maybe, if you follow  these steeps:

1st. Disconnet all network interfaces
2nd. Verify if ebox is running without any error (You can use #/etc/init.d/ebox start to force start ebox)
3rd. Change with ifconfig all networks in conflict (Remember if these interfaces was marked as external, you can't use to access web enviroment)
4th. Connect all networks interfaces a try to access to https://eBoxIP/ebox

Regards.

sudinna

  • Zen Apprentice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: restore backups
« Reply #4 on: April 19, 2008, 04:36:38 am »
Oh my God..! I've saved an external ip  in the
interfaces. That is the mistake I have done.

Well yesterday I managed find a new hard disk
and installed ebox in that. Now all the users
are directed to the ebox. But the internet,mail,
vpn connections are down. It will take a long time
to configure them all. All the backups I have
created are in the prev. hard drive. How to get them?
If I attached it to my machine and using
partation magic  8.0 software will I able to recover them?

luch0

  • Zen Monk
  • **
  • Posts: 64
  • Karma: +0/-0
    • View Profile
Re: restore backups
« Reply #5 on: April 19, 2008, 08:29:42 pm »
Hello sudinna.
If you want try recover your old ebox one more time (I hope it is not too late for this.), follow this:
1. Log in as root in eBox
2. Reconfigure the firewall with these lines from console:
#iptables -P INPUT ACCEPT
#iptables -P OUTPUT ACCEPT
#iptables -F
3. Log in to web enviroment, and reconfigure yours internal networks correctly.
4. Save the changes
5. Restart ebox from console (#/etc/init.d/ebox start)

If you have the service of File Sharing running, you can access to backup files from any computer, only need log in with root account (from Windows \\eBoxIP\ or from Linux smb://eBoxIP whatever) I don't remember where are backups files.

I hope this will be the solution. Regards!