{"action":"created","issue":{"url":"https://api.github.com/repos/restic/restic/issues/1674","repository_url":"https://api.github.com/repos/restic/restic","labels_url":"https://api.github.com/repos/restic/restic/issues/1674/labels{/name}","comments_url":"https://api.github.com/repos/restic/restic/issues/1674/comments","events_url":"https://api.github.com/repos/restic/restic/issues/1674/events","html_url":"https://github.com/restic/restic/issues/1674","id":305757936,"number":1674,"title":"restic as archiving solution","user":{"login":"m4nn","id":8195141,"avatar_url":"https://avatars1.githubusercontent.com/u/8195141?v=4","gravatar_id":"","url":"https://api.github.com/users/m4nn","html_url":"https://github.com/m4nn","followers_url":"https://api.github.com/users/m4nn/followers","following_url":"https://api.github.com/users/m4nn/following{/other_user}","gists_url":"https://api.github.com/users/m4nn/gists{/gist_id}","starred_url":"https://api.github.com/users/m4nn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m4nn/subscriptions","organizations_url":"https://api.github.com/users/m4nn/orgs","repos_url":"https://api.github.com/users/m4nn/repos","events_url":"https://api.github.com/users/m4nn/events{/privacy}","received_events_url":"https://api.github.com/users/m4nn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-15T23:51:06Z","updated_at":"2018-03-16T00:08:29Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nThank you for all the hard work and effort put into restic, especially the complete and concise documentation, oft overlooked.\r\n\r\nI was wondering if restic could be used as an archive solution, so my use case would be a fixed directory structure containing various files, once backed up to a restic repository, the files would be deleted from the local server. Over time new files shall be added, which then would need to be merged with the remote restic repository. After reviewing the documentation I am unclear as to how I could do this, is this use case feasible with the current version?\r\n\r\nIf not, then two possible implementations could be:\r\n\r\n1. Unidirectional (one-way) pushing of data to an existing snapshot.\r\n2. Ability to merge two or more snapshots.\r\n\r\nAppreciate any feedback.\r\n"},"comment":{"url":"https://api.github.com/repos/restic/restic/issues/comments/373561904","html_url":"https://github.com/restic/restic/issues/1674#issuecomment-373561904","issue_url":"https://api.github.com/repos/restic/restic/issues/1674","id":373561904,"user":{"login":"rawtaz","id":825204,"avatar_url":"https://avatars0.githubusercontent.com/u/825204?v=4","gravatar_id":"","url":"https://api.github.com/users/rawtaz","html_url":"https://github.com/rawtaz","followers_url":"https://api.github.com/users/rawtaz/followers","following_url":"https://api.github.com/users/rawtaz/following{/other_user}","gists_url":"https://api.github.com/users/rawtaz/gists{/gist_id}","starred_url":"https://api.github.com/users/rawtaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rawtaz/subscriptions","organizations_url":"https://api.github.com/users/rawtaz/orgs","repos_url":"https://api.github.com/users/rawtaz/repos","events_url":"https://api.github.com/users/rawtaz/events{/privacy}","received_events_url":"https://api.github.com/users/rawtaz/received_events","type":"User","site_admin":false},"created_at":"2018-03-16T00:08:29Z","updated_at":"2018-03-16T00:08:29Z","author_association":"CONTRIBUTOR","body":"Hi,\r\n\r\nIs there any specific reason you didn't post this in the forum instead? The issue template you saw when editing your message explicitly asks for this, so I'm curious if there's something we need to improve to get this type of usage question into the forum instead of in issues.\r\n\r\nEvery time you back up files to your repository with restic, a snapshot is created. This snapshot is a (browsable) copy of the backed up files at that point in time. Next time you make a backup, a new snapshot is created, containing the files you backed up that time.\r\n\r\nThese snapshots does not go away by themselves, you have to tell restic to forget about them when/if you want to. And you can restore from them at any point in time, but when you do so, you select which snapshot you want to restore from, and get the files from that snapshot alone, not other snapshots.\r\n\r\nIf you want to just throw new files and changes of files onto one and the same repository, a sync solution is probably better, because they often have a way to \"merge\" the new content onto the already synced one (i.e. syncing but without deleting files from the target that no longer exist on the source, which is what I suppose you mean).\r\n\r\nPlease note, though, that you can mount the restic repository and browse the snapshots using your regular file browser, in case that helps."}}
{"actor":{"display_login":"rawtaz"}}