Saturday, March 05, 2011

Postgres Backup CentOS

#su postgres

$ pg_dump -Ft mydb > db.tar
$ pg_restore -d newdb db.tar


References:
[1]http://linux.die.net/man/1/pg_dump
[2]http://linux.die.net/man/1/pg_restore

No comments:

Nemo thumbnail

For solve mp4 preview sudo apt install ffmpegthumbnailer ffmpegthumbs