How to change database location

Started by Claude C

Claude C

How to change database location   10 June 2018, 08:54

Hi, is it possible to change the database from "C:\ProgramData\SoftPerfect\NetWorx\" to another folder?
I am using a different partition to store all my data, and I will be very happy if I can put the database (3 files) on this partition in its own folder. Sometimes I have to reload an image of my Windows partition, and I often forget to make a backup of the database.
SoftPerfect Support forum - Andrew avatar image

Re: How to change database location   10 June 2018, 09:14

Yes, it's possible to change the database location. There are two ways to do so:

  1. Quit running NetWorx and launch it again as administrator. Then go to the Hidden Settings and enter the new path under Database location.
  2. Alternatively, use a symbolic link to redirect the folder to another location. This method can be used for any program to redirect a folder to a different location.
    1. Quit NetWorx to close the database
    2. Move C:\ProgramData\SoftPerfect\NetWorx to a desired location.
    3. Launch a command prompt as administrator and type
        mklink /D C:\ProgramData\SoftPerfect\NetWorx D:\YourNewLocation\NetWorx  
    Now any I/O to C:\ProgramData\SoftPerfect\NetWorx will be redirected to D:\YourNewLocation\NetWorx.
Claude C

Re: How to change database location   13 June 2018, 10:18

Many thanks to you, these settings work as expected.

Reply to this topic

Sometimes you can get the answer faster if you try the forum search and/or have a look at the software user manual to see if your question has already been answered.

Our forum rules are simple:

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

Author:

Email:

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: