@fredlwal Files are files, if you move them with the gui or with the command line. They are the same.
@george1421 Also if I have in the past just copied over the images using the gui interface to the external drive will that cause a problem with those images onto the new server?
@fredlwal Do you want to know where the actual db files are located or what you exported?
If you follow Wayne’s guide: https://wiki.fogproject.org/wiki/index.php?title=Migrate_FOG
In the section: Export DB
This is the command to export the database:
mysqldump -B fog > /tmp/fogdb.sql
You can select where the fogdb.sql file is created. In the example above I’m sending it to the /tmp directory.
@fredlwal Its much easier to do this via the network. But sure you can mount an external drive, copy the files and then reverse the process on the new server.
As I said above its easier to do via the network as long as there is connectivity between the two servers.
@Wayne-Workman Can I Migrate files and images over to an external drive and then import it onto the new server?
Also would still urge you to migrate.
In your head - you’re thinking the most easy path is getting your existing box back the way it was.
That’s not the easiest way - lots of unknowns that way. How to get the DB back the way it was without backups, what settings & things did the new installer put on the box that may not work with the old version, and whatever other problems your old server might have too. I don’t know.
But what I do know is how to migrate fog servers, and I know this really well. I wrote that article I linked to below, and if you follow it, it will work.
The most easy and shortest and most sure path is to build a new box and move stuff over.
If you tried to install the latest FOG onto your server, the new installer before changing anything about the DB would have made a backup here:
/home/fogDBbackupsand would have made a backup of the web directory here probably:
Please check these places.
Wayne Workman last edited by
@fredlwal No, not in 1.2.0 and below. Sorry. You might actually want to look at this, and get away from 1.2.0: https://wiki.fogproject.org/wiki/index.php?title=Migrate_FOG
fredlwal last edited by fredlwal
@Wayne-Workman I have 1.2x still is there a location for that backup with that version?
The 1.3.x installer automatically makes backups of the database, they are in
Import one of those files like this:
mysql < file
You will have to have matching web files for the version you choose, you need to restore the correct web files inside of