IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an
email to Administrator. User accounts are meant only to access repo
and report issues and/or generate pull requests.
This is a purpose-specific Git hosting for
BaseALT
projects. Thank you for your understanding!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
* Removed DEV_PREFIX from DISK filter list
* Added OS/UUID to prevent conflicts
* Moved MAC from NIC filtered list to no_ip option
Signed-off-by: Neal Hansen <nhansen@opennebula.io>
Co-authored-by: Ruben S. Montero <rsmontero@opennebula.org>
The result of a flatten operation can be optionally sparsify to free
space. This needs 'virt-sparsify' tool from libguestfs package.
Note: if not present the sparsify step will be skipped.
(cherry picked from commit de10e618c92f480acb589f690b4366ec14b610a8)
Extending the BACKUP state may lead to unneed wait times to perform VM
management operations
Fixes reset of backup chains for poweroff state
(cherry picked from commit 377db9653e5c4e022f02d8edb0764f7e874a0f2b)
This prevents a race condition on when flatten and backup actions are triggered
simultaneously.
(cherry picked from commit e6c7c51c307edea4b138b22e6af326b180981cba)
Some backup drivers may not allow delete (forget) operations while an
active backup is being performed. This commits fails the
one.image.delete API call in that case.
A new configuration attribute to describe the related driver behavior has been
added CONCURRENT_FORGET for DS_MAD_CONF.
(cherry picked from commit 940c1d7d637141c75226b1545f7cda3fd27feee8)
in ruby word array definitions
(cherry picked from commit 27a97b4ea6c7e97c2657c9693d06ea23d61821be)
(cherry picked from commit f0d462649d4444cbd26a6240d1847477190d2647)
* Introduce support to follow KEEP_LAST for incremental backups.
- New increment_flatten action added for backup datastores.
- increment_flatten will consolidate KEEP_LAST increments into the
current first increment in the chain.
- increment_flatten MUST return the new chain (inc1:source1,...) and size
of the new first increment (FULL) in the chain.
* Downloader logic for restore has been extracted from downloader.sh to
reuse the increment flatten logic. A new command restic_downloader.rb
process restic:// pseudo-urls.
* Restore process uses two new attributes to customize the restore
process:
- NAME to be used as base name for images and VM Template
- INCREMENT_ID to restore disks from a given increment (not always the
last one)
* Common logic has been added to BackupImage class (backup.rb)
* Includes the following fixes:
- Fix when increment includes blocks larger than max qemu-io request size
- Fix IMAGE counter for quotas on backup images
- Fix rsync restore NO_IP / NO_NIC attributes
TODO:
* Mimic increment_flatten logic and restore images on the backup server
* Suntone restore options
co-authored-by:Michal Opala <mopala@opennebula.io>