Difference between revisions of "Airflow db"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
[[airflow db upgrade]] | [[airflow db upgrade]] | ||
[[airflow db init]] | [[airflow db init]] | ||
+ | [[airflow db check]] | ||
<pre> | <pre> |
Revision as of 10:34, 15 November 2022
airflow db upgrade airflow db init airflow db check
airflow db --help usage: airflow db [-h] COMMAND ... Database operations positional arguments: COMMAND check Check if the database can be reached check-migrations Check if migration have finished clean Purge old records in metastore tables downgrade Downgrade the schema of the metadata database. init Initialize the metadata database reset Burn down and rebuild the metadata database shell Runs a shell to access the database upgrade Upgrade the metadata database to latest version options: -h, --help show this help message and exit
See also
airflow db [ upgrade | init | check | check-migrations ]
airflow [ info | celery | config | db upgrad | config list | db init | scheduler | webserver | users | dags | kubernetes | pools | roles | tasks | variables | cheat-sheet | kereberos | plugins | rotate-fernet-key | sync-perm ] airflow --help
- Apache Airflow, Installation, configuration
airflow.cfg
, monitoring, Amazon Managed Workflows for Apache Airflow (MWAA),airflow
, Airflow Scheduler, providers, Workflows, Airflow executors, Airflow versions, Datadog integration
Advertising: