Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Backing up as root user
#1
I don't know if this is possible so here goes.

I currently use grsync, luckybackup, Timeshift, and Mint backup tool for my backups both system files and Home dir files to an external 1TB Seagate HDD USB 3 partitioned in both ext4 and NTFS partitions, and a Maxtor external 150GB HDD USB 2 formatted in ext4 for timeshift only, all using "SUDO".  Mint backup is used directly from the menu so I dont think it uses root to work.

Now can I use my backup programs with cron to do my backups automatically as root, say once a week or so?  If I run them as root like I do manually, will I have to enter the root password when and if they start?  Do I have to set up each backup program in the command line to work automatically?  I have no Idea if this is possibe, if not I'll just keep using them manually.

Thanks:
Rich.
Reply
#2
(06-11-2019, 03:49 PM)rjs1943 Wrote: Now can I use my backup programs with cron to do my backups automatically as root, say once a week or so?

If the tools you use can work non interactively, then yes.

You can simply add an entry to the root contrab:

Code:
sudo crontab -e
My website - My git repos

"Things are only impossible until they’re not." - Captain Jean-Luc Picard
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)