stbarnabas/django-icybackup

PostGIS support

Closed this issue · 2 comments

Recieved via email:

Hi,

I'm eager to use icybackup but I ran into a problem and there isn't any place to report issues.

My database is Postgres but I'm using django.contrib.gis.db.backends.postgis.

Do you know if there will be any issues treating this like a normal Postgres database?

Thanks,
Shige Abe

icybackup uses pg_dump -Fc to back up internally, which a quick Google indicates should be OK for PostGIS. I've added a line to make icybackup pick up the PostGIS backend as a regular Postgres DB, which you should be able to get by using pip install git+https://github.com/stbarnabas/django-icybackup.git. Let me know if this works for you.

There is also a test that Travis runs that does a full backup and restore using all three of the backends that icybackup supports; that should probably have some GeoDjango-specific stuff added to it before this issue is closed.

Thank you! I'll give it a full test, but the backup part seems to be working!