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

etcdv3: backup design plan #3896

Closed
philips opened this issue Nov 19, 2015 · 2 comments
Closed

etcdv3: backup design plan #3896

philips opened this issue Nov 19, 2015 · 2 comments

Comments

@philips
Copy link
Contributor

philips commented Nov 19, 2015

etcd's v2 storage is easy to backup because the snapshot is write once and the WAL is append only. So, a user can use tools like rclone, rsync, etc to backup etcd and know that they got a good backup. Moving forward with the new storage system do we need to write or document new tools?

@philips philips added this to the v3.0.0-alpha0 milestone Nov 19, 2015
@xiang90
Copy link
Contributor

xiang90 commented Nov 20, 2015

@philips Even for v2, we do not encourage people to write their own tool:

  1. We are not ready to give them any file level guarantees at runtime (for example, etcd will hold a file lock or etcd will help to mark a removable file.).
  2. We want to wipe out the configuration for backup. Simply copy the file can be dangerous.

So people should use etcdctl backup. And we know a few people successfully using it. We do not have a plan to support "easy" backup yet.

@colhom and I have discussed about this for v3. And this is what we come up with: #2366 (comment)

/cc @colhom

@xiang90
Copy link
Contributor

xiang90 commented Mar 29, 2016

close in favor of #4896

@xiang90 xiang90 closed this as completed Mar 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants