Globals

Details
This page shows version v0.9.6. The current version can be found here.

Global flags are configuration that applies to all contexts. The following flags are all nested under globals:

Clear Output

clear_output when set to true will remove all files in the destination folder prior to importing the data.

ie. if fetching all dashboards for the default org, then all files in the folder: {output_path}/org_main-org/dashboards will be removed.

Caution

Be careful when using this pattern. This removes all related files, if the operation fails all previous backups for that entity type will be lost.

Debug

When debug is set to true, verbose debugging is enabled. Usually only needed for debugging when issues arise.

Debug API

debug_api when set to true will echo out all the raw API calls, parameter and responses being received. This can be very helpful if you wish to debug behavior being seen or reverse engineering what GDG is actually doing.

Ignore SSL

ignore_ssl_errors when set to true will accept invalid SSL certificates.

Retry Count

retry_count when set will try N number of times before giving up on any request. Please be careful if the number is too high it can lead to very slow performance if performing several operations.

Retry Delay

retry_delay when set will wait for the specified duration before trying again. The time is parsed in the format supported by go time.ParseDuration package.