GithubHelp home page GithubHelp logo

Comments (10)

zipurman avatar zipurman commented on August 16, 2024

Try changing the following in backup_attach_image.php
Line 21 : $diskletter = 'a';
Change to: $diskletter = 'b';
to start mounting disks after 'b'

Let me know if that works. I could add a setting to start disk mapping at x.

from ovirt_simple_backup.

zipurman avatar zipurman commented on August 16, 2024

You will also want to make this change to xen_add_vbd.php(37) and restore)disk_create.php(33) , reg.php(93)

from ovirt_simple_backup.

nevesigor avatar nevesigor commented on August 16, 2024

I think this might not be the right approach, when I attach 10 VMS to backup each with 5 disks this will be a mess of discs in the guest.
Also if it's done two backups at the same time with a lot of discs, it will get a lot of messy.
It's there a way to identify the disks attached by uuid inside simple backup machine? That way was perfect, we would know exactly which disks we were doing the backup from.
Maybe smart attribute? Disk attribute when attaching?

from ovirt_simple_backup.

zipurman avatar zipurman commented on August 16, 2024

It doesnt work that way. simpleBackup will mount the disks for a given VM, image them, then eject them and move to the next VM to be backed up. There is no issue, as I am backing up many VMs with multiple disks per VM every day. Some people also create clones of VMs, so UUIDs will not be unique, the way I have it works. There is never a case where this script will mount 10 VM's disks all at once.

from ovirt_simple_backup.

nevesigor avatar nevesigor commented on August 16, 2024

from ovirt_simple_backup.

zipurman avatar zipurman commented on August 16, 2024

No. The script will create an array of VMs to be backed up. It will then loop through the array, attaching snapshots and disks as it goes. Once it completes one VM, all the disks are released and it moves on to the next one. If we mounted many VMS disks all at once and imaged all at once ... well that would be a mess.

from ovirt_simple_backup.

zipurman avatar zipurman commented on August 16, 2024

I have 30+ VMs on a daily schedule. It will back them all up within 90 minutes onto remote NFS. There is no down time as it creates snapshots to do the imaging. It is automated and there is no issue. I then get an email report when it is completed. Is that not what you are looking for?

from ovirt_simple_backup.

nevesigor avatar nevesigor commented on August 16, 2024

That drive letter bypass, for now it's ok, I'm just trying to understand the limitations.

Anyway when you implement the incremental backups you mention today, that will help a lot.

I will test this code tomorrow and let you know.

from ovirt_simple_backup.

nevesigor avatar nevesigor commented on August 16, 2024

The code seems to work in some part, but it breaks in some another point, I'm trying to reach you on IRC, very fuzzy to "chat" over here, let's see if I can find you later today to share my experience.

from ovirt_simple_backup.

zipurman avatar zipurman commented on August 16, 2024

Have a look at the logs to see where it breaks. I am always on irc.oftc.net:6667 #ovirt

from ovirt_simple_backup.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.