• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 Restore database from an external HD

Andy.N

Well-known member
#1
My server got a corrupted OS and the host install new OS on a new drive with the old data in an external drive mounted as /old_drive

I have restored the files from the /old_drive

I would need urgent need to restore the database from /old_drive to the existing new/empty database. I tried to copy the database files over but it does not create a database or tables.

Many thanks
 

Brogan

XenForo moderator
Staff member
#2
You ideally need to create the new database instance then export and import the database using mysqldump.
 

Andy.N

Well-known member
#3
You ideally need to create the new database instance then export and import the database using mysqldump.
Is there a way to export the database on the external drive which does not have any mysql instance running.
All I have left is the data on the old drive.