django-dbbackup 'pg_dump not found' workaround
serg | Feb. 22, 2022, 3:02 a.m.
# due to a bug on Mac os I've to specify the path to a pg_dump in my settings.py DBBACKUP_CONNECTORS = { 'default': { 'ENGINE': 'django.db.backends.postgresql', "NAME": os.environ.get('DB_NAME'), "USER": os.environ.get('DB_USER'), "PASSWORD": os.environ.get('DB_PASS'), "HOST": os.environ.get("DB_HOST"), 'DUMP_CMD': os.environ.get("PATH_PG_DUMP"), } }