I use a modified version of Jeremy Blythe's Motion Uploader code to copy a
backup of the database to Google Drive. See his blog here
<http://jeremyblythe.blogspot.com/2015/06/motion-google-drive-uploader-for-oauth.html>for
full instructions. You can find my mods in Github here
<https://github.com/PeterQuinn925/Jevois_yolo/blob/master/uploader.py>.

I manually backup the config files since they don't change.

I have a script that stops weewx at 3am, copies the database to a backup,
restarts weewx, and then calls the uploader to copy the database to google
drive.

I periodically go to the google drive and clean out old backups.




On Tue, Jul 30, 2019 at 4:12 AM Ton Karsten <[email protected]> wrote:

> Hello, I am looking for a script or program that can upload the Weewx
> database and configuration settings on Google Drive every day.
> I use Weewx on a Raspberry Pi with Debian system.
> The advantage is that I do not need a NAS at home and do not need any
> extra energy. I am not experienced with Linux, so with very limited
> knowledge.
>
> Ton
>
> --
> 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/7a444a3a-b98e-4347-9403-169beae5f30c%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/7a444a3a-b98e-4347-9403-169beae5f30c%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Peter Quinn
(415)794-2264

-- 
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/CAA1SM20Dwj4F4FFgzQ7VQ1RmTzuzTjBjK1Tv1jd7sHLzWDf6hQ%40mail.gmail.com.

Reply via email to