diff --git a/cinder/volume/drivers/glusterfs.py b/cinder/volume/drivers/glusterfs.py index 3b7aa983d55..0b15de387cc 100644 --- a/cinder/volume/drivers/glusterfs.py +++ b/cinder/volume/drivers/glusterfs.py @@ -1145,3 +1145,11 @@ class GlusterfsDriver(nfs.RemoteFsDriver): def _get_mount_point_base(self): return self.base + + def backup_volume(self, context, backup, backup_service): + """Create a new backup from an existing volume.""" + raise NotImplementedError() + + def restore_backup(self, context, backup, volume, backup_service): + """Restore an existing backup to a new or existing volume.""" + raise NotImplementedError() diff --git a/cinder/volume/drivers/nfs.py b/cinder/volume/drivers/nfs.py index 24091f5efad..5bf0115f825 100644 --- a/cinder/volume/drivers/nfs.py +++ b/cinder/volume/drivers/nfs.py @@ -371,14 +371,6 @@ class RemoteFsDriver(driver.VolumeDriver): def _ensure_share_mounted(self, nfs_share): raise NotImplementedError() - def backup_volume(self, context, backup, backup_service): - """Create a new backup from an existing volume.""" - raise NotImplementedError() - - def restore_backup(self, context, backup, volume, backup_service): - """Restore an existing backup to a new or existing volume.""" - raise NotImplementedError() - class NfsDriver(RemoteFsDriver): """NFS based cinder driver. Creates file on NFS share for using it