Apnea Board Forum - CPAP | Sleep Apnea
Selective Data Restore from a backup - 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: Software Support Forum (https://www.apneaboard.com/forums/Forum-Software-Support-Forum)
+--- Thread: Selective Data Restore from a backup (/Thread-Selective-Data-Restore-from-a-backup)



Selective Data Restore from a backup - HiTechHiTouch - 03-19-2021

I have two computers.  I ran Oscar on the first until mid February.  On the second, I have run Oscar from the start of Feburary onwards.

My CAP machine is a ResMed Airsense 10 for her. 

I regularly import the SD card into each machine, with some overlap.  The last day I imported into the first computer was mid-March.  I started importing into the second computer mid-Feb.  On the second computer, Oscar found data from late January (on the SD card) and continues to add new data each day.

Recently, I noticed 2 days of data are missing on the new computer.

Old computer: 28 Jan to 15 Feb.
New computer: 28 Jan to 2 Feb,  5 Feb to 17 March.

Note the two days Feb 4, 5, which I noticed were missing from the new machine last week.

Those days are in the backup data on the old computer, but not on the new computer

How/what can I copy from the old computer to the new computer to pick up the lost days?

1.  I've rebuilt the data on the new computer, no joy.
2.  I'm a programmer and recognize the .gz file extensions in the backup directory.

I suspect there are some side files that have dates in them that will have to be copied, but Resmed file structures are a bit complicated to hack.

Thanks


RE: Selective Data Restore from a backup - GuyScharf - 03-19-2021

Using OSCAR, purge Feb 2 from the new computer and import again. This should pick up the missing days if they are on the SD card.


RE: Selective Data Restore from a backup - HiTechHiTouch - 03-19-2021

Problem is the days are no longer on the card.


RE: Selective Data Restore from a backup - GuyScharf - 03-19-2021

Copy the Backup directory in the profile on the old machine to a location that can be read on the new machine (but not to the Backup directory in they profile on the new machine). Then import from that directory.


RE: Selective Data Restore from a backup - HiTechHiTouch - 03-19-2021

Tried that, and all I got was silence.

Opened Oscar on new machine.  Started CAP import.  Took the "Specify" option.  A find directory window opened. 

Navigated to old machine (via SMB network) and selected the BACKUP directory. .../OSCAR_Data/Profiles/Jared/ResMed_23202859655/Backup

CAP import appeared to end immediately with no messages.

Normally a short progress windows shows while the import is done, but this time there was nothing.

Tried again choosing the next higher level directory .../OSCAR_Data/Profiles/Jared/ResMed_23202859655 and again CAP Import was impossibly quick with no messages.


RE: Selective Data Restore from a backup - HiTechHiTouch - 03-19-2021

Before I started the above, I selected each missing day in the calendar and then did Data/Advanced/Purge Current Day.

After I finished the above, just for the fun of it, I rebuilt the data Data/Rebuild CAP Data/ResMed ... 232028959655

Days are still missing.


RE: Selective Data Restore from a backup - GuyScharf - 03-19-2021

You must purge the day before the first missing date before you try to import the missing data from the other machine's backup directory.

Normally, OSCAR only tries to import date starting with the last day it imported. You need to purge something so that it imports data from the purge date forward.


RE: Selective Data Restore from a backup - HiTechHiTouch - 03-19-2021

Is the lack of message and instant execution of the import worth opening a bug report?


RE: Selective Data Restore from a backup - GuyScharf - 03-19-2021

This situation occurs because the importer is able to quickly determine that the input file does not contain anything newer than the most recent date imported. I suppose we could add a "no new data found" message for that situation.