Koozali.org: home of the SME Server

Can do this? Fresh install 7.1 keep files and old mysql dbs

WACOMalt

Can do this? Fresh install 7.1 keep files and old mysql dbs
« on: January 28, 2007, 07:37:21 AM »
I need to get my server to 7.1.

the whole server is screwed up and I cannot pinpoint all of the problems

I checked though and all of my files for my website are still intact. I am not sure about my mysql tables, but if possible I need to back those up as well.

I do not know if an update to 7.1 is possible at this point, I don't know how to do that or of my server can do it with how screwed up it is.

the current error says the filesystem is corrupt, or something like that.

I just burned 7.1 to a cd, and will see what I can do there.

what is the easiest way to back up all of my files? and if possible back up my mysql databases as well.

any insite is helpful.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Can do this? Fresh install 7.1 keep files and old mysql
« Reply #1 on: January 28, 2007, 11:15:54 AM »
Quote from: "WACOMalt"
I need to get my server to 7.1.

the whole server is screwed up and I cannot pinpoint all of the problems

I checked though and all of my files for my website are still intact. I am not sure about my mysql tables, but if possible I need to back those up as well.

I do not know if an update to 7.1 is possible at this point, I don't know how to do that or of my server can do it with how screwed up it is.

the current error says the filesystem is corrupt, or something like that.

I just burned 7.1 to a cd, and will see what I can do there.

what is the easiest way to back up all of my files? and if possible back up my mysql databases as well.

any insite is helpful.
Normally you could make a disaster recovery, but the indication that yout filesystem is corrupt does not give much hope that you can run the server. On reboot are you prompted to press y for a disk check? Perhaps that might help. Otherwise you might be able to put in the 7.1 installer CD and try and upgrade to 7.1 and see if the system comes up again... fingers crossed!
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

WACOMalt

Can do this? Fresh install 7.1 keep files and old mysql dbs
« Reply #2 on: January 30, 2007, 06:18:09 AM »
well update is a no go. it says it cannot do it. I do get a file system thing and I can enter a repair command prompt, and through this I can see that my files are still there (all the one's from my old site's content and whatnot)

So I got a bright idea... put the hard drive in my windows PC as a slave, and copy the files I need, then do a fresh 7.1 install.

wellt he odd thing is, when I put it in my windows PC, windows spots the drive, but it does not show up in "My Computer" and has not been assigned a drive letter. if I go to device manager then I can clearly see the drive though, and it has the correct model number and whatnot.

any clue how to get it so it's useable in windows? or a tool I can use to get the data I need?

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Can do this? Fresh install 7.1 keep files and old mysql dbs
« Reply #3 on: January 30, 2007, 07:08:36 AM »
Quote from: "WACOMalt"
well update is a no go. it says it cannot do it. I do get a file system thing and I can enter a repair command prompt, and through this I can see that my files are still there (all the one's from my old site's content and whatnot)

So I got a bright idea... put the hard drive in my windows PC as a slave, and copy the files I need, then do a fresh 7.1 install.

wellt he odd thing is, when I put it in my windows PC, windows spots the drive, but it does not show up in "My Computer" and has not been assigned a drive letter. if I go to device manager then I can clearly see the drive though, and it has the correct model number and whatnot.

any clue how to get it so it's useable in windows? or a tool I can use to get the data I need?
As Linux uses a different partition scheme that Windows does not understand it cannot make your drive visible.
Use the CD to enter in rescue mode, do a database dump to a USB drive, and copy all data you need to keep to an USB drive. Reinstall SME Server and put back all data you have been able to save.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

munter

Can do this? Fresh install 7.1 keep files and old mysql dbs
« Reply #4 on: January 30, 2007, 09:11:51 AM »
If your server running "linking sadly" but running maybe u can gain access to ibays from windowspc?

in that case u home free on web and file issues :-)
Email and other stuff still lost.

WACOMalt

Can do this? Fresh install 7.1 keep files and old mysql dbs
« Reply #5 on: January 30, 2007, 02:27:25 PM »
"linking sadly"?

anyways, I cannot access the ibays from my windows PC as I used to be able to.

any idea how I could get the files from the hard drive by putting it in my windows PC? it didnt want to work last time...

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
Can do this? Fresh install 7.1 keep files and old mysql dbs
« Reply #6 on: January 30, 2007, 05:15:58 PM »
You can't do it from windows. Install vmware and some live linux distro. It should work then. Or use the SME recovery console.
"It should just work" if it doesn't report it. Thanks!

WACOMalt

Can do this? Fresh install 7.1 keep files and old mysql dbs
« Reply #7 on: February 03, 2007, 04:13:47 AM »
sorry, would that be the vmware viewer only? or is a different version needed?

also, does it not matter what linux distro I use as long as it is a live one?

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
Can do this? Fresh install 7.1 keep files and old mysql dbs
« Reply #8 on: February 03, 2007, 03:45:49 PM »
Use VMware Workstation.

Well you'll be able to see the partition on any live cd. And if you have a portable disk formati it to fat32 and then you'll be able to write to it from win and linux. Then just copy the files to portable disk (or usb if you don't have a lot of data) and transfer them back once you get your sistem up and running.

This is how i fix theese kind of problems.
"It should just work" if it doesn't report it. Thanks!

WACOMalt

Can do this? Fresh install 7.1 keep files and old mysql dbs
« Reply #9 on: February 04, 2007, 12:07:24 PM »
thank you very much for the help.

is there any way to back up the mysql databases as well onto my portable drive?

any anything else I should back up that may make my life easier later on down the road when I start over?

WACOMalt

Can do this? Fresh install 7.1 keep files and old mysql dbs
« Reply #10 on: February 06, 2007, 10:00:55 PM »
(more than 2 days, so a bump)

Quote
is there any way to back up the mysql databases as well onto my portable drive?

any anything else I should back up that may make my life easier later on down the road when I start over?

Offline raem

  • *
  • 3,972
  • +4/-0
Can do this? Fresh install 7.1 keep files and old mysql dbs
« Reply #11 on: February 07, 2007, 01:16:38 AM »
WACOMalt

bump.... Do you read these forums ?
bump.... Do you know how to use the search feature ?
bump.... Are you too lazy to look for the answer yourself ?

mysql backup has been answered many times & as recently as one day ago.

Search on mysql & also for
signal-event pre-backup
You will need to manually copy the dump file from /home/e-smith/files/db/mysql (I think that's the location from memory).
...

WACOMalt

Can do this? Fresh install 7.1 keep files and old mysql dbs
« Reply #12 on: February 07, 2007, 02:01:21 PM »
sorry about the bump. I was kinda in a crappy mood when I wrote that.

I did a search and found what I needed.

thanks for the search terms (especially "signal-event pre-backup" I would have never figured that one out.)

osiris9510

Can do this? Fresh install 7.1 keep files and old mysql dbs
« Reply #13 on: February 07, 2007, 04:17:21 PM »
Correct me if I'm wrong but....


SME Server uses LVM and RAID, so the only way to see files on these partitions is while the system is running.

Does VMWare allow you to read offline RAID volume(s)?

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
Can do this? Fresh install 7.1 keep files and old mysql dbs
« Reply #14 on: February 07, 2007, 05:16:04 PM »
No it doesn't. You have to unplug one of the drives and then plug it into another computer runing linux or win with vmware and a linux distro. You would be able to read the data from linux partitions then.
"It should just work" if it doesn't report it. Thanks!