Apnea Board Forum - CPAP | Sleep Apnea
How to move OSCAR data to another computer - Printable Version

+- Apnea Board Forum - CPAP | Sleep Apnea (https://www.apneaboard.com/forums)
+-- Forum: Public Area (https://www.apneaboard.com/forums/Forum-Public-Area)
+--- Forum: Main Apnea Board Forum (https://www.apneaboard.com/forums/Forum-Main-Apnea-Board-Forum)
+--- Thread: How to move OSCAR data to another computer (/Thread-How-to-move-OSCAR-data-to-another-computer)



How to move OSCAR data to another computer - Alun - 07-08-2023

Firstly. thanks to all on this forum - I have learned a lot from you over the years.

I have three years of data in OSCAR on a PC which is dying.  I do not have any other copies of this data and don't want to lose it, of course. OSCAR on my new PC already has a few months' data and I am hoping to add the older data to that. I have copied the "OSCAR data" directory from the DOCUMENTS directory on the old PC on to a USB drive, but OSCAR on my new PC doesn't see any data to import. What am I doing wrong?

Any advice will be most welcome.....

Thanks

Alun


RE: How to move OSCAR data to another computer - Crimson Nape - 07-08-2023

Hi Alun!  -  Welcome

There are configuration settings for OSCAR which define the data folder's path.  The exact location of this configuration file is dependent on the OS you are using.

Since you are on a Windows, the path is stored in the system registry.   There are 2 ways to change where OSCAR looks for it data folder. One is to edit the registry.  Here is the path to change it:
    The Registry:
  1. Open the registry editor.
    1. Press “Win + R” on the keyboard to open the Run box,
    2. Type “regedit” in the Run box and press Enter
  2. Navigate to:  HKEY_CURRENT_USER\Software\OSCAR_Team\OSCAR-Data\Settings\AppData="Address of your data directory"
  3. Enter the path to the data in the AppData key.
    Command Prompt:
  1. Open a command prompt.
    1. Press “Win + R” on the keyboard to open the Run box,
    2. Type “cmd” in the Run box and press Enter
  2. C:\>cd \Program Files\OSCAR
  3. type: "C:\Program Files\OSCAR\OSCAR.exe" --datadir Complete_Path_Including the Drive_Letter\OSCAR_Data
    (Example to declare it in your Documents folder:  "C:\users\your-user-name\Documents\OSCAR_Data")

You will only need to do this once.

I hope this helps!
- Red


RE: How to move OSCAR data to another computer - Alun - 07-09-2023

Thanks Red

That did the trick! Much appreciated.

Alun