Vahid
April 22nd, 2011, 12:16
[root@desktop home]# touch backup.sql
[root@desktop home]# chown postgres:postgres backup.sql
[root@desktop home]# su postgres
bash-3.2$ pg_dumpall > backup.sql
---------- Post added at 12:16 PM ---------- Previous post was at 12:11 PM ----------
برای ریستور کردم هم از دستور زیر میتونید استفاده کنید :
[root@desktop home]# su postgres
bash-3.2$ pg_restore < backup.sql
[root@desktop home]# chown postgres:postgres backup.sql
[root@desktop home]# su postgres
bash-3.2$ pg_dumpall > backup.sql
---------- Post added at 12:16 PM ---------- Previous post was at 12:11 PM ----------
برای ریستور کردم هم از دستور زیر میتونید استفاده کنید :
[root@desktop home]# su postgres
bash-3.2$ pg_restore < backup.sql