{"action":"opened","issue":{"url":"https://api.github.com/repos/NixOS/nixops/issues/565","repository_url":"https://api.github.com/repos/NixOS/nixops","labels_url":"https://api.github.com/repos/NixOS/nixops/issues/565/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixops/issues/565/comments","events_url":"https://api.github.com/repos/NixOS/nixops/issues/565/events","html_url":"https://github.com/NixOS/nixops/issues/565","id":194621231,"number":565,"title":"Recommended way to protect/store/share deployment state files","user":{"login":"3noch","id":882455,"avatar_url":"https://avatars.githubusercontent.com/u/882455?v=3","gravatar_id":"","url":"https://api.github.com/users/3noch","html_url":"https://github.com/3noch","followers_url":"https://api.github.com/users/3noch/followers","following_url":"https://api.github.com/users/3noch/following{/other_user}","gists_url":"https://api.github.com/users/3noch/gists{/gist_id}","starred_url":"https://api.github.com/users/3noch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3noch/subscriptions","organizations_url":"https://api.github.com/users/3noch/orgs","repos_url":"https://api.github.com/users/3noch/repos","events_url":"https://api.github.com/users/3noch/events{/privacy}","received_events_url":"https://api.github.com/users/3noch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-09T15:19:27Z","updated_at":"2016-12-09T15:19:27Z","closed_at":null,"body":"I'm pretty terrified of losing one my state file and losing all ability to interact with my deployments via `nixops`. What is the recommended strategy for keeping the state files safe and sharing them so that others on the team can deploy?\r\n\r\nI've seen some people use git + git-crypt to store the state in the repository. However, I can't imagine that doing merges on a state file is a good idea. Some have mentioned the export feature. However, keeping your export data in sync with the actual state file is pretty complex (it would me be much better if `nixops` could write directly to an export file while it makes changes to a deployment)."}}
{"actor":{"display_login":"3noch"}}