Comments (10)
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.
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.
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.
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.
from ovirt_simple_backup.
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.
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.
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.
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.
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)
- exclude "lost+found" from restore HOT 1
- Log file is on Centos is not parsing \n =, each event in this same line HOT 1
- Option `First Backup Disk` doesn't work correctly HOT 1
- NFS on Fibre Channel LUN HOT 4
- Backup complited with 0% HOT 13
- backup stop if we change focus HOT 3
- scsi remove when detach HOT 21
- vms list fails to display when too many vms HOT 8
- Snapshot only backups HOT 2
- [RFE] add disk selection HOT 3
- Backup Failed Disk not attached. ovirt 4.3 HOT 7
- Strange behavior when backing up. Backup fails. HOT 10
- Post-installation Issues HOT 5
- Possible commit this HOT 9
- Documentation for migrating Windows machines from XenServer to oVirt HOT 1
- Typo in the code HOT 3
- The backup VM has too many disks attached. Please remove all but the OS disk in order to preform a backup. HOT 4
- Restore steps destory OvirtSimpleBackupVm image disks HOT 18
- Need assistance
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ovirt_simple_backup.