GitHub user saaifali created a discussion: Airflow 3 Metadata DB and Log 
Cleanup Jobs?

HI, 
As Airflow 3 now does not allow direct DB access, I have some DAGs in Airflow 2 
which were used to cleanup the logs and the MEtadata DB periodically. 

I tried converting my DAGS to run the CLI command : `airflow db clean` But it 
always returns some error : 
 sqlalchemy.exc.ArgumentError: Could not parse SQLAlchemy URL from string 
'airflow-db-not-allowed:///'
 
 Is the DAG the right way to go about setting up DB cleanups or is there 
another way recommended by Airflow which i seemed to have missed out on? 
 

GitHub link: https://github.com/apache/airflow/discussions/57746

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to