[Users] Backup export domain

Hi, is there a way to backup export domain (exported vm-s and templates), reinstall complete oVirt sistem (engine, hosts) and restore those backups? tnx

On 11/14/2013 04:59 AM, "Saša Friedrich (BiTLAB)" wrote:
Hi,
is there a way to backup export domain (exported vm-s and templates), reinstall complete oVirt sistem (engine, hosts) and restore those backups?
sure. you can back it up, then restore in another engine. you can also do this piecemeal at vm level. one note - if you back it up while its attached to an engine, you will need to edit its meta data file to remove the association to allow the other engine to connect it to the new pool for restore.

correct me if i'm wrong... 1. detach my export domain 2. copy directory structure from nfs export to external disk 3. reinstall ovirt system 4. copy directory structure from external disk to new nfs export 5. create new export domain in engine ...but... on #5 step my new engine returns: "Error while executing action New NFS Storage Domain: Error in creating a Storage Domain. The selected storage path is not empty (probably contains another Storage Domain). Either remove the existing Storage Domain from this path, or change the Storage path)." What am I doing wrong? On 14. 11. 2013 11:17, piše Itamar Heim:
On 11/14/2013 04:59 AM, "Saša Friedrich (BiTLAB)" wrote:
Hi,
is there a way to backup export domain (exported vm-s and templates), reinstall complete oVirt sistem (engine, hosts) and restore those backups?
sure. you can back it up, then restore in another engine. you can also do this piecemeal at vm level.
one note - if you back it up while its attached to an engine, you will need to edit its meta data file to remove the association to allow the other engine to connect it to the new pool for restore.

On 11/14/2013 06:30 AM, "Saša Friedrich (BiTLAB)" wrote:
correct me if i'm wrong...
1. detach my export domain 2. copy directory structure from nfs export to external disk 3. reinstall ovirt system 4. copy directory structure from external disk to new nfs export 5. create new export domain in engine
...but...
on #5 step my new engine returns: "Error while executing action New NFS Storage Domain: Error in creating a Storage Domain. The selected storage path is not empty (probably contains another Storage Domain). Either remove the existing Storage Domain from this path, or change the Storage path)."
What am I doing wrong?
don't try to create a new export domain, rather import an existing one (import domain button, not new domain button)
On 14. 11. 2013 11:17, piše Itamar Heim:
On 11/14/2013 04:59 AM, "Saša Friedrich (BiTLAB)" wrote:
Hi,
is there a way to backup export domain (exported vm-s and templates), reinstall complete oVirt sistem (engine, hosts) and restore those backups?
sure. you can back it up, then restore in another engine. you can also do this piecemeal at vm level.
one note - if you back it up while its attached to an engine, you will need to edit its meta data file to remove the association to allow the other engine to connect it to the new pool for restore.

This is a multi-part message in MIME format. --------------050805000104050307090701 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Uf... I don't know how I missed that... Works like a charm tnx! On 11/14/2013 06:30 AM, "Saa Friedrich (BiTLAB)" wrote:
/ correct me if i'm wrong... />/ />/ 1. detach my export domain />/ 2. copy directory structure from nfs export to external disk />/ 3. reinstall ovirt system />/ 4. copy directory structure from external disk to new nfs export />/ 5. create new export domain in engine />/ />/ />/ ...but... />/ />/ on #5 step my new engine returns: "Error while executing action New NFS />/ Storage Domain: Error in creating a Storage Domain. The selected storage />/ path is not empty (probably contains another Storage Domain). Either />/ remove the existing Storage Domain from this path, or change the Storage />/ path)." />/ />/ />/ What am I doing wrong? />/ / don't try to create a new export domain, rather import an existing one (import domain button, not new domain button)
/ />/ />/ On 14. 11. 2013 11:17, pie Itamar Heim: />>/ On 11/14/2013 04:59 AM, "Saa Friedrich (BiTLAB)" wrote: />>>/ Hi, />>>/ />>>/ is there a way to backup export domain (exported vm-s and templates), />>>/ reinstall complete oVirt sistem (engine, hosts) and restore those />>>/ backups? />>>/ />>/ />>/ sure. you can back it up, then restore in another engine. />>/ you can also do this piecemeal at vm level. />>/ />>/ one note - if you back it up while its attached to an engine, you will />>/ need to edit its meta data file to remove the association to allow the />>/ other engine to connect it to the new pool for restore. />
--------------050805000104050307090701 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 8bit <html> <head> <meta http-equiv="content-type" content="text/html; charset=windows-1252"> </head> <body bgcolor="#FFFFFF" text="#000000"> <div class="moz-cite-prefix">Uf... I don't know how I missed that... <br> <br> <br> Works like a charm<br> <br> <br> tnx!<br> <br> <br> <meta http-equiv="content-type" content="text/html; charset=windows-1252"> <pre style="white-space: pre-wrap; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">On 11/14/2013 06:30 AM, "Saa Friedrich (BiTLAB)" wrote: ><i> correct me if i'm wrong... </i>><i> </i>><i> 1. detach my export domain </i>><i> 2. copy directory structure from nfs export to external disk </i>><i> 3. reinstall ovirt system </i>><i> 4. copy directory structure from external disk to new nfs export </i>><i> 5. create new export domain in engine </i>><i> </i>><i> </i>><i> ...but... </i>><i> </i>><i> on #5 step my new engine returns: "Error while executing action New NFS </i>><i> Storage Domain: Error in creating a Storage Domain. The selected storage </i>><i> path is not empty (probably contains another Storage Domain). Either </i>><i> remove the existing Storage Domain from this path, or change the Storage </i>><i> path)." </i>><i> </i>><i> </i>><i> What am I doing wrong? </i>><i> </i> don't try to create a new export domain, rather import an existing one (import domain button, not new domain button) ><i> </i>><i> </i>><i> On 14. 11. 2013 11:17, pie Itamar Heim: </i>>><i> On 11/14/2013 04:59 AM, "Saa Friedrich (BiTLAB)" wrote: </i>>>><i> Hi, </i>>>><i> </i>>>><i> is there a way to backup export domain (exported vm-s and templates), </i>>>><i> reinstall complete oVirt sistem (engine, hosts) and restore those </i>>>><i> backups? </i>>>><i> </i>>><i> </i>>><i> sure. you can back it up, then restore in another engine. </i>>><i> you can also do this piecemeal at vm level. </i>>><i> </i>>><i> one note - if you back it up while its attached to an engine, you will </i>>><i> need to edit its meta data file to remove the association to allow the </i>>><i> other engine to connect it to the new pool for restore. </i>></pre> <br> </div> </body> </html> --------------050805000104050307090701--
participants (2)
-
"Saša Friedrich (BiTLAB)"
-
Itamar Heim