On 12/20/20 6:54 PM, Ulrich Windl wrote:
On 12/17/20 2:32 PM, Stumpy wrote:
I havent played with crontab in forever, and I cant code at all, but I really wanted to try to automate my backups a wee bit.

I made a basic script (qubackup) in the ~/ dom0 directory:
/home/bob/qvm-backup --yes --verbose --compress --passphrase-file ~/PASSPHRASE_FILE.txt /run/media/bob/drobo/backups/ anon-whonix centos-7-minimal email chat work personal

and set crontab to run it every:
0 1 * * * /home/bob/qbackup

but it did not seem to work. I am able to run the script and the backup will run but when i try to do it via cron then nada?

Checked the syslog? Did you use "crontab -e" to setup the crontab?


The crond seems to be running and crontab -l shows the schedule I pasted above, Is there a reason this shouldn't work?



Thank you for the response. It actually ended up that cron did not like executing a script, I just put the exact same line from the script directly into cron.

Now I just need to understand how to setup things to delete backups older than X

Cheers

--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/b0b47be2-6ada-d914-0ee6-da7d9f44c64e%40posteo.co.

Reply via email to