You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exporter: Ignore workspace assets of deleted users and service principals (#2980)
* Exporter: detecting deleted users/service principals & not exporting their data
Initial work, tests should be fixed.
* Fix tests
* Add a command-line flag to export assets of deleted users
* Fix formatting
* Fix tests after the Go SDK upgrade
Copy file name to clipboardExpand all lines: docs/guides/experimental-exporter.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,7 @@ All arguments are optional, and they tune what code is being generated.
45
45
*`-skip-interactive` - optionally run in a non-interactive mode.
46
46
*`-includeUserDomains` - optionally include domain name into generated resource name for `databricks_user` resource.
47
47
*`-importAllUsers` - optionally include all users and service principals even if they are only part of the `users` group.
48
+
*`-exportDeletedUsersAssets` - optionally include assets of deleted users and service principals.
48
49
*`-incremental` - experimental option for incremental export of modified resources and merging with existing resources. *Please note that only a limited set of resources (notebooks, SQL queries/dashboards/alerts, ...) provides information about the last modified date - all other resources will be re-exported again! Also, it's impossible to detect the deletion of the resources, so you must do periodic full export if resources are deleted!***Requires**`-updated-since` option if no `exporter-run-stats.json` file exists in the output directory.
49
50
*`-updated-since` - timestamp (in ISO8601 format supported by Go language) for exporting of resources modified since a given timestamp. I.e., `2023-07-24T00:00:00Z`. If not specified, the exporter will try to load the last run timestamp from the `exporter-run-stats.json` file generated during the export and use it.
50
51
*`-notebooksFormat` - optional format for exporting of notebooks. Supported values are `SOURCE` (default), `DBC`, `JUPYTER`. This option could be used to export notebooks with embedded dashboards.
0 commit comments