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

Auto backup of SD card to Dropbox using FlashAir
#1
Auto backup of SD card to Dropbox using FlashAir
I tried searching but couldn't find what I'm after exactly.

Just wondering if anyone has attempted to automatically backup their SD card to Dropbox or similar using a FlashAir WiFi capable SD card connecting directly to the internet in infrastructure mode or similar. This should be possible without having to manually instigate it from a PC each time like Flashpap does so well.

Would be great to be able to do this and then whenever you want to analyse info through PC software then the data is available without having to place your SD card in the PC or manually copy it.

Seems to be less of an issue now that I can see my AirSense 10 stores months or more of data rather than the 1 month I was led to believe initially, but would still be handy.

Post Reply Post Reply
#2
RE: Auto backup of SD card to Dropbox using FlashAir
(06-12-2016, 08:43 PM)karmann Wrote: I tried searching but couldn't find what I'm after exactly.

Just wondering if anyone has attempted to automatically backup their SD card to Dropbox or similar using a FlashAir WiFi capable SD card connecting directly to the internet in infrastructure mode or similar. This should be possible without having to manually instigate it from a PC each time like Flashpap does so well.

I doubt you could fully automate it, there's not much smarts inside a small card for that, though it does have a web server. I just use flashpap and have it set to that it goes straight to my Dropbox.

I still back it up on several other hard drives anyway. Decades of IT help desk makes me very paranoid about backing stuff up. Good thing too, since I did manage to nuke the directory from my Dropbox once.

Ed Seedhouse
VA7SDH

Part cow since February 2018.

Trust your mind less and your brain more.


Post Reply Post Reply
#3
RE: Auto backup of SD card to Dropbox using FlashAir
I realize that your question is directed at FlashPAP but I thought I'd throw this out here. I use Sleep Master in lieu of FlashPAP. It has an option to perform a scheduled download. If Dropbox (I don't use it) acts like Google Drive and provides a directory listing in Explorer, then you could setup your home computer to automatically download the data to it. Again that is assuming that you have a home computer that is always connected.

Crimson Nape
Apnea Board Moderator
www.ApneaBoard.com
___________________________________
Useful Links -or- When All Else Fails:
The Guide to Understanding OSCAR
OSCAR Chart Organization
Attaching Images and Files on Apnea Board
Apnea Helpful Tips

INFORMATION ON APNEA BOARD FORUMS OR ON APNEABOARD.COM SHOULD NOT BE CONSIDERED AS MEDICAL ADVICE. ALWAYS SEEK THE ADVICE OF A PHYSICIAN BEFORE SEEKING TREATMENT FOR MEDICAL CONDITIONS, INCLUDING SLEEP APNEA. INFORMATION POSTED ON THE APNEA BOARD WEB SITE AND FORUMS ARE PERSONAL OPINION ONLY AND NOT NECESSARILY A STATEMENT OF FACT.
Post Reply Post Reply
#4
RE: Auto backup of SD card to Dropbox using FlashAir
(06-12-2016, 09:04 PM)eseedhouse Wrote:
(06-12-2016, 08:43 PM)karmann Wrote: I tried searching but couldn't find what I'm after exactly.

Just wondering if anyone has attempted to automatically backup their SD card to Dropbox or similar using a FlashAir WiFi capable SD card connecting directly to the internet in infrastructure mode or similar. This should be possible without having to manually instigate it from a PC each time like Flashpap does so well.

I doubt you could fully automate it, there's not much smarts inside a small card for that, though it does have a web server. I just use flashpap and have it set to that it goes straight to my Dropbox.

I still back it up on several other hard drives anyway. Decades of IT help desk makes me very paranoid about backing stuff up. Good thing too, since I did manage to nuke the directory from my Dropbox once.

Unfortunately I'm not able to posts links just yet but if you google 'flashair dropbox' you will find a page on the flashair developers website talking about LUA scripting which seems to allow you to write a script that runs on the Flashair SD card and perform functions such as copy files, etc. So it is surprisingly quite a powerful tiny device.

