feat: select volumes to download #48

Open
opened 2024-01-11 18:03:19 +00:00 by moritz · 2 comments
Owner

Following: #44

select the volumes via VOLUMES env or --volumes parameter.

i.E.

--volumes all
--volumes db,data
Following: https://git.coopcloud.tech/coop-cloud/backup-bot-two/issues/44 select the volumes via `VOLUMES` env or `--volumes` parameter. i.E. ``` --volumes all --volumes db,data ```
Owner

@moritz

I do see now the following:

backupbot.py Line 465 in 1214f59c79
@click.option('volumes', '--volumes', '-v', envvar='VOLUMES')

But AFAIU this is for a boolean? vs. something like this in restore

backupbot.py Line 114 in 1214f59c79
@click.option('container', '--container', '-c', envvar='CONTAINER', multiple=True)

@moritz I do see now the following: https://git.coopcloud.tech/coop-cloud/backup-bot-two/src/commit/1214f59c79b87539146d131eb8771a2220850da7/backupbot.py#L465 But AFAIU this is for a boolean? vs. something like this in `restore` https://git.coopcloud.tech/coop-cloud/backup-bot-two/src/commit/1214f59c79b87539146d131eb8771a2220850da7/backupbot.py#L114
Author
Owner

For the restore command it's already implemented, but not for download command. For download, VOLUMES is only a flag, if the volumes should be downloaded or not, but the selection is not implemented.

For the `restore` command it's already implemented, but not for `download` command. For download, `VOLUMES` is only a flag, if the volumes should be downloaded or not, but the selection is not implemented.
Sign in to join this conversation.
No description provided.