I use something like that second battery to power my pi, it's just a cell
phone charger, I'm not sure what running it while plugged in does to it's
life.   One could put it on a timer so the power cuts, it drains the
battery for a while, then charges back up if that was advantageous for
battery life...

On Sun, Apr 9, 2017 at 2:39 AM Tom <[email protected]> wrote:

> There are probably other USB power banks which can be charged and
> discharged together. Here are two examples:
> https://www.amazon.com/TeckNet-Universal-16750mAh-Output-PowerZen/dp/B0
> 0FAU7ZB2/ref=pd_cp_107_1?_encoding=UTF8&pd_rd_i=B00FAU7ZB2&pd_rd_r=0JMM
> HXMXK7RYWY9K361K&pd_rd_w=712hM&pd_rd_wg=6mOCV&psc=1&refRID=0JMMHXMXK7RY
> WY9K361K
> <https://www.amazon.com/TeckNet-Universal-16750mAh-Output-PowerZen/dp/B00FAU7ZB2/ref=pd_cp_107_1?_encoding=UTF8&pd_rd_i=B00FAU7ZB2&pd_rd_r=0JMMHXMXK7RYWY9K361K&pd_rd_w=712hM&pd_rd_wg=6mOCV&psc=1&refRID=0JMMHXMXK7RYWY9K361K>
> https://www.amazon.com/PowerTitan-19200mAh3-Port-Portable-External-Tech
> nology/dp/B01B534D4Y/ref=sr_1_1?s=wireless&srs=5713662011&ie=UTF8&qid=1
> 491729627&sr=1-1
> <https://www.amazon.com/PowerTitan-19200mAh3-Port-Portable-External-Technology/dp/B01B534D4Y/ref=sr_1_1?s=wireless&srs=5713662011&ie=UTF8&qid=1491729627&sr=1-1>
> Based on recommendation from this guy:
> http://raspi-ups.appspot.com/en/index.jsp He used older model which is
> no longer available.
> I wonder how smart is the circuit in avoiding the charge/discharge
> battery cycles when the power is on - it relates to the battery life.
> Tomas
> On Sat, 2017-04-08 at 18:57 -0700, Chuck Hast wrote:
> > 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.
> _______________________________________________
> PLUG mailing list
> [email protected]
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to