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

Better error message when using non-existant presets or using split presets wrong #37

Open
zyzzyxdonta opened this issue Nov 2, 2024 · 0 comments

Comments

@zyzzyxdonta
Copy link

Thank you for the great tool! I've been using crestic for years now. However, there's one small issue that I ran into a number of times. I usually run crestic via a systemd unit and this comes up whenever I haven't used it manually in a while and don't quite remember my setup:

$ crestic home backup
Fatal: nothing to backup, please specify source files/dirs

The issue here is that home doesn't exist as a preset. It's actually a split preset home@ and a correct preset name would be home@nas.

The error message shown here is from restic. I think it would be a great improvement to check the preset name passed to crestic and show an error message that explains the issue better.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant