multiple nfs shares with cinder-backup
Hello all! I'm currently using openstack queens with cinder 12.0.10. I would like to a backend I'm using a NFS-share. Now i would like to spit my backups up to two nfs-shares. I have seen that the cinder.volume.driver can handle multiple nfs shares. But it seems that cinder.backup.driver can not. Is there a way to use two nfs shares for backups? Or is it maybe possible with a later release of Cinder? regards, MaSch
On 04/11, MaSch wrote:
Hello all!
I'm currently using openstack queens with cinder 12.0.10. I would like to a backend I'm using a NFS-share.
Now i would like to spit my backups up to two nfs-shares. I have seen that the cinder.volume.driver can handle multiple nfs shares. But it seems that cinder.backup.driver can not.
Is there a way to use two nfs shares for backups? Or is it maybe possible with a later release of Cinder?
regards, MaSch
Hi, Currently the cinder-backup service has two deployment options: tightly coupled, and non-coupled. The non-coupled version is the usual way to deploy it, as you can run it in Active-Active mode, and it only supports a single backend. The coupled deployment allows you to have multiple backends, one backend per cinder-backup service and host, but each backup backend can only backup volumes from the cinder-volume service deployed on the same host. Cheers, Gorka.
On Wed, Nov 4, 2020 at 11:45 AM MaSch <themasch@gmx.net> wrote:
Hello all!
I'm currently using openstack queens with cinder 12.0.10. I would like to a backend I'm using a NFS-share.
Now i would like to spit my backups up to two nfs-shares. I have seen that the cinder.volume.driver can handle multiple nfs shares. But it seems that cinder.backup.driver can not.
Is there a way to use two nfs shares for backups? Or is it maybe possible with a later release of Cinder?
regards, MaSch
You can use directories where you mount different NFS shares. Cinder Backup allows you to specify the directory to use for backup so this way you can segregate the backups. Just specify --container in your commands. -yoctozepto
Hy! Is it possible to set a default value for the container? So that the users don't have to specify them when they create a backup? Lets say, the default value directs to share a, for manually generated Backups, and all automated created Backups have the --container param set for share b. regards, MaSch On 2020-11-10 1:55 p.m., Radosław Piliszek wrote:
On Wed, Nov 4, 2020 at 11:45 AM MaSch <themasch@gmx.net> wrote:
Hello all!
I'm currently using openstack queens with cinder 12.0.10. I would like to a backend I'm using a NFS-share.
Now i would like to spit my backups up to two nfs-shares. I have seen that the cinder.volume.driver can handle multiple nfs shares. But it seems that cinder.backup.driver can not.
Is there a way to use two nfs shares for backups? Or is it maybe possible with a later release of Cinder?
regards, MaSch
You can use directories where you mount different NFS shares. Cinder Backup allows you to specify the directory to use for backup so this way you can segregate the backups. Just specify --container in your commands.
-yoctozepto
On 12/11, MaSch wrote:
Hy!
Is it possible to set a default value for the container? So that the users don't have to specify them when they create a backup? Lets say, the default value directs to share a, for manually generated Backups, and all automated created Backups have the --container param set for share b.
regards, MaSch
Hi, The "backup_container" configuration option allows you to set the default container. Cheers, Gorka.
On 2020-11-10 1:55 p.m., Radosław Piliszek wrote:
On Wed, Nov 4, 2020 at 11:45 AM MaSch <themasch@gmx.net> wrote:
Hello all!
I'm currently using openstack queens with cinder 12.0.10. I would like to a backend I'm using a NFS-share.
Now i would like to spit my backups up to two nfs-shares. I have seen that the cinder.volume.driver can handle multiple nfs shares. But it seems that cinder.backup.driver can not.
Is there a way to use two nfs shares for backups? Or is it maybe possible with a later release of Cinder?
regards, MaSch
You can use directories where you mount different NFS shares. Cinder Backup allows you to specify the directory to use for backup so this way you can segregate the backups. Just specify --container in your commands.
-yoctozepto
participants (3)
-
Gorka Eguileor
-
MaSch
-
Radosław Piliszek