Fixing pgsql backup.