dietpipi-backup only works with root?

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
trikster
Posts: 4
Joined: Wed Nov 18, 2015 6:42 pm

dietpipi-backup only works with root?

Post by trikster »

So i flashed v102 to my XU4 and started installing my usual apps. I'm a linux n00b and mess up alot, dietpi-backup is a life saver because i don't have to start all over again when something goes wrong :oops: . Unfortunately dietpi-backup(DietPi-Software, DietPi-config aswell) works only when i'm logged in as root. If i try to execute the command with sudo i get error "dietpi-backup: Command not found", without sudo: "/DietPi/dietpi/dietpi-backup: line 510: /DietPi/dietpi/.dietpi-backup_settings: Permission denied".
Is possible to make these commands work on a regular accout? Thanks.
User avatar
Fourdee
Site Admin
Posts: 2783
Joined: Tue Feb 06, 2007 1:36 pm

Re: dietpipi-backup only works with root?

Post by Fourdee »

Hi trikster,

All the DietPi programs (scripts) are designed to be run as root by the end user.

Have you tried running the following to execute the program as root?

Code: Select all

sudo su
dietpi-backup
If I can ask what you are trying to achieve with a non-root account, i will be able to assist you further.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Post Reply