1
0
mirror of https://github.com/vmware/vsphere-automation-sdk-python.git synced 2024-11-22 01:39:58 -05:00
vsphere-automation-sdk-python/samples/vsphere/backuprestore
Tianhao He f1032b4e43 vSphere 6.7 Release
Signed-off-by: Tianhao He <het@vmware.com>
2018-04-17 11:01:27 -07:00
..
__init__.py vSphere 6.7 Release 2018-04-17 11:01:27 -07:00
backup_job_list.py vSphere 6.7 Release 2018-04-17 11:01:27 -07:00
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