How to change the database file location

Started by dbeckstrom

How to change the database file location   25 February 2015, 08:05

I would like to move the Bandwidth Manager database files. They are installed in the windows ProgramData folder by default and it doesn't appear that is adjustable. Is there any way to specify an alternate location for the database files?

Thanks in advance,
Darcy
SoftPerfect Support forum - Andrew avatar image

Re: How to change the database file location   25 February 2015, 09:22

The DB file location is not configurable within the Bandwidth Manager itself, but you can easily do it using a symbolic link as follows:
  1. Stop the Bandwidth Manager service
  2. Navigate to C:\ProgramData\SoftPerfect and move the entire Bandwidth Manager folder to where you want it to reside.
  3. Open a command prompt as Administrator.
  4. Type mklink /D "C:\ProgramData\SoftPerfect\Bandwidth Manager" "D:\NewLocation\Bandwidth Manager"
  5. Click the newly created link in Windows Explorer to make sure it's working and taking you to the new location.
  6. Start the Bandwidth Manager service.

Here is more info on creating links, you can also move things from other applications as well.

Re: How to change the database file location   07 March 2015, 06:56

Just wanted to confirm, these steps worked perfectly. BCU is now running on a RAM disk for better performance.

Thanks for your help!!

Sometimes you can find a solution faster if you try the forum search, have a look at the knowledge base, or check the software user manual to see if your question has already been answered.

Our forum rules are simple:

  • Be polite.
  • Do not spam.
  • Write in English. If possible, check your spelling and grammar.

Author:

Subject

A brief and informative title for your message, approximately 4–8 words:

     

Spam prevention: please enter the following code in the input field below.

 **     **  ********  **    **  ********   ******** 
 ***   ***  **         **  **   **     **     **    
 **** ****  **          ****    **     **     **    
 ** *** **  ******       **     **     **     **    
 **     **  **           **     **     **     **    
 **     **  **           **     **     **     **    
 **     **  **           **     ********      **    

Message: