Hi Sean,

I'm using influxdb for quite some time, Since my app working fine for long time 
i forgot to upgrade my db, lately i had an issue which forces me to backup the 
db, i neither can backup or migrate. I dont see any info regarding the version 
0.8.8. 

All i found was using curl command i can load all the data to a json file, but 
i dont see a way to write it to new version of db, i also tried installing new 
version of influx and tried writing the info like below

db_str =[{"points": [[2016,1,2,3]],                                             
                                                    
                   "name": "ionos-test",
                   "sequence_number": 2724430001,
                   "columns": ["time","total", "val1", "val2"]}]

but i hit below error, what l learnt from below error is , db is expecting time 
in diff format, but my json has only epoc

"InfluxDBClientError: 400: json: error calling MarshalJSON for type time.Time: 
Time.MarshalJSON: year outside of range [0,9999]" 

i stuck very badly please let me know how to migrate to newer version which has 
backup option. At lease in worst case please suggest me how can i back up and 
restore. I prefer upgrade becase its time series data.

Thank you very much.
manny

On Thursday, March 17, 2016 at 12:04:10 AM UTC+5:30, Sean Beckett wrote:
> On Wed, Mar 16, 2016 at 8:37 AM,  <[email protected]> wrote:
> I am performing zero-downtime upgrade using scenario #2 from this presentation
> 
> (slide #13, 
> http://www.slideshare.net/SeanBeckett4/influxdb-upgrade-to-010-considerations)
> 
> 
> 
> My current config:
> 
> running influxdb-0.10.3-1
> 
> data files in bz1 format created by influxdb-0.9.6.1
> 
> 
> 
> I have updated InfluxDB binary, started it and see that it continues to write 
> to existing data file in bz1 format.
> 
> 
> 
> How do I start a new data file in tsm1?
> 
> Or the only option is to wait until Influxdb desides to start a new shard?
> 
> 
> 
> Yes, when the shards roll over the new shard file will be TSM format.
>  
> 
> 
> I don't see option 'engine = tsm1' in a new configuration file and I don't 
> feel like trying to use this on new setup.
> 
> 
> 
> There is no configuration option because there is no choice. All new shard 
> files will be TSM files. Existing b1/bz1 files will be written to until they 
> go cold for writes, at which time you can convert them to TSM.
>  
> 
> 
> Thanks!
> 
> 
> 
> --
> 
> Remember to include the InfluxDB version number with all issue reports
> 
> ---
> 
> You received this message because you are subscribed to the Google Groups 
> "InfluxDB" group.
> 
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> 
> To post to this group, send email to [email protected].
> 
> Visit this group at https://groups.google.com/group/influxdb.
> 
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/influxdb/b8454246-82d4-4ec5-babb-e1b96a7ef4ba%40googlegroups.com.
> 
> For more options, visit https://groups.google.com/d/optout.
> 
> 
> 
> 
> 
> -- 
> 
> 
> Sean Beckett
> Director of Support and Professional Services
> InfluxDB

-- 
Remember to include the InfluxDB version number with all issue reports
--- 
You received this message because you are subscribed to the Google Groups 
"InfluxDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/influxdb/4fdfb344-9837-4d64-b763-8418d7216eaf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to