uselagoon / lagoon-sync

Apache License 2.0
7 stars 5 forks source link

Adds new option for specifying transfer file name #94

Closed bomoko closed 1 year ago

bomoko commented 1 year ago

This is a first step to address #93 - next steps will be to add explicit "backup" and "restore" commands to lagoon sync

It adds a new command like argument transfer-resource-name that allows one to specify the name of the resource that's transferred, this can effectively be used to create a named backup, as below:

lagoon-sync sync mariadb -p -e --skip-target-import --skip-target-cleanup --transfer-resource-name="/tmp/test.sql.gz"