I am trying to build a setup where convoy vfs volumes are used for persistance.
however i am having hart time figuring out how to manage and delete old snapshots and backups
the idea is that Docker run on multiple ec2 instances inside aws vpc and efs is mounted to every instance and used as vfs.path vor convoy plugin.
multiple containers on multiple ec2 instances can mount same volume at the same time.
and the volume can be backed up from any of them:
convoy snapshot create myvol --name mysnap
convoy backup create mysnap --dest s3://my-bucket@my-region-1/mypath
how do you guys expire and delete old snapshots and backups?
the snapshot end up on the local filesystem of particular ec2 instance
however “convoy list” return information about all snapshots taken on all ec2 instances
and if i try to delete snapshot that was taken on another host or the file was deleted from the filesystem using linux command
i get an error:
convoy snapshot delete mysnap
ERRO Error response from server, cannot find volume for snapshot mysnap
“Error”: “Error response from server, cannot find volume for snapshot mysnap\n”
and apparently there is no “–reference” for snapshot like there is for volumes.
convoy snapshot delete mysnap --reference
convoy snapshot delete - delete a snapshot: snapshot delete
convoy snapshot delete [arguments…]
ERRO Error when executing command: flag provided but not defined: -reference
“Error”: “Error when executing command: flag provided but not defined: -reference”
how do you keep your metadata neat and tidy?
is there a comprehensive documentation on [arguments…] available?