Search Postgresql Archives

Re: Restoring a database

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> pg_dumpall archive.  If you look at the backup file, you'll find that
> it's just straight SQL.  If you want to restore a particular database
> out of it and not all of them, then you will need to edit the sql file
> to include only what you want to restore.  Then you simply pass it
> through psql like so:

Thank you all for your help.

Could anyone please share his or her backup and restore script? I want
to backup all databases plus schemas in one server via crontab every
night and restore one or all of the backed up databases to another
server when I need to.

Thanks again.

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux