Skip to content
This repository has been archived by the owner on Jun 18, 2022. It is now read-only.

Backups list does not work with EBS driver #199

Open
peebles opened this issue Mar 2, 2017 · 0 comments
Open

Backups list does not work with EBS driver #199

peebles opened this issue Mar 2, 2017 · 0 comments

Comments

@peebles
Copy link

peebles commented Mar 2, 2017

I see the code in the ebs driver:

func (d *Driver) ListBackup(destURL string, opts map[string]string) (map[string]map[string]string, error) {
        //EBS doesn't support ListBackup(), return empty to satisfy caller
        return map[string]map[string]string{}, nil
}

So, if I want to restore a volume named "vol1" from a backup, how would I do this? I need a list of backups; their dates and URLs so I can choose the right restore point.

In EBS, the backups are really just the snapshots. So the list of snapshots associated with a volume is also the list of backups ... snapshots[ name ].DriverInfo.EBSSnapshotID is the backup (ebs://xxx) and CreatedTime was the time created.

I think this information should be returned with the ebs:// tacked onto it, so that the EBS driver works like the others, and so someone can find appropriate backups for doing a restore.

Or, am I on the wrong track?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant