Giter Site home page Giter Site logo

influxdb-backup's Issues

Performance?

Hi,

I haven't tried influxdb-backup yet but I'm wondering how fast is it? Say you have tens of million records in the DB - would it perhaps be a better idea then to simply do a whole drive backup/restore instead of using influxdb-backup?

Thanks

Can't unmarshal array into Go value

I'm not sure if this is an influxdb problem, or an influxdb-backup problem.

If you attempt to restore the following file, you get the following error:

2014/10/15 15:54:55 json: cannot unmarshal array into Go value of type string


influxdb-restore -database herp -password='correct-horse-battery-staple -username='derp' -host='influxdb.example.com:8086' -in foo.json
cat foo.json
{
  "name":["derp"],
  "columns":["id,duration,foo,foobar,buzz,foo_buzz,foobar_buzz"],
  "points":["125","390","herpderp","2013-08-05","foo","376","0124","402","herpderp","2013-08-05","bar","393","011","441","herpderp","2013-06-11","NULL","NULL","NULL"]
}

I've verified that this is valid json, yet I still get the above error.

Feature Request - Prompt for password

This script is great, It would be really nice if influxdb-backup could prompt for a password so it isn't stored in my history.

In other programs (like mysql) if you provide a -p that is null, it will prompt.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.