You are not logged in.
Pages: 1
so this is my back up script
./xsibackup --backup-point=/vmfs/volumes/primary/backups --backup-type=custom --backup-vms="gavtestwin10" --mail-from=relay@service.net --mail-to=martin.underdown@safety.com --smtp-srv=10.0.200.40:25 --smtp-port=25 --smtp-usr="none" --smtp-pwd="none"
Firstly (the smtp server just relays internally and work for all the printers set to it) but nothing is even shown on the smtp server(yes the esx server can talk to the smtp relay server
secondly would love to run this task just once a month using the xsibackup cron tool
but have no idea how to make it run once a month
can someone point me in the right direction please
as not sure where the job needs to be put to make this run
thanks
martin
Offline
so i figured out i can add a date switch and the delete switch to delete anything older than x day
all good
have pasted this line into the xsibackup-cron file but it does not run
have check to make sure everything is running , cron etc and all seems fine
runs fine when i just paste it in putty but does not run when in the cron file for xsi
this is what i have chnaged it to
any one can see what is wrong
/vmfs/volumes/5a3787d3-5cf19bfe-095a-0024817e5a65/xsi-dir/xsibackup --time="Thu 12:20" --del-dirs=-d5time --backup-point=/vmfs/volumes/primary/backups --backup-type=custom --date-dir=yes --backup-vms="gavtestwin10" --mail-from=relay@service.net --mail-to=martin.underdown@safety.com --smtp-srv=10.0.200.40:25 --smtp-port=25 --smtp-usr="none" --smtp-pwd="none"
Offline
In regards to your 1st question, what do you mean by "but nothing is even shown on the smtp server"?. If you don't detect a connection to your SMTP server, then you are not even reaching it, so you should check your firewall/s: ESXi and anything else in between. XSIBackup opens required port automatically in ESXi, so you should check everything else. Unless you wanted to say something different, you have a connectivity issue, not related to XSIBackup.
Have you installed the cron?.
If you did but still don't get it to run, read this post: [url]https://33hops.com/xsibackup-cron-how-to.html[/url]
[b][url=https://33hops.com/xsibackup-help-man-page.html#deldirs]--del-dirs[/url][/b] is an option exclusive to XSIBACKUP-PRO, as stated in the Man Page, so it will just show a notice in XSIBACKUP-FREE. In any case, even if you had the Pro version, this argument (--del-dirs=-d5time) would never work, as it does not follow the syntax explained in the manual.
Offline
i am purchasing the pro version in the next couple of hours
i saw the date at the end of the del-dir (typo)
it has just started working going to install the pro version shortly and hope it keeps going
thanks
martin
Offline
Pages: 1