nsupdate.info icon indicating copy to clipboard operation
nsupdate.info copied to clipboard

switch from sqlite to postgresql

Open ThomasWaldmann opened this issue 6 years ago • 3 comments

postgres.int :: /etc/postgres/.../pg_hba.conf is ansible managed

... so i need to update ansible files to not lose my changes (nsupdate_info db host rule).

ThomasWaldmann avatar Dec 27 '19 18:12 ThomasWaldmann

https://gist.github.com/sirodoht/f598d14e9644e2d3909629a41e3522ad maybe helpful.

ThomasWaldmann avatar Dec 27 '19 18:12 ThomasWaldmann

https://django-extensions.readthedocs.io/en/latest/dumpscript.html

ThomasWaldmann avatar Dec 27 '19 19:12 ThomasWaldmann

Creating a fake django_session table to make dumpdata happy:

create table django_session(session_key, session_data, expire_date);

ThomasWaldmann avatar Dec 30 '19 13:12 ThomasWaldmann