atmosx
Posts: 24
Joined: Mon Aug 06, 2012 1:36 pm
Location: Greece

Secure data integrity with RPi

Wed May 14, 2014 11:01 am

Hello,

I am writing a RoR application for internal office use. It will serve, at the beginning, up to 10 clients simultaneously max.

The data however is sensitive. I use PostgreSQL server. What is the best way to avoid data-loss by sdcard failure since the SDHC may fail at any given time?

Of course I use daily - might turn to hourly - backups, but other than that?

thanks

SteveSpencer
Posts: 351
Joined: Thu Mar 28, 2013 9:19 am
Location: Nottingham, UK

Re: Secure data integrity with RPi

Wed May 14, 2014 11:19 am

At the risk of sounding fatuous, don't store it on the SD card. Instead, store it on a USB drive. This can be a flash drive, or a real disk drive.
Either of those would allow you to have your root FS on the USB device as well, so effectively, apart from firmware updates, your SD card is never being written to.
Steve S
No, I can't think of anything funny that won't offend someone if they want it to...

User avatar
FLYFISH TECHNOLOGIES
Posts: 1750
Joined: Thu Oct 03, 2013 7:48 am
Location: Ljubljana, Slovenia
Contact: Website

Re: Secure data integrity with RPi

Wed May 14, 2014 5:38 pm

Hi,
atmosx wrote:What is the best way to avoid data-loss
I vote for replication, whenever possible.


Best wishes, Ivan Zilic.
Running out of GPIO pins and/or need to read analog values?
Solution: http://www.flyfish-tech.com/FF32

Return to “General discussion”