Replies: 6 comments 7 replies
-
Hey— the add flow will work if you enter configuration for an existing repo too. They’re the same flows :). Backrest will explicitly check if a repo already exists at the location before trying to initialize a new one. If the repo does already exist it’ll be imported and your snapshots will be indexed. |
Beta Was this translation helpful? Give feedback.
-
I read the wiki but since it does not provide images of how the page should look like, see how mine look in the attachments Also, ssh does not seem to work and even the snapshot command has flags that are unnecessary (seem to be there by default) |
Beta Was this translation helpful? Give feedback.
-
Also please have a look at SFTP settings. It doesn't work, the subprocess
is looking for some keys it hasn't access to.
I didn't make a typo in the repo path. I used NFS, perhaps that's a
problem?
I used the same setting with the restic browser as you can see in the images posted above.
However, I suspect that adding a repo with using the init command
does not work. A separate command to access an existing repo will add
clarity and avoid issues like this one.
|
Beta Was this translation helpful? Give feedback.
-
Thanks for your reply. I don't have the docker running anymore, but I remember that when I ran the |
Beta Was this translation helpful? Give feedback.
-
I would like to share my personal experience of using an existing repository and snapshots created by the cli with Backrest. In principle, backrest uses tags to organize snapshots (to know which snapshots to be used with what instance and what plan). Two tags are needed: created-by:, plan:. You only need to create appropriate tags for each snapshot, after which you can reuse them. My use case is that I previously backed up my folders using the CLI, and now I want to migrate everything to Backrest. So the source folders are the same, and I can reuse all old snapshots for my new backup in backrest. So here are my steps
These snapshots seem not to be ready to use for the backup using backrest. To use old snapshots with new backup using backrest, I did the following steps
Please note that my use case is simple. I use one backup (with several source folders) to one repository. When I switch to backrest I only need one plan and associate all previous snapshots to that plan. Backrest allows more complex settings (many instances, each with many plans). But in this case, to correctly associate old snapshots with new instance and plan, you have to manually add the two tags to each snapshot or use filters with the tag command (please read restic doc for how to use filter to tag selected snapshots). |
Beta Was this translation helpful? Give feedback.
-
I don't dispute that "backrest" may eventually be made to work fine. The existent documentation is incomplete for SFTP on docker and it did not cross my mind to dig through discussions. I am computer savvy and I used to be myself a computer programmer I am sure that eventually I could make it work. However, since I already have a perfectly working solution I am not willing to invest more time. I will perhaps revisit backrest when it matures. |
Beta Was this translation helpful? Give feedback.
-
I like very much this project but I have some trouble with configuring it for my setup.
I already have restic repositories and I would like to be able to be able to browse them and restore from them. The repositories were created with the restic CLI.
I am using the docker option and so far I only can see that I can add/initialize a repo. Is there a way to add an already existing one? If yes, please let me how can that be done or point me to the right document. Thanks
Beta Was this translation helpful? Give feedback.
All reactions