Fedora Xray image location???

How to backup and/or replicate your PacsOne Server database for redunancy and fault tolerance?
Post Reply
wdc1160
Posts:31
Joined:Mon Mar 21, 2005 11:19 pm
Fedora Xray image location???

Post by wdc1160 » Tue May 10, 2005 11:23 pm

I use fedora core III with mysql. I had read the posts regarding up time and redundancy, which spurred me into looking into my current setup, and backup organization. I quickly found that I have no idea where the actual data is being stored in mysql, if at all. For example, I have no idea of the whereabouts of the actual xray images. There doesn't seem to be enough space being taken up by the database, for them to be present in any of the datastructures. Long story short, where are they? Did I miss them in one or a few of the tables?

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Post by pacsone » Tue May 10, 2005 11:53 pm

The raw image files are stored under the Archive Directory you assigned to the corresponding AE titles.

Goto the Application Entity page and you'll find all the AEs with their Archive Directory settings and disk usage information.

wdc1160
Posts:31
Joined:Mon Mar 21, 2005 11:19 pm

Post by wdc1160 » Wed May 11, 2005 12:11 am

What if it isn't specified. It says N/A. I never filled it out, but they are there somewhere

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Post by pacsone » Wed May 11, 2005 1:41 am

The default archive directory will be used if you don't specify one when adding a new AE. The default archive directory is the one you specify when you install PacsOne. If you forget where it is, you can find it under the Registry key:

HKEY_LOCAL_MACHINE\Software\RainbowFish Software\PacsOne\{AeTitle}\DefaultArchiveDirectory

wdc1160
Posts:31
Joined:Mon Mar 21, 2005 11:19 pm

Post by wdc1160 » Wed May 11, 2005 2:27 am

I use fedora Core III

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Post by pacsone » Wed May 11, 2005 1:24 pm

Sorry, didn't pay attention to the thread topic here.

For Linux version of PacsOne Server, your configuration is saved under a {AeTitle}.INI under the directory where PacsOne is installed. Your default archive directory is saved under the following variable:

DefaultArchiveDirectory=/your/default/archive/directory/

wdc1160
Posts:31
Joined:Mon Mar 21, 2005 11:19 pm

Post by wdc1160 » Wed May 11, 2005 2:38 pm

Ok, I found it, but I noticed the .ini pointed to
/var/pacsone


There is no such directory in existence.

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Post by pacsone » Wed May 11, 2005 3:56 pm

If the archive directory does not exist, remote AEs should get an error (Failure C-STORE-RSP response) when they send images to PacsOne.

To check where your current images are stored, log into MySQL from a command shell and enter the following query:

mysql>select path from image;

If you can view the images from the browser (not the thumbnail but the full-sized images, since the thumbnails are cached), that means the raw images are indeed stored somewhere, and the above MySQL query will tell you exactly where. It'll be interesting to find out why they're not stored in the default folder if no archive directory is assigned.

wdc1160
Posts:31
Joined:Mon Mar 21, 2005 11:19 pm

They have been found

Post by wdc1160 » Thu May 12, 2005 4:13 pm

Thank you for the help.

Your are correct, I do get store errors.

Also note that these images were imported, they are being stored in the orginal directory that I imported them from.

They remain in the same directory that .

Is this normal??? Are their problems with this behavior???? Can it be changed???

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Post by pacsone » Thu May 12, 2005 4:40 pm

When you import images, there're two options that you can choose from:

1. Import from CD/DVDs to a destination folder:

PacsOne will copy all the raw images from the source folder to the destination folder, and create database records that linked to the destination folder.

2. Import from Dicom-Formatted local directory: (You must have selected this option)

PacsOne will only create database records that linked to the raw files in this specified local directory, but will not copy any raw images files anywhere.

Post Reply