Comments (2)
Hi this sounds like the sudoers file is not correct did you check if the line:
snapbtr ALL=(root:nobody) NOPASSWD:NOEXEC: /bin/btrfs subvolume*
does exist?
Please check where the btrfs tools are via which btrfs
it may point to /sbin/btrfs
then you'll have to alter the sudoers file accordingly.
The script uses the snapshot subcommand sudo btrfs subvolume snapshot -r /home /mnt/.snapshot/TIMESTAMP
from snapbtrex.
I played around with it some more. I then realized, that running snapbtrex.py using sudo was the issue. Running it directly works fine. You might want to edit that in your readme. Thanks for your support!
from snapbtrex.
Related Issues (9)
- Remote backup fails if last backup is not present on local system HOT 1
- --sync-keep option not working for local transfers HOT 3
- migrate to python3
- Gracefully exit and give proper error for missing prerequisites
- Python errors HOT 2
- snapshot time name HOT 3
- -daily/-weekly/-monthly - postfix name HOT 1
- The script has not started since the last Ubuntu update. HOT 2
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 snapbtrex.