Hello Guest, Welcome to Apnea Board !
As a guest, you are limited to certain areas of the board and there are some features you can't use.
To post a message, you must create a free account using a valid email address.

or Create an Account


New Posts   Today's Posts

SD card data transfer or dump.
#1
SD card data transfer or dump.
I am looking to keep a backup of my SD card on an external HD, I know there is going to be a simple answer, but the only way I have found so far is transferring the four files using the 'Send To' function.
Any suggestions?

And yes, I will try to remember to lock the SD card before I start.Oh-jeez

Thanks
Post Reply Post Reply
#2
RE: SD card data transfer or dump.
there's a lot more than four files on there.
Post Reply Post Reply
#3
RE: SD card data transfer or dump.
There are lots of ways to do that so here's one. Open a Windows Notebook session and copy/paste the script below into the file. Save it as SDbackup.bat and place it somewhere handy. You will need to edit the script and change the X to whatever you SD card is being recognized as on your computer. Mine happens to be H but yours will likely be something else. Then change the C to whatever your external drive is recognized as.

xcopy /h/i/c/k/e/r/y X:\ C:\SDbackup

Running that file by double-clicking it will copy the entire contents of the SD drive to a folder called SDbackup on the root of your chosen drive.

Dude
Post Reply Post Reply
#4
RE: SD card data transfer or dump.
(05-07-2016, 11:25 AM)surferdude2 Wrote: There are lots of ways to do that so here's one. Open a Windows Notebook session and copy/paste the script below into the file. Save it as SDbackup.bat and place it somewhere handy. You will need to edit the script and change the X to whatever you SD card is being recognized as on your computer. Mine happens to be H but yours will likely be something else. Then change the C to whatever your external drive is recognized as.

xcopy /h/i/c/k/e/r/y X:\ C:\SDbackup

Running that file by double-clicking it will copy the entire contents of the SD drive to a folder called SDbackup on the root of your chosen drive.

Dude

Not a windows script person, but does that copy invisible files? Or I guess more importantly will it copy all files regardless of permissions?

