Moving monetdb data to another directory
I am trying to change the default data directory of MonetDB. I installed monetdb using the ubuntu package, by default the data is stored in:
/var/lib/monetdb
I am running out of space, and I like to migrate the data to another folder. Does anyone know how to do that? I would welcome a solution that doesn't involve compiling monetdb from sources...
Thanks in advance
Remi
On 09-12-2013 17:33:12 +0000, Rémi Charpentier wrote:
I am trying to change the default data directory of MonetDB. I installed monetdb using the ubuntu package, by default the data is stored in:
/var/lib/monetdb
I am running out of space, and I like to migrate the data to another folder. Does anyone know how to do that? I would welcome a solution that doesn't involve compiling monetdb from sources...
1. stop monetdbd 2. copy /var/lib/monetdb data into new location (rsync, cp, etc.) 3. start monetdb /path/to/my/new/location
for 3. you also might have an option in the startup scripts/config, but I don't know about that.
Fabian
Thanks Fabian, it works. I'll just create a custom script to start monetdb. Best, Remi
On Mon, Dec 9, 2013 at 5:45 PM, Fabian Groffen fabian@monetdb.org wrote:
On 09-12-2013 17:33:12 +0000, Rémi Charpentier wrote:
I am trying to change the default data directory of MonetDB. I installed monetdb using the ubuntu package, by default the data is stored in:
/var/lib/monetdb
I am running out of space, and I like to migrate the data to another
folder.
Does anyone know how to do that? I would welcome a solution that doesn't involve compiling monetdb from sources...
- stop monetdbd
- copy /var/lib/monetdb data into new location (rsync, cp, etc.)
- start monetdb /path/to/my/new/location
for 3. you also might have an option in the startup scripts/config, but I don't know about that.
Fabian _______________________________________________ users-list mailing list users-list@monetdb.org https://www.monetdb.org/mailman/listinfo/users-list
participants (2)
-
Fabian Groffen
-
Rémi Charpentier