Re: [weewx-user] Create backup image of the running system

2016-12-29 Thread vince
On Thursday, December 29, 2016 at 1:35:54 AM UTC-8, Per Edström wrote: > > Actually, there is not that much info available.. > > There is a 'huge' amount of information available for how to back up a pi, how to back up a sqlite3 database, and how to verify a backup is good and can be restored.

Re: [weewx-user] Create backup image of the running system

2016-12-29 Thread Per Edström
Actually, there is not that much info available.. Isof says one user when Weewx is running but none when Weewx is stopped. A reboot did solve the Lock-problem but I have to stop Weewx on this unit, not the other one.. folke@eBox3350.L5E:~$ sqlite3 /var/lib/weewx/weewx.sdb ".backup

Re: [weewx-user] Create backup image of the running system

2016-12-27 Thread Thomas Keffer
We would need more information to diagnose. Can you post a session that shows this error? Use the command lsof to find what processes hold a file handle to the sqlite database. Something like this should do it: *lsof | grep weewx* -tk On Tue, Dec 27, 2016 at 1:18 PM, Per Edström

[weewx-user] Create backup image of the running system

2016-12-25 Thread Per Edström
I run my Weewx on Raspberry Pi and on a "PC" (Ebox 3350 and Ubuntu 10). Both have the OS on an SD/SDHC-card. Now, I find it messy to create a backup image: 1. Halt system 2. Power down 3. Remove SD-card 4. Put in laptop and create an image to file (5-10 min) 5. Insert SD-card in taget again and