rancher / convoy

A Docker volume plugin, managing persistent container volumes.
Apache License 2.0
1.31k stars 135 forks source link

Export and Import the backup? #209

Open timiil opened 7 years ago

timiil commented 7 years ago

since we can do snapshot for the volume, and then make the backup from snapshot, we can see that the backup is store into something like vfs:///home/backup in ObjectStore database. inside it we can see that there is a .bak file in the suddir.

now the problem is can we use some instructions move these backups from one ObjectStore to other? or just:

convoy backup export <backupUrl> <newTarName>

so we may can in other side, use this command to make a new volume from a tar file:

convoy create <newVolName> -import <tarFileName>