Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Data Folder Location

Discussion and questions about Cumulus weather station software version 1. This section is the main place to get help with Cumulus 1 software developed by Steve Loft that ceased development in November 2014.
Post Reply
timsoles
Posts: 11
Joined: Mon 13 Jul 2009 6:51 pm
Weather Station: W-8681
Location: Windsor, Berkshire

Data Folder Location

Post by timsoles »

Hi,

Can the location of the data folder be changed?

I try to keep anything that needs to be backed up, including all my email data, in My Documents. That way, I know that if I just backup My Documents, then everything important is saved off my PC.

In the event that the location of the folder cannot be changed, would some kind person knock me out a simple batch file to copy the Data Folder to My Documents - I tried to write one but my DOS skills are a bit rusty. I would then put the batch file in Scheduled Tasks.

Cheers,

Tim
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Data Folder Location

Post by steve »

timsoles wrote:Can the location of the data folder be changed?
No, I'm afraid not, it didn't occur to me at the time that people might want to put it somewhere else - which is perfectly reasonable thing to want to do, I admit.

I'm not a batch file expert, so I'll leave that bit to someone else!
Steve
User avatar
daj
Posts: 2041
Joined: Tue 29 Jul 2008 8:00 pm
Weather Station: WH1081
Operating System: Pi & MX
Location: SW Scotland
Contact:

Re: Data Folder Location

Post by daj »

timsoles wrote:In the event that the location of the folder cannot be changed, would some kind person knock me out a simple batch file to copy the Data Folder to My Documents - I tried to write one but my DOS skills are a bit rusty. I would then put the batch file in Scheduled Tasks.
Firstly, create a subfolder in your MyDocuments -- I will assume 'CumulusBackupData' here

I will assume Cumulus is installed in c:\program files\Cumulus

Open Notepad -- Start, Run, Notepad

type the following command

Code: Select all

xcopy "c:\program files\cumulus\data" "%homepath%\CumulusBackupData\"  /s/e/y/q
Click File, Save and give the file a name with .BAT at the end and save it somewhere. You can then run this as a scheduled task as normal. It will copy everything in the Cumulus\Data folder to the folder CumulusBackupData in your MyDocuments

If you want to see what it is coping drop the /q at the end of the command

Hope this helps -- any questions, let me know
David
kippfordweather.uk
Cumulus MX & Raspberry Pi
timsoles
Posts: 11
Joined: Mon 13 Jul 2009 6:51 pm
Weather Station: W-8681
Location: Windsor, Berkshire

Re: Data Folder Location

Post by timsoles »

David,

That's great - just what I wanted.

I had to add "My Documents" to the destination path, otherwise it created a new folder elsewhere.

I'm now having a problem setting up the Scheduled Task (Win XP). The error message is Access is Denied, You do not have permission to perform the requested operation. Seems to be a known problem - Google comes up with several solutions which I will try this evening.

Thanks again,

Tim
User avatar
daj
Posts: 2041
Joined: Tue 29 Jul 2008 8:00 pm
Weather Station: WH1081
Operating System: Pi & MX
Location: SW Scotland
Contact:

Re: Data Folder Location

Post by daj »

timsoles wrote:I had to add "My Documents" to the destination path, otherwise it created a new folder elsewhere.
Oops -- should have mentioned that -- some PCs take it straight to MyDocuments, others to the parent folder. It depends on how it is setup.
David
kippfordweather.uk
Cumulus MX & Raspberry Pi
Post Reply