You are not logged in.
Pages: 1
V 11.2.8
Jobfile:
"/vmfs/volumes/datastore1/xsi-dir/xsibackup" \
--backup-point=/vmfs/volumes/Storage2TB/backup \
--backup-type=custom \
--backup-vms="Pamir_OES" \
--exec=yes >> "/vmfs/volumes/datastore1/xsi-dir/var/logs/xsibackup.log" 2>&1
btw, I had to create the job dir manually
I have set it to run from cron, but thought I'd test manually by:
/vmfs/volumes/datastore1/xsi-dir/xsibackup --run-backup=001
but the log file in /vmfs/volumes/datastore1/xsi-dir/var/logs is untouched, 0 bytes and old date.
What have I done wrong?
Edit: PEBKAC... If I run the job manually without piping output then there is no log file We shall see tomorrow when it has run from cron.
Last edited by AndersG (2020-01-16 13:20:12)
Offline
You have done nothing wrong. When you run
/vmfs/volumes/datastore1/xsi-dir/xsibackup --run-backup=001
The output is printed to screen, whereas when you run this
"/vmfs/volumes/datastore1/xsi-dir/xsibackup" \
--backup-point=/vmfs/volumes/Storage2TB/backup \
--backup-type=custom \
--backup-vms="Pamir_OES" \
--exec=yes >> "/vmfs/volumes/datastore1/xsi-dir/var/logs/xsibackup.log" 2>&1
The output is logged to [b]/vmfs/volumes/datastore1/xsi-dir/var/logs/xsibackup.log[/b]
Offline
Yes, thanks. I realised that after posting and edited my original post.
Last edited by AndersG (2020-01-17 06:15:21)
Offline
It ran just fine during the night. Time to add a few more VMs to the job.
Thanks (Muchas Gracias) again for providing this excellent piece of software!
Offline
Pages: 1