migRaven-Move the database to another disk

It makes sense, for reasons of space migRavendatabase to another disk. This is useful in environments with more than 1 million directories supported by migRaven should be scanned. This prevents the c: partition from running full and preventing the operating system from running.

Bitte beachten: auf der C: Partition sollten immer 50GB freier Speicherplatz vorhanden sein. Es werden zum Zeitpunkt des Scannens temporäre Dateien angelegt.

Important

These changes to the location of the database are done via parameters in the configuration files.

Please document your entries and remove them after a program update migRaven or the database again if necessary.

1. Put the database on another drive on the same computer

1.1. Example

The migRavenDatabase should be after e:/migRavenDB/data be moved.

Please finish all first migRaven Services via Services.msc

1.2. Prepare database

The database program remains on drive C :. Only the data directory containing the database containing the user's AD and project data will be relocated to another drive.

In the register c: \ Program Files \migRavenDB \ conf \
the configuration file neo4j.conf is located

In it the location parameter is changed, in our example

from:
#dbms.directories.data=data

to:
dbms.directories.data=e:/migRavenDB/data
(For path specification use / (Forward-Shlash) and not \ (backslash) as usual in Windows path specifications)
These values ​​will record the graph.db in E: \migRavenDB\databases saved

For example:

In the config we change dbms.directories.data=e:/migRavenDB/Data


1.3. Transfer database to new location

Transfer the entire folder:

c: \ Program Files \migRavenDB \ data

-> in the newly created folder: d: \migRavenDB\

Restart the server

Permanent link to this post: https://help.migraven.com/migraven-datenbank-verlegen/