Git Product home page Git Product logo

Comments (8)

cupcakearmy avatar cupcakearmy commented on August 16, 2024 1

Will be released in 1.0.5

from autorestic.

cupcakearmy avatar cupcakearmy commented on August 16, 2024

That is definitely not the way it should work. Can you check the complete output?

autorestic backup -av

from autorestic.

FuzzyMistborn avatar FuzzyMistborn commented on August 16, 2024

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.

FuzzyMistborn avatar FuzzyMistborn commented on August 16, 2024

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.

cupcakearmy avatar cupcakearmy commented on August 16, 2024

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.

cupcakearmy avatar cupcakearmy commented on August 16, 2024

I've opened another ticket for the custom binary @FuzzyMistborn

from autorestic.

FuzzyMistborn avatar FuzzyMistborn commented on August 16, 2024

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.

cupcakearmy avatar cupcakearmy commented on August 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.