[weewx-user] Re: Image backup vs database
I have backed up my Pi a number of times with the SD Copier utility with* both* the Pi running and while it's running weewx. I always test the backup SD after creating it and it's never failed. Perhaps backing up an operational system "live" isn't the wisest thing to do, but it worked for me 5-6 times or more. I do have daily cron jobs backing up any custom scripts, config files, etc. and the database to a NAS, but that's just in case I mess them up with an edit mistake, etc. The SD Copier is, I'm pretty sure, a bit-per-bit dd backup of the SD card and probably only needs to be done after major upgrades. My thought process is that if the operational SD card gets corrupted, you can swap in SD Copier created backup, restore weewx.sdb from "yesterday" and be back in operation on less than 30 minutes. - Paul VE1DX On Friday, January 10, 2020 at 2:23:31 PM UTC-4, Keimpe Bleeker wrote: > > Hi Weewx users, > > Rather new to Raspberry, supernew to Weewx (to replace my Windows > WeatherDisplay system, based on Davis Vantage Pro2 [https://oentsjerk.eu];). > My Weewx [https:oentsjerk.eu/wwx/] will come to life after version Weewx > 4.# is available and I am able to import my historical data from > Wunderground. So there is some time to tune. > > I'm running a script in a cronjob once a day, to backup the advised Weewx > files to my NAS. It's working nice in backup as well for the (manual) > restore. I also should like to backup an image of the SDcard once a week. > Is it necessary to shut down Weewx before the image backup is running, to > be safe the database will not will be affected by the backup process? > > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/c1e6f7d0-d7ac-4840-b4db-c31b40779030%40googlegroups.com.
[weewx-user] Re: Image backup vs database
Hi all, Thank you for your advice. I now only backup an image after a major change and create a log for the smaller changes. With a logbook and the daily backup of the files specified by Weewx, things have to go well. Regards, Keimpe Op vrijdag 10 januari 2020 19:23:31 UTC+1 schreef Keimpe Bleeker: > > Hi Weewx users, > > Rather new to Raspberry, supernew to Weewx (to replace my Windows > WeatherDisplay system, based on Davis Vantage Pro2 [https://oentsjerk.eu];). > My Weewx [https:oentsjerk.eu/wwx/] will come to life after version Weewx > 4.# is available and I am able to import my historical data from > Wunderground. So there is some time to tune. > > I'm running a script in a cronjob once a day, to backup the advised Weewx > files to my NAS. It's working nice in backup as well for the (manual) > restore. I also should like to backup an image of the SDcard once a week. > Is it necessary to shut down Weewx before the image backup is running, to > be safe the database will not will be affected by the backup process? > > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/15d9610c-9775-45e9-a1a1-cec1a97a531f%40googlegroups.com.
[weewx-user] Re: Image backup vs database
You can backup a sd card while the raspberry pi is running all you need is a usb reader/writer for the new sd card and the program "SD Card Copier." Which you can get with sudo apt-get. I use it on all my 10 running pi's. Jerry On Friday, January 10, 2020 at 11:23:31 AM UTC-7, Keimpe Bleeker wrote: > > Hi Weewx users, > > Rather new to Raspberry, supernew to Weewx (to replace my Windows > WeatherDisplay system, based on Davis Vantage Pro2 [https://oentsjerk.eu];). > My Weewx [https:oentsjerk.eu/wwx/] will come to life after version Weewx > 4.# is available and I am able to import my historical data from > Wunderground. So there is some time to tune. > > I'm running a script in a cronjob once a day, to backup the advised Weewx > files to my NAS. It's working nice in backup as well for the (manual) > restore. I also should like to backup an image of the SDcard once a week. > Is it necessary to shut down Weewx before the image backup is running, to > be safe the database will not will be affected by the backup process? > > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/5e7b8ee5-5dfc-47c3-aabc-c5b9606f8bdc%40googlegroups.com.