

Next, I usually remove the db directory from its original location. Note that the syntax for symbolic links takes the destination directory first then the source directory second. First, make sure MAMP is completely closed. This is where things can break if you’re not careful. Copy the Database to Dropboxįrom there, I copy the db directory from its original location on the hard drive to the location I’ve selected in Dropbox.Īfter that, I need to create a link. So, for example, in Dropbox, I have /Apps/MAMP/db since I have a db directory on the hard drive. I prefer the name the directory based on the directory that it’s going to represent as I create a link between the two files. Note, however, that the name of the directory is important – at least to a degree. Sometimes this is for editors, other times it’s for software like Transmit (as you see in the shot above), and I’m using it for sharing databases, too. Frankly, if I lived anywhere near them, this would be a no-brainer.
#Dropbox mac symbolic link mac os x
This is up to you, but I’m a fan of using an “Apps” directory out of which I create shared settings. For the non-technical Mac OS X user, like my sister and nieces, if they can get past this symbolic link problem, the Mac Dropbox backup service can be good for them as well. To do this, copy (versus move) the db directory to another place on your hard drive so that you can easily restore it if something goes wrong.


This should go without saying, but anything that’s located in the /Library/Application Support/appsolute/MAMP PRO/db directory should be saved in case you make an error when setting up the shared resources. Since I’m on macOS, the following set of instructions are going to be specifically for that, but they can be tailored for other machines.
#Dropbox mac symbolic link pro
