Changeset bc9c5251


Ignore:
Timestamp:
12/16/2021 08:59:39 PM (2 years ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
9532fa4
Parents:
60351e5b
Message:

Make database upgrade instructions "nodump" in postgresql

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/databases/postgresql.xml

    r60351e5b rbc9c5251  
    195195      <para>Fist, do a temporary install which makes access to the new
    196196      binaries much easier:</para>
    197 <screen><userinput>make DESTDIR=$(pwd)/DESTDIR install</userinput></screen>
     197<screen role="nodump"><userinput>make DESTDIR=$(pwd)/DESTDIR install</userinput></screen>
    198198
    199199      <para>Next, create a directory which is writable by the
     
    201201      <systemitem class="username">root</systemitem> user:</para>
    202202     
    203 <screen><userinput role="root">install -D -o postgres $(pwd)/DESTDIR/tmp</userinput></screen>
     203<screen role="nodump"><userinput>install -D -o postgres $(pwd)/DESTDIR/tmp</userinput></screen>
    204204     
    205205      <para>Now, stop the existing instance of <application>PostgreSQL</application>
     
    207207      <systemitem class="username">root</systemitem> user:</para>
    208208     
    209 <screen revision="sysv"><userinput role="root">pushd $(pwd)/DESTDIR/tmp
     209<screen revision="sysv" role="nodump"><userinput>pushd $(pwd)/DESTDIR/tmp
    210210/etc/rc.d/init.d/postgresql stop
    211211su postgres -c "../usr/bin/initdb -D /srv/pgsql/newdata"
     
    215215popd</userinput></screen>
    216216
    217 <screen revision="systemd"><userinput role="root">pushd $(pwd)/DESTDIR/tmp
     217<screen revision="systemd" role="root"><userinput>pushd $(pwd)/DESTDIR/tmp
    218218systemctl stop postgresql
    219219su postgres -c "../usr/bin/initdb -D /srv/pgsql/newdata"
     
    232232      directory as the <systemitem class="username">root</systemitem> user:</para>
    233233     
    234 <screen><userinput role="root">rm -rf /srv/pgsql/data
     234<screen role="nodump"><userinput>rm -rf /srv/pgsql/data
    235235mv /srv/pgsql/newdata /srv/pgsql/data</userinput></screen>
    236236
Note: See TracChangeset for help on using the changeset viewer.