I can make it, but without field names, so does not import correctly...is it doable?
If so, clues?
Thanks.
Make CSV in 1.36 suitable for 1.37?
-
- Posts: 1236
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: Make CSV in 1.36 suitable for 1.37?
What are we talking about here? CSV of what?
The only csv I can think of is the events list which isn't importable...
The only csv I can think of is the events list which isn't importable...
-
- Posts: 1236
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: Make CSV in 1.36 suitable for 1.37?
Sorry. Monitors
No zones.
Suitable for the 1.37 import function, if it's working.
No zones.
Suitable for the 1.37 import function, if it's working.
Re: Make CSV in 1.36 suitable for 1.37?
Are you referring to the import on the add_monitors view?
I'm really confused. What are you using to do the export/import? I'm not aware of this existing. Is it something you've written?
I don't think I've changed any fields other than Function and Enabled. But the columns are still there, so an sql dump/restore should still work.
I'm really confused. What are you using to do the export/import? I'm not aware of this existing. Is it something you've written?
I don't think I've changed any fields other than Function and Enabled. But the columns are still there, so an sql dump/restore should still work.
-
- Posts: 1236
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: Make CSV in 1.36 suitable for 1.37?
Right.Are you referring to the import on the add_monitors view?
export from 1.36:
mysqldump -h localhost -u root --tab=. zm Monitors > Monitors.txt
import add_monitors csv
It created the monitors, but the fields were wrong. Then I noticed the fields were not specified in the 1.36 csv.
Yeah, sorry to bother about it - I just somehow had not noticed the csv thing, so wanted to try it.I don't think I've changed any fields other than Function and Enabled. But the columns are still there, so an sql dump/restore should still work.
Re: Make CSV in 1.36 suitable for 1.37?
That import was something quickly convoluted together for tesla not as a complete db dump... I thought the fields were specified in the import pop-up so youd have to make sure it matched. Def needs work