新建文本文档,用纯文字编辑程式,编辑好后上传到ghettoVCB根文件夹下 6.2 设置Cron排程 Vmware ESXi 系统Cron排程的位置是在 /var/spool/cron/crontab下的root文件 排程为:每周六的晚上11点,执行Week List的排程备份 6.3 修改Cron排程的权限为775,方便执行与修改...
mkdir /etc/cron echo '#!/bin/sh' > /etc/cron/script.sh echo 'esxcli storage nfs add --host=10.10.10.206 --share=/var/nfs --volume-name=RemoteNFS || true' >> /etc/cron/script.sh echo 'sh /opt/ghettovcb/bin/ghettoVCB.sh -a -g /vmfs/volumes/RemoteNFS/BackupSolution/config/esxi...
未启用NFS和EMAIL 相关文件内容如下: ~ #cat/var/spool/cron/crontabs/root #min hour day mon dow command11* * * /sbin/tmpwatch.py1* * * * /sbin/auto-backup.sh0* * * * /usr/lib/vmware/vmksummary/log-heartbeat.py */5* * * * /sbin/hostd-probe015* * sun /ghettoVCB-master/ghet...
Rather than installing GVCB via the VIB, I just wget the files I want into that folder, mark them as executable, and then schedule them via Cron. [root@esxi:~] GHETTOPATH="/vmfs/volumes/970PRO/ghettoVCB/testFile.sh" [root@esxi:~] chmod -x $GHETTOPATH [root@esxi:~] ls -lh $...