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
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
Saving CumulusMX Data Files Other Then SD Card
Moderator: mcrossley
-
randy52644
- Posts: 53
- Joined: Tue 15 Jan 2013 3:15 am
- Weather Station: Vantage Pro2
- Operating System: Windows 10
- Location: Mt. Union, IA
Saving CumulusMX Data Files Other Then SD Card
Just got CumulusMX running on a RPi this morning and really like what I see. Now I can shut down that power hungry PC!
But am concerned about writing the data.ini files to the SD card for the next several years. I can't find a setting that allows those .ini files to be sent to other than CumulusMX/data.
I do have a server that could be used but must be over looking the path setting to send the files to that location.
Randy
But am concerned about writing the data.ini files to the SD card for the next several years. I can't find a setting that allows those .ini files to be sent to other than CumulusMX/data.
I do have a server that could be used but must be over looking the path setting to send the files to that location.
Randy
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Saving CumulusMX Data Files Other Then SD Card
That's because there isn't one, all of the data files have to be in the data folder in the Cumulus installation folder. As in the thread that Roger has linked to, if you don't want to use an SD card for Cumulus (and not using one is a very good idea), you will need to install Cumulus to a drive attached to the Pi.randy52644 wrote:I can't find a setting that allows those .ini files to be sent to other than CumulusMX/data.
I do have a server that could be used but must be over looking the path setting to send the files to that location.
Steve
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Saving CumulusMX Data Files Other Then SD Card
Actually, you could probably symlink the data folder to a drive on another machine on the network, if you really wanted (or use it as a mount point, or whatever is the correct thing to do in Linux). But having the data folder on a separate machine sounds to me like a recipe for more problems than the risk of SD card corruption.
Steve
-
randy52644
- Posts: 53
- Joined: Tue 15 Jan 2013 3:15 am
- Weather Station: Vantage Pro2
- Operating System: Windows 10
- Location: Mt. Union, IA
Re: Saving CumulusMX Data Files Other Then SD Card
Thank you for the clarification Steve. Since moving from a PC to a RPi, I was hoping to keep my power consumption low. Adding a HD back to the RPi raises that consumption again.
Would mounting a USB flash drive to run MX be better than running from the SD card?
Would mounting a USB flash drive to run MX be better than running from the SD card?
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Saving CumulusMX Data Files Other Then SD Card
I don't whether flash drives are more or less susceptible to failure than SD cards - perhaps someone else will know.
My USB drive is plugged straight into my Pi2, so it can't be using a lot of power.
My USB drive is plugged straight into my Pi2, so it can't be using a lot of power.
Steve
-
randy52644
- Posts: 53
- Joined: Tue 15 Jan 2013 3:15 am
- Weather Station: Vantage Pro2
- Operating System: Windows 10
- Location: Mt. Union, IA
Re: Saving CumulusMX Data Files Other Then SD Card
Steve, is your USB drive a solid-state type drive or one of those old fashion mechanical type with the spinning disk? 
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Saving CumulusMX Data Files Other Then SD Card
It's a 2TB Samsung M3 mechanical drive - I imagine a SSD would use even less power.
Steve
- rogerthn
- Posts: 549
- Joined: Thu 11 Apr 2013 6:31 pm
- Weather Station: Ecowitt GW1000/GW1003
- Operating System: Raspberry Pi OS bullseye aarch64
- Location: Trollhättan Sweden
- Contact:
Re: Saving CumulusMX Data Files Other Then SD Card
Mine is also "spinning rust"
Code: Select all
sudo smartctl -a /dev/sda | grep Model
Model Family: Seagate Momentus 7200.4
Device Model: ST9250410AS

