1
0
mirror of https://github.com/vmware/vsphere-automation-sdk-python.git synced 2024-11-22 17:39:59 -05:00
vsphere-automation-sdk-python/samples/vsphere/backuprestore
2018-06-13 16:57:42 +05:30
..
__init__.py vSphere 6.7 Release 2018-04-17 11:01:27 -07:00
backup_job_list.py dict.itervalues is deprecated in Python3. Fixing samples to call method dict.values() works for Python 2.7 & 3 2018-06-13 16:57:42 +05:30
backup_schedule.py vSphere 6.7 Release 2018-04-17 11:01:27 -07:00
README.md vSphere 6.7 Release 2018-04-17 11:01:27 -07:00

This directory contains samples for Backup Restore APIs:

* List all backup jobs
* CRUD operations on backup schedule

Running the samples

$ python <sample-dir>/<sample>.py --server <vCenter Server IP> --username <username> --password <password> <additional-sample-parameters>

The additional sample parameters are as follows (all parameters can be displayed for any sample using option --help)

* backup_schedule.py --location <location URL> --location_user <location-user> location_password <location-password>
  • Testbed Requirement:
    • 1 vCenter Server
    • Backup server reachable through any of the supported protocols FTP/FTPS/SCP/HTTP/HTTPS