Koozali.org: home of the SME Server

Backup/Restore not working !!!

Daniel

Backup/Restore not working !!!
« on: November 06, 2001, 04:14:42 AM »
I know there have been previous posts about this but I have tried to do what they recommened and it didn't work.

Essentially, I have a backup from a server and a fresh V5 install and I can't reinstall my mail and accounts.  Not one account is working.  

I guess I could reinstall 4.1.2 but isn't this a major problem rather than a small one?

How come this hasn't been addressed by someone other than others that have been screwed by the problem?

Let me say this a different way.  Right now I might as well have lost everything.  If I can't restore the backup then what is the point?

Someone please throw me a rope.

Daniel

JonB

Re: Backup/Restore not working !!!
« Reply #1 on: November 06, 2001, 08:11:30 AM »
I too am having the same problems.

I can do a 1GB backup from the V5 server to desktop no problems but when I do a verify or restore the browser timesout after around 5 minutes with a "page cannot be displayed" error and all LAN activity between the V5 server and my XP client machine stops.

I have also also installed E-Smith Monitor and this too times out before or at the time the page refreshes which is set to 5 min

I have scoured the forums for an answer, tried changing browser (IE6) settings etc.

These functions definately used to work under 4.1.2 with the same client.

Cheers,

Jon

ke;p

Re: Backup/Restore not working !!!
« Reply #2 on: November 06, 2001, 08:36:20 AM »
same problem here.  I did a restore on a fresh install of sme5, and none of my user settings etc carried over.  I only had 12 users, so I just recreated their accounts.  I did lose the wesite, but that too was small.

JonB

Re: Backup/Restore not working !!!
« Reply #3 on: November 06, 2001, 12:33:40 PM »
Ok, I think I have it sussed. There are two methods of getting around this.

First and simplest I found was to use the URL http://serverIP:980 eg http://192.168.2.1:980 instead of the URL http://your_server/server-manager. This worked a treat and allowed me verify my 1GB backup file which took around an hour.

Second and more difficult is to modify httpd.conf. There is a template called 45Timeout which has the timeout set for 300 sec or 5 min which is how long I got before timeout.

To modify this, log in as root

 # pico /etc/e-smith/templates/etc/httpd/conf/httpd.conf/45Timeout

you will see

UW PICO(tm) 4.0  File: /etc/e-smith/templates/etc/httpd/conf/httpd.conf/45Timeout

 #Timeout:The number of seconds before receives and sends time out

Timeout 300

I changed the timeout value to 5400 sec or 1.5 hours.

Expand the template and restart httpd

 # /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
 # /etc/rc.d/init.d/httpd restart
 Stopping httpd: [   OK   ]
 Starting httpd: [   OK   ]

Of course the proper way of doing this is to create a custom template fragment.

I can now use the URL httpd://servername/server-manager to restore or verify without the browser timing out.

When I started out the first thing I decided to do was to remove all the MP3's out of one of the Ibays (this was close to 1GB in itself) to make the backup file smaller. I re-ran backup but the size of it didn't change and when I unpacked it on my desktop, the MP3's were still in the backup.

Is there a copy of the backup file stored on the server that it has been using.??

Hope this helps

Cheers,

Jon

aking

Re: Backup/Restore not working !!!
« Reply #4 on: November 06, 2001, 05:58:31 PM »
Are you using a backup from 4.1.2 to restore to sme v 5.0?   Is this right????  I wouldn't think that this should or would work.  (Kinda like if you restored windoze 2000 with a backup of your NT 4.0.)  If you have a backup from 4.1.2...try a fresh 4.1.2 build.  Then restore the backup.  Maybe then try an upgrade to sme v 5.0.  For some strange reason this may work ;-)  BTW..I have very good luck with the backups.

danielrm26

Re: Backup/Restore not working !!!
« Reply #5 on: November 07, 2001, 01:03:33 AM »
Jon,

Thank you so much for that help.  I actually solved the problem by installing 4.1.2 and then restoring the backup.  I then did an upgrade to V5 and then used Blades to appy update2.

I really appreciate the help with this issue.  It is good to know that there are workarounds until they get the problem fixed.

danielrm26