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
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
there's a lot more than four files on there.
Post Reply Post Reply
#3
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
(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
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
Thanks Frank, will save that for a day I have a clear head.
Post Reply Post Reply


#7
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
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
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
  Error dowloading data from Sd card for system one machine dangood_47 4 504 11-14-2017, 04:07 PM
Last Post: Sleeprider
  Cumulative historical data limits for SD card and hard-drive access 2SleepBetta 0 220 11-10-2017, 05:58 AM
Last Post: 2SleepBetta
Cool Recommendation: FlashAir and Flashpap - Wifi data transfer from CPAP to PC/Sleepyhead mogulman 34 2,184 10-27-2017, 11:44 AM
Last Post: Spy Car
Angry EncoreBasic SD card problem [non-PR card?] medinamike 5 242 10-08-2017, 12:04 AM
Last Post: SuperSleeper
  Unable to Download Data Card to EncorePro fwg1947 3 337 07-10-2017, 10:15 AM
Last Post: fwg1947
  Sleepyhead doesn't pickup card data Surfbear 21 1,317 06-15-2017, 08:04 AM
Last Post: Surfbear
  wireless data instead of moving memory card xxyzx 8 778 05-10-2017, 06:58 AM
Last Post: AlanE

Forum Jump:

New Posts   Today's Posts




About Apnea Board

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

For any more information, please use our contact form.