On Sat, Apr 8, 2017 at 3:42 PM, Tom <[email protected]> wrote:
> dd nor rsync alone will not be able to do full backup of running > computer (RPi). > That was what I figured, just wanted to make sure. > The best course of action is to separate the OS from your data - > whatever your RPi is normally writing - then backup each separately. > * When you separate the data, you could even store it off the RPi > avoiding need for local data backups on RPi altogether. > The drive has two partitions on it /boot and /. /boot is a vfat, the rest of it is ext4. I supposed that I could stop the service (weather data capture) back up the files that are critical to the weather station.After the back up is done start the service again. Maybe store them on a jump drive and after the station service is back up and running ship them off to the location I will keep the back ups in. I figure that I could do the back up in the wee hours of the morning. > * If you want to keep the data on RPi, you could back it up by rsync > to separate media (USB) or a network storage > * You cannot back up the OS while you are using it - that is why this > is normally done on a separate computer. It is easier and faster than > booting your RPi from USB or network and then doing the backup. > * Perhaps the OS does not need to be backed up often or not at all as > you could simply create separate OS image, even on another SD card > attached to your Pi. > All I really need for recovery is the WeeWx db file, WeeWx config file, skins file and the nginx configuration. I could actually keep a separate image and just insert the latest files and quickly swap out the bad SD card. That should take care of it. I should be able to automate the OS configuration, so that I just run a script it looks for the SD card, installs the OS makes sure that the parameters that I set manually on installation are set correctly, probably can automate the whole process. * Your backup target/media could be another SD card connected to RPi > in a SD card reader, that way you could just swap the cards .... > Thinking outside of a box - perhaps you need little UPS for your Pi to > avoid regular data corruption altogether. There are some USB charging > batteries which can be charged and used both at the same time (most can > be either charged or used, not both). Modest battery could keep your > Pi running for hours. > I have been looking for a battery pack that will allow me to let it float on the powersupply until power goes away, then it takes over. So far all of them that I have looked at will not switch between charge/float/discharge. I have seen a couple that plug into the pin field on the RPi, but I am trying to keep the case clean. I have built up a power supply with a battery on it, and a heavy duty USB dual port power cartridge that supplies the power I need for the RPi and the WX station console. It is kind of big, I am certainly looking for one of the power pack batteries that does not care if it is being charged or not. > I hope that this is pointing you in the right direction to your > particular circumstances. Yes it confirmed most of what I was already suspecting. Now if I can just find a nice clean battery pack that meets the above requirement. -- Chuck Hast -- KP4DJT -- Glass, five thousand years of history and getting better. The only container material that the USDA gives blanket approval on. _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
