Changes

Jump to navigation Jump to search
370 bytes added ,  18:42, 12 December 2022
Line 31: Line 31:     
=== Upgrade ===
 
=== Upgrade ===
  yum  update {{#var:smecontribname}} {{#var:contribname}} --enablerepo=smecontribs
+
  yum  update {{#var:smecontribname}} --enablerepo=smecontribs
    
=== 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,252

edits

Navigation menu