looker-open-source/gzr

Looker API 4.0 doesn't have the space method instead they added folder method.

Closed this issue · 4 comments

Hi Team,

As part of looker API 3.1 deprecation we lost space command which we use in Gazer to take the content backup, we observed that in looker api 4.0 instead of space they added folder method. but in gazer we didn't find the folder method[see below]. is there any plan to folder method in gazer or is there any other way to use gazer for content backup. Please let me know.

gzr help
Commands:
gzr attribute [SUBCOMMAND] # Command description...
gzr connection [SUBCOMMAND] # Commands pertaining to database connections and dialects
gzr dashboard [SUBCOMMAND] # Commands pertaining to dashboards
gzr group [SUBCOMMAND] # Commands pertaining to groups
gzr help [COMMAND] # Describe available commands or one specific command
gzr look [SUBCOMMAND] # Commands pertaining to looks
gzr model [SUBCOMMAND] # Commands pertaining to LookML Models
gzr permissions [SUBCOMMAND] # Command to retrieve available permissions
gzr plan [SUBCOMMAND] # Commands pertaining to plans
gzr query [SUBCOMMAND] # Commands to retrieve and run queries
gzr role [SUBCOMMAND] # Commands pertaining to roles
gzr space [SUBCOMMAND] # Commands pertaining to spaces
gzr user [SUBCOMMAND] # Commands pertaining to users
gzr version # gzr version

example:
gzr space export 1 --host=xxxxxxxx --port=443 --client-id=xxxxxx --client-secret=xxxxx --api_version 3.1

above command is working for now , as per looker it will work until june 2023. because they are going to remove api version 3.1 completely from looker. even now also if we remove --api_version 3.1 from above command, space is not working because by default its pointing to looker 4.0.

is there any plan to add folder command in gazer soon? to achieve the backup task and migration[environment to environment] etc.....

thanks
Siva

The latest release (yesterday) added the folder command.

what is the latest version and how to upgrade existing version.

The latest version is 0.2.60. The command gem update gazer should update the gem.