Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 232869

Re: vMA, vifs and cron

$
0
0

Hi MKguy,

 

Thank you for your answer.

 

My syntax command after what you've suggested is :

vifs --server xxx --username xxx --password xxx -g "[datastore1] log/ghettoVCB-backup.log" /tmp/backup.log

 

Works better but the following error occurs :

 

+ vifs --server xxx --username xxx --password xxx -g '[datastore1] log/ghettoVCB-backup.log' /tmp/backup.log

Server version unavailable at 'https://192.168.0.240:443/sdk/vimService.wsdl' at
/usr/lib/perl5/5.10.0/VMware/VICommon.pm line 545.

 

I've solved it by inserting in my script :

export PERL_LWP_SSL_VERIFY_HOSTNAME=0

Works fine now :
+ vifs --server xxx --username xxx --password xxx -g '[datastore1] log/ghettoVCB-backup.log' /tmp/backup.log
Downloaded file to /tmp/backup.log successfully.
Best regards

Viewing all articles
Browse latest Browse all 232869

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>