Hi
I like to ask about various forms of doing backups and restore and exchange know-how. We use the pg_dump utility in the form like
/usr/local/pgsql/bin/pg_dump --host=localhost --port=5432 -U postgres --file=/Volumes/skyphos/backups/postgresql/backup13/postgresql.sql TrackIT
or data only
/usr/local/pgsql/bin/pg_dump --data-only -h localhost -p 5432 -U postgres -f/Volumes/skyphos/backups/postgresql/backup11/postgresql.sql TrackIT
Restore is done with
/usr/local/pgsql/bin/psql -U trackit -d TrackIT -f /Users/admin/Desktop/postgresql.sql
Are there other/better possibilities or conforms this already to best practice for postgres? What about using pgAdmin, advantages, disadvantages?
Regards,