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

Question regarding recovery procedure and shard ids #60

Open
msoltyspl opened this issue Aug 18, 2017 · 0 comments
Open

Question regarding recovery procedure and shard ids #60

msoltyspl opened this issue Aug 18, 2017 · 0 comments

Comments

@msoltyspl
Copy link

Hi,

I have 2 questions about the basic recovery example from the readme:

  1. shard id
    Essentially do we have any guarantee that this will be the same for both influx databases, which - outside of having some databases and retention policies identical - know really nothing about each other ? ITOW if I backup shard X of database Y and retention policy Z from server DB1 - do I have any guarantee that X will be the same on DB2 ? From what I saw, the shard backups are just plain tar files with full paths to relevant tsm files (so if X can differ and influxd itself is not prepared for such restoration case ...)

  2. live restoration
    Formally, influxdb documentation claims that:
    "Note: Restoring from backup is only supported while the InfluxDB daemon is stopped."

OTOH, the readme file says it's ok to do the resotration if the relevant shard/policy/db combination is no longer written to. Are there no other risks in this context (e.g. maybe something related to metadata or anything else) ?

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

1 participant