this post was submitted on 31 Oct 2023
3 points (100.0% liked)
Linux Questions
999 readers
1 users here now
Linux questions Rules (in addition of the Lemmy.zip rules)
- stay on topic
- be nice (no name calling)
- do not post long blocks of text such as logs
- do not delete your posts
- only post questions (no information posts)
Tips for giving and receiving help
- be as clear and specific
- say thank you if a solution works
- verify your solutions before posting them as facts.
Any rule violations will result in disciplinary actions
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I assume you want to run this a cronjob? If so, it'll run under root permissions and should execute correctly when run by cron. Pipe the output to a file that you can monitor with ">>". For testing you can
sudo
your command to see how it'll work when cronned. Then do asudo crontab -e
to put a line for your backup script in crontab with the appropriate timing.Edit: you will be dropped into a vi session for editing crontab, quick primer: Insert key to be able to type, Esc key to run editor commands, `:wq" to write your changes, ":q!" to exit without writing changes.
Add
to the top of the file if it isnt already there.
I appreciate your response, but I don't know what it means. I just use the GUI. I go to Application Launcher -> Settings -> System Settings -> Backups and follow the intuitive prompt to set up a weekly backup schedule. The error comes from the panel widget showing me a button to view the log file when it wasn't able to complete the backup.
Alrighty. So if there is an option in whatever program you use to run as the root user, turn it on. Other than that, I'm not familiar with how to get bup to work as root from the GUI. Sorry.