lxd/db/containers.go
func (c *Cluster) ContainerBackupRemove(name string) error {
	id, err := c.ContainerBackupID(name)
	if err != nil {
		return err
	}

	err = exec(c.db, "DELETE FROM containers_backups WHERE id=?", id)
	if err != nil {
		return err
	}

	return nil
}
func (c *Cluster) ContainerBackupRemove(name string) error {
	id, err := c.ContainerBackupID(name)
	if err != nil {
		return err
	}

	err = exec(c.db, "DELETE FROM containers_backups WHERE id=?", id)
	if err != nil {
		return err
	}

	return nil
}
// ContainerBackupRemove removes the container backup with the given name from
// the database.