Comments (8)
Will be released in 1.0.5
from autorestic.
That is definitely not the way it should work. Can you check the complete output?
autorestic backup -av
from autorestic.
Yeah, I thought of that after I posted. It's a permissions error where some of the folders are owned by different users (ie my docker dir has some stuff owned by say....root or www-data and is read-only to the user). Any chance the logging could be improved on just -a to make clear it's failing? Because it looked like it was succeeding but it was not.
from autorestic.
Is there a way to run autorestic with a custom restic binary as described here? https://restic.readthedocs.io/en/stable/080_examples.html#full-backup-without-root ? Just run autorestic as the restic
user? (Sorry for the dumb question, I'm tired after a long night trying to fix some stuff and wanting my backups running again).
from autorestic.
Is there a way to run autorestic with a custom restic binary as described here? https://restic.readthedocs.io/en/stable/080_examples.html#full-backup-without-root ? Just run autorestic as the
restic
user? (Sorry for the dumb question, I'm tired after a long night trying to fix some stuff and wanting my backups running again).
😅 I can relate to that. Devops is always super tiring 😴.
Absolutely, it should definetely tell you that something went wrong, as otherwise the user gets a false sense of security, which is super bad.
About the custom binary:
In theory one could add a flag that points to that binary, and/or a config option so you don't have to always specify it.
Need to check the go docs how path is resolved and execute a specific binary, but I'm sure it's possible
from autorestic.
I've opened another ticket for the custom binary @FuzzyMistborn
from autorestic.
Yeah I think if there's an error outputting the error to the terminal would be useful. Like for me I was getting this running verbose:
Backend: synology_docker_beta
> Executing: /usr/bin/restic backup .
error: open .storage/auth: permission denied
error: open .storage/core.config: permission denied
And thanks on the custom binary. I'll dig into this a bit more.
from autorestic.
Yes, if the command errored it's imperative that the output is shown, also the script should exit 1 at the end, so if it runs in a CI the system sees it as failed
from autorestic.
Related Issues (20)
- Hooks to have access to location path HOT 1
- Cron updates timestamp even when backup fails
- `uninstall` command is broken
- Docker compose example in the docker installation guide
- 'locations[storage]' has invalid keys: forgetoption HOT 4
- Keep up with restic releases HOT 2
- Restic repository not initialized by default in GCP
- Bug: Docker volume backup to B2 fails ("context deadline exceeded") HOT 1
- forget dryRun is always false on backup task
- Support backing up Docker volumes via the REST backend
- autorestic running backup.yml,restic print 'unknown flag: --use-fs-snapshot' HOT 1
- Copy a repo
- Add a cron option to the forget/prune policies
- Suggestion: don't require 'from' key in locations that use include arguments.
- $PATH being ignored by autorestic HOT 4
- Showing during the backup the progress in percentage of every single location
- Add more verbose error messages HOT 4
- Flag locations as paused HOT 2
- Error when running as docker container
- Error in forget / prune does not trigger failure hook
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autorestic.