Systemback cron

Asked by Bobses

Hello
Is there any posibility to run Systemback as a cron job on an Ubuntu server? I didn't find one...
Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Systemback Edit question
Assignee:
No assignee Edit question
Solved by:
Kendek
Solved:
Last query:
Last reply:
Revision history for this message
Best Kendek (nemh) said :
#1

The restore point creation is schedulable, just using the following command:

systemback-cli -n

But note that Systemback requires root privileges.

Revision history for this message
Bobses (bobses) said :
#2

Thanks!

Revision history for this message
Bobses (bobses) said :
#3

Thanks Kendek, that solved my question.

Revision history for this message
SquweeZ (squweez) said :
#4

Hi,

I've been trying to use systemback via cronjob.

I've found this post but unfortunately it does not work for me.

My idea was a weekly backup every Sunday: this is my entry in root's crontab:

# weekly backup on sundays at 5am
0 5 * * 7 export DBGLEV=3 && systemback-cli -n &> /home/<user>/sysBack.txt

The file gets created every week, but it's empy.

The same line without the DBGLEV=3 results in the same.
I also cannot see the backups anywhere.

I would like to schedule the backups this way, or via systembacks' scheduling, but there I can only put a time difference between backups instead of a fixed day/time.

Am I doing anything wrong?

Thanks in advance.