Page 1 of 1

CumulusMX data location?

Posted: Wed 04 Nov 2020 8:26 pm
by peterbent55
In earlier versions of Cumulus (prior to MX), I could easily backup the data files to an external drive just in case of hard disk or PC failure. I've tried the same tactic with MX by copying the data and backup folders, but the contents of these don't seem to have changed from one day to the next. I can see the data log from within the dashboard, but can't find the equivalent file within the CumulusMX folder, so my question is: which files do I need to copy to ensure safety of the information, and where are they located?

Re: CumulusMX data location?

Posted: Wed 04 Nov 2020 8:38 pm
by freddie
Back up everything in the data folder. That's where the data files are kept.

Re: CumulusMX data location?

Posted: Wed 04 Nov 2020 8:59 pm
by peterbent55
Thanks, all sorted now, found the file Nov20.txt. Don't know why it didn't back up earlier when I tried.

Re: CumulusMX data location?

Posted: Tue 01 Dec 2020 3:23 pm
by radilly
I had a similar question recently and, because I'm running on a Pi, I used the find command to investigate which files were changing. The find command has a lot of options I've used to see what's going in in a filesystem. I thought this might be useful to others. Two similar examples:

Code: Select all

find ~/CumulusMX -mmin -2 -ls
This lists the files modified in the last 2 minutes. For me 32 files. Mostly in CumulusMX/web. Some in "data" and one in "MXdiags" - and two in the root, CumulusMX.

The -2 translates to 2 or less. An unsigned 2 would, more or less, show files last modified between 60 and 120 seconds ago, sort of in the minute before the current minute.

Code: Select all

find ~/CumulusMX -mtime -2 -ls
Same command except "-mmin" is changed to "-mtime", which changes the units from minutes to days. For me that includes 59 files, across these directories:

CumulusMX
CumulusMX/backup
CumulusMX/backup/daily
CumulusMX/backup/daily/20201130000000
CumulusMX/backup/daily/20201201000000
CumulusMX/data
CumulusMX/MXdiags
CumulusMX/web

Over the years find is one of several commands that caused me to install Cygwin (https://www.cygwin.com/) on Windows systems I was using for testing, so I could easily find what files were changing with various constraints added...

Bob