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

backup should end up with error if 404 is received #5349

Closed
zstyblik opened this issue Jan 13, 2016 · 1 comment
Closed

backup should end up with error if 404 is received #5349

zstyblik opened this issue Jan 13, 2016 · 1 comment
Assignees
Milestone

Comments

@zstyblik
Copy link

influx backup should end up with error when it receives 404. The following doesn't seem ok to me:

root@builder:~# influxd backup -host 192.168.112.12:8086 /tmp
2016/01/13 17:06:31 influxdb backup
2016/01/13 17:06:31 backing up metastore to /tmp/meta.00
2016/01/13 17:06:31 backup complete
root@builder:~# echo $?
0
root@builder:~# cat /tmp/meta.00
HTTP/1.1 400 Bad Request

root@builder:~#
@joelegasse
Copy link
Contributor

Thanks for finding this, you are correct. We should not claim the backup completed successfully if an error occurs.

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