#1 2019-01-21 06:33:27

Jufo
Member
Registered: 2019-01-21
Posts: 8

Cron problem with --del-dirs parameter

Hi,

I am using the XSI Free version 11.0.1, unfortunately in the following configuration in the job file, I have a problem with the parameter: --del-dirs=+7d (delete old backups than 7 days):

"/vmfs/volumes/datastore1/xsi-dir/xsibackup" \
--backup-point=/vmfs/volumes/datastore1/backup/$( date +%Y%m%d ) \
--backup-type=custom \
--backup-vms="domoticz,omv!omv_1.vmdk" \
--backup-how=hot \
--remote-xsipath=/vmfs/volumes/datastore1/xsi-dir \
--exec=yes >> "/vmfs/volumes/datastore1/xsi-dir/var/logs/xsibackup.log"

"/vmfs/volumes/datastore1/xsi-dir/xsibackup" \
--backup-point=/vmfs/volumes/datastore1/backup/$( date +%Y%m%d ) \
--backup-type=custom \
--backup-vms="pfsense" \
--backup-how=cold \
--remote-xsipath=/vmfs/volumes/datastore1/xsi-dir \
--exec=yes >> "/vmfs/volumes/datastore1/xsi-dir/var/logs/xsibackup.log" \
--del-dirs=+7d

What am I doing wrong ?

Best Regards,
Robert

Last edited by Jufo (2019-01-21 06:36:35)

Offline

#2 2019-01-21 09:36:31

roberto
Moderator
Registered: 2017-04-22
Posts: 49

Re: Cron problem with --del-dirs parameter

That is a Pro feature

Offline

Board footer