For some time, I was looking for an easy and independent (from weewx) way to automatically backup my weewx data, as I do not want to lose data if the Micro SD breaks down. Recently, I found this small repo <https://github.com/PapyLeCelte/Weewx-Backup> on github which only contains a backup script file. It mounts a USB drive, stops weewx, creates an archived backup of the most relevant user files and folders on the USB drive, unmounts the drive and restarts weewx.
This was almost perfect for me, but I had to introduce some changes to make it suitable for my environment. I forked it <https://github.com/jnstllng/Weewx-Backup> to make it available for others. It now does the following: 1. Stop weewx 2. Create an archived backup on a mounted network drive (under /home/pi/Shares/Temp) 3. Start weewx I tested it manually and running via crontab on my RasPi 3B. Maybe this is useful for some of you... -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/2671c065-719a-4435-9657-06841af8fed7n%40googlegroups.com.
