nycmeshnet / meshdb

A convenient, stable, and sane database for tracking Members and Nodes for use with robots and humans
https://db.nycmesh.net
MIT License
12 stars 14 forks source link

Only backup 'default' #621

Closed james-otten closed 1 month ago

james-otten commented 1 month ago

Only try to backup the "default" database, ignoring "readonly" which would be a subset of "default".

Resolves error:

pg_dump: error: query failed: ERROR:  permission denied for table django_migrations

Docs: https://django-dbbackup.readthedocs.io/en/master/configuration.html#dbbackup-databases

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.02%. Comparing base (cc928d9) to head (2217568). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #621 +/- ## ======================================= Coverage 94.02% 94.02% ======================================= Files 75 75 Lines 3081 3081 ======================================= Hits 2897 2897 Misses 184 184 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.