sending data to 2 remote servers

135 views
Skip to first unread message

Phil D

unread,
Dec 20, 2021, 3:15:27 AM12/20/21
to weewx-user
Hello everyone
I am using weewx sending data to a remote server via the rsync protocol.

I need to send some other data (HTML pages, txt files) to another remote server.
Is it possible ? how to do it ? by the FTP protocol? and how to target to send only the useful data to the 2nd server?

Thanks for your help

Phil

Tom Keffer

unread,
Dec 20, 2021, 5:36:11 PM12/20/21
to weewx-user
I've never tried it, but I don't see why you can't have two different reports, each of which uses the rsync skin. Something like this (NOT TESTED):

    # The first report is as before:
    [[RSYNC]]
        skin = Rsync
        enable = true
        server = server1.acme.com
        user = joe
        path = /home/joe/weewx

    # A second report with a different server:
    [[RSYNC2]]
        skin = Rsync
        enable = true
        server = server2.acme.com
        user = jane
        path = /home/jane/weewx

-tk

--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/b72a3c38-1cf2-4232-b1d5-9278bb0d3409n%40googlegroups.com.

Phil D

unread,
Dec 24, 2021, 1:26:29 AM12/24/21
to weewx-user
It works perfectly
Many Thanks
Phil
Reply all
Reply to author
Forward
0 new messages