Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'influxd backup' should create backup directory #5350

Closed
zstyblik opened this issue Jan 13, 2016 · 0 comments
Closed

'influxd backup' should create backup directory #5350

zstyblik opened this issue Jan 13, 2016 · 0 comments
Assignees
Milestone

Comments

@zstyblik
Copy link

Hello,

it was somewhat surprising to find out that influx backup expects directory and not a filename. Actually, docs say `` Once you have your snapshot file''. Ok. Clearly, snapshot is created in given directory.

However, the following shouldn't either happen or be handled in better way, resp. check whether directory exists.

root@builder:~# influxd backup -host localhost:8086 /tmp/bar
2016/01/13 17:20:44 influxdb backup
2016/01/13 17:20:44 backing up metastore to /tmp/bar/meta.00
backup: open temp file: open /tmp/bar/meta.00.pending: no such file or directory

Thanks.

@joelegasse joelegasse changed the title backup should either create directory or at least check whether it exists 'influxd backup' should create backup directory Jan 15, 2016
@jwilder jwilder added this to the 0.10.0 milestone Feb 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants