©XSIBackup-Free: Free Backup Software for ©VMWare ©ESXi

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#1 2022-04-12 08:25:54

alexa
Member
Registered: 2019-09-25
Posts: 6

XSIBackup job change - accepted automatically?

I've changed backup job /vmfs/volumes/datastore1/xsi-dir/jobs/prod

I'm wondering do I need to do anything else to make the changed job active, restart / reload some service etc.

Offline

#2 2022-04-12 10:48:09

admin
Administrator
Registered: 2017-04-21
Posts: 1,979

Re: XSIBackup job change - accepted automatically?

Jobs are named 000 to 999 as a fixed length three digit file name. If you use your own names you may hit some problem further on, as some features will expect jobs to be named that way.

Yes, job files are bash scripts, you can edit them and changes are immediate. If you have already scheduled your job file, there's nothing more to do. If you need your crontab to be persistent across reboots you must run.

./xsibackup --install-cron

And add your schedules to the local crontab at /vmfs/volumes/xsi-dir/conf/root-crontab, then run the --update-cron command

./xsibackup --update-cron

This will copy the contents of your local crontab to the (c)ESXi crontab at /var/spool/cron/crontabs/root.

Offline

#3 2022-04-13 08:30:48

alexa
Member
Registered: 2019-09-25
Posts: 6

Re: XSIBackup job change - accepted automatically?

root-crontab is scheduled already

# cat /vmfs/volumes/datastore1/xsi-dir/conf/root-crontab
0 0 * * 5 "/vmfs/volumes/datastore1/xsi-dir/jobs/prod

and root crontab is

# cat /var/spool/cron/crontabs/root
.
.
.
0 0 * * 5 "/vmfs/volumes/datastore1/xsi-dir/jobs/prod"


so, nothing more to do i.e. I can make changes to the backup job in the /vmfs/volumes/datastore1/xsi-dir/jobs/prod and it'll be executed regularly on Thursday midnight?

Please confirm.

Thanks.

Offline

#4 2022-04-13 12:36:37

admin
Administrator
Registered: 2017-04-21
Posts: 1,979

Re: XSIBackup job change - accepted automatically?

It should, just as long as your cond daemon is running OK.
verify with

ps -c | grep crond

There should only be one crond instance.

Offline

Board footer