(It doesn't mater, I run OS-X and Linux, but I am just curious)
I am not a Medical professional and I don't play one on the internet.
Started CPAP Therapy April 5, 2016
I'd Rather Be Sleeping
Post Reply Post Reply
#5
RE: SD card data transfer or dump.
Yes, it will copy all files, including Hidden and System, if they are present.

Dude
btw: If wanting to restore from this SDbackup folder, Sleepyhead will import these files directly from the SDbackup folder whereas ResScan requires you to move them to the root of a drive, leaving the SDbackup folder behind, and have no other files present on that drive. Keep in mind that any notes you have made while resident in the program will not be backed up or restored.
Post Reply Post Reply
#6
RE: SD card data transfer or dump.
Thanks Frank, will save that for a day I have a clear head.
Post Reply Post Reply
#7
RE: SD card data transfer or dump.
I love it when I get credit for someone else's help Smile

j/k
I am not a Medical professional and I don't play one on the internet.
Started CPAP Therapy April 5, 2016
I'd Rather Be Sleeping
Post Reply Post Reply
#8
RE: SD card data transfer or dump.
And well deserved I will add! :like:

As your reward, I'll link you to my web storage site for downloading a batch file that will take all the work out of setting up an SD card backup process.

Just download this batch file and place it anywhere you want the backup folder to reside. Make a Desktop shortcut to it for convenience and you're all set. Running it will copy the full contents of the SD card from your PAP to a backup folder named SDbackup, located where you put the batch file, overwriting any previous backups so you'll always have the latest copy.

SDbackup batch file


It's pretty much of a kludge but will get the job done. For assurance and understanding, it looks like this inside:

<batch file script>

:: Place this batch file on the root of the system drive
:: so the SDbackup folder will be created there.

@ECHO OFF
IF EXIST D:\datalog\ GOTO :D
IF EXIST E:\datalog\ GOTO :E
IF EXIST F:\datalog\ GOTO :F
IF EXIST G:\datalog\ GOTO :G
IF EXIST H:\datalog\ GOTO :H
IF EXIST I:\datalog\ GOTO :I
IF EXIST J:\datalog\ GOTO :J
@ECHO Backup failed to find a source.
GOTO :end

:D
xcopy /h/i/c/k/e/r/y d:\DATALOG SDbackup\DATALOG\
xcopy /h/i/c/k/e/r/y d:\SETTINGS SDbackup\SETTINGS\
xcopy /h/i/c/k/e/r/y d:\Identification.crc SDbackup\
xcopy /h/i/c/k/e/r/y d:\Identification.tgt SDbackup\
xcopy /h/i/c/k/e/r/y d:\STR.crc SDbackup\
xcopy /h/i/c/k/e/r/y d:\STR.edf SDbackup\
@ECHO Backup was successful from D: drive
GOTO :end
:E
xcopy /h/i/c/k/e/r/y e:\DATALOG SDbackup\DATALOG\
xcopy /h/i/c/k/e/r/y e:\SETTINGS SDbackup\SETTINGS\
xcopy /h/i/c/k/e/r/y e:\Identification.crc SDbackup\
xcopy /h/i/c/k/e/r/y e:\Identification.tgt SDbackup\
xcopy /h/i/c/k/e/r/y e:\STR.crc SDbackup\
xcopy /h/i/c/k/e/r/y e:\STR.edf SDbackup\
@ECHO Backup was successful from E: drive
GOTO :end
:F
xcopy /h/i/c/k/e/r/y f:\DATALOG SDbackup\DATALOG\
xcopy /h/i/c/k/e/r/y f:\SETTINGS SDbackup\SETTINGS\
xcopy /h/i/c/k/e/r/y f:\Identification.crc SDbackup\
xcopy /h/i/c/k/e/r/y f:\Identification.tgt SDbackup\
xcopy /h/i/c/k/e/r/y f:\STR.crc SDbackup\
xcopy /h/i/c/k/e/r/y f:\STR.edf SDbackup\
@ECHO Backup was successful from F: drive
GOTO :end
:G
xcopy /h/i/c/k/e/r/y g:\DATALOG SDbackup\DATALOG\
xcopy /h/i/c/k/e/r/y g:\SETTINGS SDbackup\SETTINGS\
xcopy /h/i/c/k/e/r/y g:\Identification.crc SDbackup\
xcopy /h/i/c/k/e/r/y g:\Identification.tgt SDbackup\
xcopy /h/i/c/k/e/r/y g:\STR.crc SDbackup
xcopy /h/i/c/k/e/r/y g:\STR.edf SDbackup
@ECHO Backup was successful from G: drive
GOTO :end
:H
xcopy /h/i/c/k/e/r/y h:\DATALOG SDbackup\DATALOG\
xcopy /h/i/c/k/e/r/y h:\SETTINGS SDbackup\SETTINGS\
xcopy /h/i/c/k/e/r/y h:\Identification.crc SDbackup\
xcopy /h/i/c/k/e/r/y h:\Identification.tgt SDbackup\
xcopy /h/i/c/k/e/r/y h:\STR.crc SDbackup\
xcopy /h/i/c/k/e/r/y h:\STR.edf SDbackup\
@ECHO Backup was successful from H: drive
GOTO :end
:I
xcopy /h/i/c/k/e/r/y i:\DATALOG SDbackup\DATALOG\
xcopy /h/i/c/k/e/r/y i:\SETTINGS SDbackup\SETTINGS\
xcopy /h/i/c/k/e/r/y i:\Identification.crc SDbackup\
xcopy /h/i/c/k/e/r/y i:\Identification.tgt SDbackup\
xcopy /h/i/c/k/e/r/y i:\STR.crc SDbackup\
xcopy /h/i/c/k/e/r/y i:\STR.edf SDbackup\
@ECHO Backup was successful from I: drive
GOTO :end
:J
xcopy /h/i/c/k/e/r/y J:\DATALOG SDbackup\DATALOG\
xcopy /h/i/c/k/e/r/y J:\SETTINGS SDbackup\SETTINGS\
xcopy /h/i/c/k/e/r/y J:\Identification.crc SDbackup\
xcopy /h/i/c/k/e/r/y J:\Identification.tgt SDbackup\
xcopy /h/i/c/k/e/r/y J:\STR.crc SDbackup\
xcopy /h/i/c/k/e/r/y J:\STR.edf SDbackup\
@ECHO Backup was successful from J: drive
GOTO :end
:end

pause

<end batch file script>
Post Reply Post Reply
#9
RE: SD card data transfer or dump.
Put it down to an age thing.Oh-jeez

Thanks surfer, wish I had your skills.
Post Reply Post Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
Information EzShareApp - CPAP Data Downloader from EzShare SD card for macOS adrianfeeger 24 1,011 11-07-2024, 11:18 PM
Last Post: walshy1009
  Resmed 11 Bluetooth Data Transfer Yılmaz EBEM 0 267 10-18-2024, 02:05 PM
Last Post: Yılmaz EBEM
  Help! OSCAR imports SD card data only ONE DAY AT A TIME iknownothing 2 269 10-03-2024, 06:06 AM
Last Post: iknownothing
  SD card not recording data for Oscar kadcpap 4 412 08-07-2024, 12:01 PM
Last Post: Heaviside
  Help I get -- Connect a flow generator or data card and try again -- what can I do virgilstucker 6 2,739 07-24-2024, 01:40 PM
Last Post: amanjj
  OSCAR can't find data on SD card [solved, see post #24] brucewtb 22 3,970 05-17-2024, 08:53 PM
Last Post: mokeefe734
  Reset Time then Copy Usage Data Back to Card rocosp2000 1 459 05-07-2024, 02:21 PM
Last Post: Crimson Nape


New Posts   Today's Posts


About Apnea Board

Apnea Board is an educational web site designed to empower Sleep Apnea patients.