I am doing an export with a0deploy
(full command:a0deploy export --format=yaml -c=auth0/config-dev.json --output_folder=auth0/local)
and I do not have a custom database enabled. However, I still am getting the database/Username-Password-Authentication directory getting exported and it is full of boilerplate/empty scripts. The documentation states that in addition to tenant.yaml, only supplementary files should be exported (actions, branding, etc).
I just tested your command and got the same results. This is expected since these are the template scripts provided by default in Auth0 Tenants. I agree that since you’re not licensed for this feature we could exclude them from the export - I will ask internally.
In the meantime, you could exclude databases from the export with an exclusion (I knew they would be useful!) as in the below:
ok! just wanted to double check that was expected, but yes i agree that it doesn’t make too much sense to have them exported. thank you again @sylvainf !