Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

Two Directories at once?

Discussion specific to Oregon Scientific weather stations
Greg_M
Posts: 22
Joined: Tue Mar 28, 2017 1:34 pm
Weather Station: WMR968
Operating System: Windows XP SP3

Two Directories at once?

Postby Greg_M » Mon Jun 26, 2017 6:11 pm

Cumulus
Configuration
Internet
Sites/Options
Directory

Is it possible to put two directory addresses on that line and have the data uploaded to two places at once?
The addresses are on two of my domains on the same server.
Just trying to move from one domain to the other.
Will it do it?

User avatar
steve
Cumulus Author
Posts: 26254
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: On tour in France
Contact:

Re: Two Directories at once?

Postby steve » Mon Jun 26, 2017 6:14 pm

No. But you could add all the files to the 'extra files' and specify another path there.
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

freddie
Posts: 263
Joined: Wed Jun 08, 2011 11:19 am
Weather Station: Davis Vantage Pro 2
Operating System: GNU/Linux (Ubuntu 17.04)
Location: Hyssington, Powys, UK
Contact:

Re: Two Directories at once?

Postby freddie » Mon Jun 26, 2017 9:35 pm

... or you could use a symbolic link on the server to link the two directories.
Freddie
Image

Greg_M
Posts: 22
Joined: Tue Mar 28, 2017 1:34 pm
Weather Station: WMR968
Operating System: Windows XP SP3

Re: Two Directories at once?

Postby Greg_M » Tue Jun 27, 2017 12:17 pm

freddie wrote:... or you could use a symbolic link on the server to link the two directories.



What's that?

freddie
Posts: 263
Joined: Wed Jun 08, 2011 11:19 am
Weather Station: Davis Vantage Pro 2
Operating System: GNU/Linux (Ubuntu 17.04)
Location: Hyssington, Powys, UK
Contact:

Re: Two Directories at once?

Postby freddie » Tue Jun 27, 2017 1:00 pm

Greg_M wrote:
freddie wrote:... or you could use a symbolic link on the server to link the two directories.
What's that?
It's like a file system pointer from one directory to the other. If your two locations on the file system are:

Code: Select all

/var/www/site1
and

Code: Select all

/var/www/site2

and you were sending your Cumulus data to the first location, then (on a Linux system) you would issue the following command:

Code: Select all

ln -s /var/www/site1 /var/www/site2

This would "soft link" the second location to the first such that they both point to the same location on the filesystem. That way, your data appears to a user of the filesystem to be in both locations at once. That means you only need to place your Cumulus data in the first location, and it will appear to exist at the second one too.

There is a good write-up on Wikipedia - https://en.wikipedia.org/wiki/Symbolic_link - which also shows you the command to use if your web server is a Windows platform and not Linux.

HTH!
Freddie
Image

Greg_M
Posts: 22
Joined: Tue Mar 28, 2017 1:34 pm
Weather Station: WMR968
Operating System: Windows XP SP3

Re: Two Directories at once?

Postby Greg_M » Tue Jun 27, 2017 7:55 pm

Sounds over my pay scale, but thanks.

Guess I'll get things all set and then take a down day and switch over.
Thanks for trying
G


Return to “Oregon Scientific”

Who is online

Users browsing this forum: No registered users and 1 guest