I am just as paranoid with backups and do similar Smile
Post Reply Post Reply
#5
RE: Auto backup of SD card to Dropbox using FlashAir
(06-12-2016, 09:18 PM)Crimson Nape Wrote: I realize that your question is directed at FlashPAP but I thought I'd throw this out here. I use Sleep Master in lieu of FlashPAP. It has an option to perform a scheduled download. If Dropbox (I don't use it) acts like Google Drive and provides a directory listing in Explorer, then you could setup your home computer to automatically download the data to it. Again that is assuming that you have a home computer that is always connected.

The method I'm looking to use is not using FlashPAP at all, mainly because I can go weeks without using my Windows PC sometimes so an automatic upload to dropbox without intervention seems quite appealing to me.

Post Reply Post Reply
#6
RE: Auto backup of SD card to Dropbox using FlashAir
If your computers remains on, you can initiate FlashPap through the task scheduler (Linux has cron). Even if you are not logged on. That's what I do with mine. You have to setup FlashPap one time to set the IP of your FlashAir and where to copy the data and after that, using parameters (arguments), it runs unattended.

Every morning at 9am it runs FlashPap with parameters user=Alan exit=yes. Copies my CPAP data to my local SD card. I could just as easily have it copy to my dropbox though.

user is the profile in Sleeyhead
exit tells FlashPap to exit after it transfers.

[Image: flashpap_scheduler.PNG]


There is no easy way to do it with LUA scripting because LUA on Flashair is limited due to the memory available to run scripts. Flashair doesn't support the complete LUA library. You can use LUA_SD_EVENT=/myscript.lua which triggers after every file write but I'm not sure it will trigger after an existing file is modified. As karmann wrote LUA can upload files to dropbox but it would attempt to upload every file every time and could become a painfully long process as you get more data on the card.

Hmm FlashPap on a Raspberry PI. Then you can just leave the PI on the rack and forget about it.

Using FlashAir W-03 SD card in machine. You can download your data through wifi with FlashPAP or Sleep Master utilities.

I wanted to learn Binary so I enrolled in Binary 101. I seemed to have missed the first four courses. Big Grinnie

Stick it to the man, Download OSCAR and take back control of your data!

Thanks Ian. Like I didn't have enough Honey-Do projects to tackle. Mornincoffee
Post Reply Post Reply
#7
RE: Auto backup of SD card to Dropbox using FlashAir
Thanks for the detailed responses. As mentioned, I can go weeks or more without switching on my PC so that's why I was looking for a solution to go direct from FlashAir to the Dropbox cloud service. But I will take another look at Flashpap.

Post Reply Post Reply
#8
RE: Auto backup of SD card to Dropbox using FlashAir
(06-13-2016, 10:53 PM)karmann Wrote: Thanks for the detailed responses. As mentioned, I can go weeks or more without switching on my PC so that's why I was looking for a solution to go direct from FlashAir to the Dropbox cloud service. But I will take another look at Flashpap.

Well the machine has the "smarts" to upload data to the cloud, because it does that every morning to Resmed's servers for MyAir. But it uses the cell phone system, not WIFI and does not connect to the internet which it would need to be connected to send to DropBox.
Ed Seedhouse
VA7SDH

Part cow since February 2018.

Trust your mind less and your brain more.


Post Reply Post Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  OSCAR data backup strategy matt2 2 95 03-18-2024, 10:32 AM
Last Post: LoudSnorer
  Flashair - Dreamstation -> Airsense 11 Autoset todivefor 14 656 02-28-2024, 07:22 PM
Last Post: Crimson Nape
  [split] FYSETC SD Wifi - Possible FlashAir Replacement Psikic 131 21,124 01-12-2024, 11:59 AM
Last Post: scowell
  FlashPAP - FlashAir WiFi SD card utility TiredToo 296 94,910 10-05-2023, 06:54 AM
Last Post: olddog27
  Oscar cannot read SD card and SD card cannot be read by PC BlueSky1958 1 641 08-21-2023, 06:41 PM
Last Post: Sleeprider
  Oscar cannot read card - card cannot be read by PC BlueSky1958 3 549 08-21-2023, 01:02 PM
Last Post: Crimson Nape
  looking for FlashAir W-04 16GB SD_card image Dog Slobber 3 795 06-03-2023, 08:21 AM
Last Post: Dog Slobber


New Posts   Today's Posts


About Apnea Board

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