Gateway issue, moving storage area

Historical record of a forum that was for discussion of the setup, configuration, and use of OnePacs for research and educational purposes (non-clinical use).

Please direct any support inquiries through the standard OnePacs ticketing and support system.

The "Announcements" forum will continue to be active and contain announcements related to the OnePacs system.
Locked
hilario
Posts: 186
Joined: Tue Feb 24, 2009 4:49 pm

Gateway issue, moving storage area

Post by hilario » Fri Nov 02, 2012 5:30 am

Hello. I know this is a gateway issue but perhaps you could help me to find the correct info.
Or perhaps some collegues has done it before and can help me.

At this moment my gateway has stored images from 2010 till 2012-07 on disk C:
and from 2012-07 till today on disk E:
I need to migrate all the images from disk C: to disk E:
If I move the directories directly I will loose all the database references.
Is there anyway to solve this issue?

Thanks and regards

justin
Posts: 371
Joined: Wed Nov 26, 2008 2:34 pm

Re: Gateway issue, moving storage area

Post by justin » Fri Nov 02, 2012 10:18 am

Hi Hilario,

You can move the location of an archive directly by doing the following steps:

1) Stop the OnePacs Gateway service
2) Move the archive directory from the C: drive (C:\onepacs\gateway\server\default\archive) to it's new location (ex. E:\onepacs\archive)
3) Connect to the PostgreSQL database using PGAdmin
4) Expand Databases -> pacsdb
5) Execute the following SQL, updating for your specific directories:

Code: Select all

update filesystem set dirpath = 'E:\onepacs\archive' where dirpath = 'archive';
6) Quit PGAdmin and restart the OnePacs Gateway service
7) Verify that your older studies are still accessible.


Best,

Justin

justin
Posts: 371
Joined: Wed Nov 26, 2008 2:34 pm

Re: Gateway issue, moving storage area

Post by justin » Fri Nov 02, 2012 10:28 am

Also, please note that the directory you choose to move the archive to from C: should be a different directory than the one you already have on E:. Do not try to merge them.

Ex. Do something like this:

E:\onepacs\archive
E:\onepacs\oldarchive

hilario
Posts: 186
Joined: Tue Feb 24, 2009 4:49 pm

Re: Gateway issue, moving storage area

Post by hilario » Fri Nov 02, 2012 12:05 pm

Thank you very much.
I'll try this.
Regards

Locked