rp- commented on issue #12218: URL: https://github.com/apache/cloudstack/issues/12218#issuecomment-3669324238
> Linstor names volumes based on the mirror it is currently using. So for example /dev/drbd1030. The NAS plugin backs up the volume to the path <backup_dir>/root.drbd1030.qcow2. > > Then during restore, it doesn't know what was the backup file path (it is not constructed using the volume uuid). Also, the actual volume could now be pointing to a different mirror e.g, /dev/drbd1029. > > [@rp-](https://github.com/rp-) Is my understanding correct? Could you share some ideas about how to support Backups of Linstor Instances using the NAS BnR plugin? We basically want two things > > 1. Create the backup path and volume path (to restore) in the code > 2. Rsync should work from the backup path to the volume path. `/dev/drbd1030` is what we write as device path in the libvirt xml, that is the path the DRBD device is exposing for usage (there would be also mapped paths by resource name in `/dev/drbd/by-res/`, those minor numbers are stable as long the linstor resources wasn't completely deleted and recreated. I'm not sure how the restore works with the NAS backup plugin, can you only restore/revert the same VM? or is a completely new VM instance created and the backup applied? (but than you would need to restore the same paths as the backup had?) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
