Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Backup of ESXi Virtual Machines using Affa
(view source)
Revision as of 00:35, 8 November 2008
96 bytes added
,
00:35, 8 November 2008
m
→Setting up an Affa job
Line 112:
Line 112:
1. log into the 'affabox' and copy the config helper script
1. log into the 'affabox' and copy the config helper script
cp -a /usr/lib/affa/jobconfig-esxi-sample.pl /root/esxi-myvm-job.pl
cp -a /usr/lib/affa/jobconfig-esxi-sample.pl /root/esxi-myvm-job.pl
−
2. edit /root/esxi-myvm-job.pl and set
+
2. edit
<tt>
/root/esxi-myvm-job.pl
</tt>
and set
my $jobname='esxi-myvm';
my $jobname='esxi-myvm';
and
and
'remoteHostName‘=>'10.200.48.5',
'remoteHostName‘=>'10.200.48.5',
−
3. set the VM name
+
3
. tell Affa that this job backups a ESXi virtual machine
+
'ESXi' => 'yes',
+
4
. set the VM name
'ESXiVMName' => 'myvm',
'ESXiVMName' => 'myvm',
−
4
. set the username and password (this is the ESXi User with restricted
Permissions
created above)
+
5
. set the username and password (this is the ESXi User with restricted
permissions
created above)
'ESXiUsername' => 'affa',
'ESXiUsername' => 'affa',
'ESXiPassword' => 'secret',
'ESXiPassword' => 'secret',
−
5
. save, then run it
+
6
. save
the script
, then run it
/root/esxi-myvm-job.pl
/root/esxi-myvm-job.pl
−
6
. send the public key
+
7
. send the public key
affa --send-key esxi-myvm
affa --send-key esxi-myvm
−
7
. run the job manually
+
8
. run the job manually
affa --run esxi-myvm
affa --run esxi-myvm
Mweinber
501
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version