func (n *RaftNode) ListBackups() []*storage.BackupInfo {
	n.log.Debugf("Retrieving backups information")
	return n.db.GetBackupsInfo()
}
BackupsInfo function is a passthough to store's equivalent funcion.
package consensus
import (
	"fmt"
	"github.com/bbva/qed/storage"
)
func (n *RaftNode) CreateBackup() error {
	n.Lock()
	defer n.Unlock()
	v := n.balloon.Version()
	metadata := fmt.Sprintf("%d", v-1)
	err := n.db.Backup(metadata)
	if err != nil {
		return err
	}
	n.log.Debugf("Generating backup until version: %d", v-1)
	return nil
}
func (n *RaftNode) DeleteBackup(backupID uint32) error {
	n.log.Debugf("Deleting backup %d", backupID)
	return n.db.DeleteBackup(backupID)
}