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

Allow to backup single files #193

Closed
mutlusun opened this issue May 9, 2022 · 2 comments · Fixed by #220
Closed

Allow to backup single files #193

mutlusun opened this issue May 9, 2022 · 2 comments · Fixed by #220
Labels
bug Something isn't working

Comments

@mutlusun
Copy link

mutlusun commented May 9, 2022

Hello,

Thanks for all your work on autorestic! Having found this after using my own wrappers for some time and it makes life a lot easier ;)

I use restic to backup my home directory but also to backup a single config file in /etc. If I try this with autorestic, I receive the following error:

"/etc/rc.local" is not valid directory for location "home"

Would it be possible to allow autorestic to also backup single files? This is not an issue with restic. That would be awesome!

Having no experience with go, I'm unfortunately not able to provide a pull request.

@xxxsen
Copy link

xxxsen commented May 15, 2022

met the same issue

@cupcakearmy cupcakearmy added the bug Something isn't working label May 24, 2022
@cupcakearmy
Copy link
Owner

Absolutely. I thinks the folder error comes from autorestic checking if the directory is accessible, but also should support files. Thanks for reporting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants