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

Request for some kind of status sub-command #3

Closed
ahmgithubahm opened this issue Aug 20, 2015 · 2 comments
Closed

Request for some kind of status sub-command #3

ahmgithubahm opened this issue Aug 20, 2015 · 2 comments

Comments

@ahmgithubahm
Copy link

Loving the potential of dattobd now it's open source. One thing I think would be a great enhancement would be a dbdctl sub-command to output the status (with a choice between nicely formatted, and parseable) to allow both humans and scripts to find out the status of dattobd devices, e.g. their existence, the devices being snapshotted, the paths of COW files, maybe even an idea of the amount of changed data. Is this something in the pipeline?

@tcaputi
Copy link

tcaputi commented Aug 21, 2015

Thanks a lot for the interest. This functionality is actually currently available, although not in dbdctl. To view the status of your snapshots, simply read /proc/datto-info. This is a json encoded file that will tell you the size and current state of your snapshots. We could probably document this file a little better, so I will leave the issue open until I do that. In the meantime, I will tell you what the states mean, since they are represented as integers.

5 = unverified snapshoot
4 = unverified incremental
3 = active snapshot
2 = active incremental
1 = dormant snapshot
0 = dormant incremental

@ahmgithubahm
Copy link
Author

Thanks, will have a play around.

Andy

@tcaputi tcaputi closed this as completed Sep 1, 2015
e-kov referenced this issue in elastio/elastio-snap Dec 6, 2019
Maybe drone can't parse yaml due to trailing space?
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

2 participants