# Configuration file, be careful to respect the Perl syntax. # Don't modify this file, copy it to config.my.pl and make your changes there. # The log file path log_file = '/var/log/vn-vmware.log', # Hostname or IP address of vCenter host hostname => 'vcenter', # The user used to connect to vCenter user => 'root', # Credentials file where user password is stored credentials_file => '/root/.vmware/credstore/vicredentials.xml', # The datacenter name datacenter => 'datacenter1', # The datastore name where backups must be stored backup_datastore => 'backups', # The local directory where backups datastore folder is mounted local_backup_dir => '/mnt/vm-backups', # Backup schedules schedules => { schedule1 => { machines => ['machine1', 'machine2'], rotation => 'weekly' }, schedule2 => { machines => ['machine3', 'machine4'], rotation => 'daily' } }, # Backup rotation configuration rotations => { weekly => { days => 21, count => 4 }, daily => { days => 31, count => 31 } }, # Cloning configuration clone => { machine => { vm => 'src-machine', dst_name => 'dst-machine', dst_host => '127.0.0.1', dst_datastore => 'datastore1', memory => 4084, num_cpus => 2, mac => '00:00:00:00:00:01', poweron => 1, overwrite => 1 } }