-
randy52644
- Posts: 53
- Joined: Tue 15 Jan 2013 3:15 am
- Weather Station: Vantage Pro2
- Operating System: Windows 10
- Location: Mt. Union, IA
Re: Saving CumulusMX Data Files Other Then SD Card
Thanks to Steve and all that contributed, I'll explore my storage options. Right now I'm having too much fun with the new format.
The greatest thing I have found with Cumulus and now MX is the outstanding author and community support!
A small token of my appreciation has been sent via Pay Pal. If I hadn't spent so much on my wife for Christmas, Steve would have gotten a little more.
The greatest thing I have found with Cumulus and now MX is the outstanding author and community support!
A small token of my appreciation has been sent via Pay Pal. If I hadn't spent so much on my wife for Christmas, Steve would have gotten a little more.
-
thecivvie
- Posts: 39
- Joined: Mon 02 Apr 2012 6:48 pm
- Weather Station: Davis Vantage Vue
- Operating System: Raspberry Pi
- Location: Renvyle, Connemara, Ireland
- Contact:
Re: Saving CumulusMX Data Files Other Then SD Card
Like others, I boot from the Sd card and run of a SSD disc. Basically it is a case of coping everything bar the boot files onto the SSD and editing the stab file. There are some good tutorials on the Pi sites on how to do it. I still back my SD card every now and again.
-
Rayj44
- Posts: 6
- Joined: Mon 07 Apr 2014 6:50 pm
- Weather Station: Davis VP2 and WLL
- Operating System: Raspberry Pi
- Location: Longridge, Lancashire.
- Contact:
Re: Saving CumulusMX Data Files Other Then SD Card
I've also been running CumulusMX on a RPi for several weeks. I've always been concerned about losing all my precious historical data, and previously backed it up regularly from the windows PC.
I pull the data files off the RPi onto my NAS on a regular basis using the Pi rsync server.
I pull the data files off the RPi onto my NAS on a regular basis using the Pi rsync server.
Last edited by Rayj44 on Thu 31 Dec 2015 7:39 pm, edited 1 time in total.
-
jank
- Posts: 239
- Joined: Sat 13 Jun 2015 5:57 pm
- Weather Station: FineOffset WS3080
- Operating System: Debian Buster - Raspbian - Raspb
- Location: Germany - nearby Kassel
Re: Saving CumulusMX Data Files Other Then SD Card
Hi
I also want to share something regarding this topic
Linux (Debian) is having a build in command to realize such frequent backups.
For example, when you have a USB Stick plugged in and it is mounted into /mnt/usb on your Raspberry Pi
(CumulusMX is still running on a SD Card)
Create a new cronjob with: crontab -e and insert this line
00 */1 * * * sudo rsync -rtagu /home/pi/CumulusMX/ /mnt/usb/CumulusMX_Sync/ --exclude=MXdiags --exclude backup
this command will sync the complete CumulusMX Folder every hour to your USB Stick into the Folder CumulusMX_Sync.
It will not sync any MXDiags.
The advantage of the Rsync command is, only changed data will be synced - this means: it will not backup all files every hour, only the files changes since last rsync.
In case someone feels more secure creating a daily zip backup in addition to this hourly sync, please let me know and I will post the command here.
Alternatively, install the cumulusmx.sh script https://cumulus.hosiene.co.uk/viewtopic.php?f=27&t=13767 and call this script in your crontab with these parameters
59 23 * * * sudo /CumulusMX/cumulusmx.sh -b -z >> /dev/null 2>&1
It will create a daily backup of the CumulusMX folder around midnight and additionally, you can define, how many old backups should remain, for example: 5.
This will delete all Backups older than 5 days
Jan
I also want to share something regarding this topic
Linux (Debian) is having a build in command to realize such frequent backups.
For example, when you have a USB Stick plugged in and it is mounted into /mnt/usb on your Raspberry Pi
(CumulusMX is still running on a SD Card)
Create a new cronjob with: crontab -e and insert this line
00 */1 * * * sudo rsync -rtagu /home/pi/CumulusMX/ /mnt/usb/CumulusMX_Sync/ --exclude=MXdiags --exclude backup
this command will sync the complete CumulusMX Folder every hour to your USB Stick into the Folder CumulusMX_Sync.
It will not sync any MXDiags.
The advantage of the Rsync command is, only changed data will be synced - this means: it will not backup all files every hour, only the files changes since last rsync.
In case someone feels more secure creating a daily zip backup in addition to this hourly sync, please let me know and I will post the command here.
Alternatively, install the cumulusmx.sh script https://cumulus.hosiene.co.uk/viewtopic.php?f=27&t=13767 and call this script in your crontab with these parameters
59 23 * * * sudo /CumulusMX/cumulusmx.sh -b -z >> /dev/null 2>&1
It will create a daily backup of the CumulusMX folder around midnight and additionally, you can define, how many old backups should remain, for example: 5.
This will delete all Backups older than 5 days
Jan
- rogerthn
- Posts: 549
- Joined: Thu 11 Apr 2013 6:31 pm
- Weather Station: Ecowitt GW1000/GW1003
- Operating System: Raspberry Pi OS bullseye aarch64
- Location: Trollhättan Sweden
- Contact:
Re: Saving CumulusMX Data Files Other Then SD Card
Maybe something like below in /etc/fstab?
/etc/NAScredentials should contain
and it should be owned by root and maybe
Then
i.e. you can send your backups to the NAS 
Code: Select all
//NAS/Share /NASbackup cifs uid=1000,gid=1000,credentials=/etc/NAScredentials,file_mode=0777,dir_mode=0777 1 3Code: Select all
username=NASuser
password=NASpassw0rdCode: Select all
chmod 600 /etc/NAScredentialsCode: Select all
sudo mkdir /NASbackup
sudo mount -a
-
jank
- Posts: 239
- Joined: Sat 13 Jun 2015 5:57 pm
- Weather Station: FineOffset WS3080
- Operating System: Debian Buster - Raspbian - Raspb
- Location: Germany - nearby Kassel
Re: Saving CumulusMX Data Files Other Then SD Card
We are on linux, so we can / should use nfs instead of cifs.....it's easier fomr the syntaxrogerthn wrote:Maybe something like below in /etc/fstab?
192.168.193.1:/export/Backup /mnt/Backup nfs rsize=1500,wsize=1500,timeo=14,intr 0 0