Changes

Jump to navigation Jump to search
390 bytes added ,  17:42, 12 December 2022
Line 35: Line 35:  
=== Uninstall ===
 
=== Uninstall ===
 
  yum remove {{#var:smecontribname}}  {{#var:contribname}}*
 
  yum remove {{#var:smecontribname}}  {{#var:contribname}}*
 +
 +
=== Manually restore db ===
 +
after you upgraded you server or migrate, here how to restore db
 +
 +
using psql<syntaxhighlight lang="bash">
 +
exec chpst -u postgres /usr/pgsql-13/bin/psql < /home/e-smith/db/pgsql/pgsql.dump
 +
</syntaxhighlight>using pg_restore
 +
 +
<syntaxhighlight lang="bash">
 +
exec chpst -u postgres /usr/pgsql-13/bin/pg_restore < /home/e-smith/db/pgsql/pgsql.dump
 +
</syntaxhighlight>
    
=== Bugs ===
 
=== Bugs ===
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,254

edits

Navigation menu