Giter VIP home page Giter VIP logo

Comments (3)

RonnyPfannschmidt avatar RonnyPfannschmidt commented on June 7, 2024

as you didn't share the command you executed I suspect you tried to use sudo to run borg in the venv, and sudo rightfully took the venv out of the path

if you use sudo on a borg installed in a virtualenv, you need to pass the complete path of the executable

from borg.

CrysK avatar CrysK commented on June 7, 2024

as you didn't share the command you executed

I try as user:

source borg1-env/bin/activate
sudo borg info /path/to/repo

and get sudo: borg: command not found

the same with:

alias borg='source borg1-env/bin/activate; borg'
borg info /path/to/repo
# or
sudo borg info /path/to/repo

as root on the complicated way:

sudo su
cd /
source borg1-su-env/bin/activate # this is a another venv
borg info /path/to/repo # this works

Is there a possibility that I "simply" use borg. Freshly rolled into the console simply borg or sudo borg?

from borg.

CrysK avatar CrysK commented on June 7, 2024

The simplest option is often the best: just use the binaries:
https://borgbackup.readthedocs.io/en/stable/installation.html#standalone-binary

from borg.

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.