Can I move the Azure storage emulator files?
Windows Azure storage emulator appears to save the data in my user profile on my C-drive. Since I have a quite small ssd and I don't really need the performance benefits when working with test data in my azure project I thought that perhaps I could move it to my D-drive.
I haven't found a way to do that, so does anybody have a suggestion on how or if I can move the storage emulator files to another drive?
The following solution works, although it's not amazingly elegant:
- Make sure storage emulator is not running, i.e. shut it down from the notifications area if necessary.
- Move the folder in your local AppData folder to where you want it. It will be called something like
C:\Users\{username}\AppData\Local\dftmp
. - Open a command prompt with administrator permissions and
cd
to theAppData\Local
folder. For examplecd \Users\{username}\AppData\Local
. - Create a 'junction link' using the following command:
mklink /J dftmp X:\folder\to\where\you\moved\dftmp
- Restart the storage emulator and enjoy having the files on a different drive or in a different location.