Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1enlvO-0007Bv-O3 for pgsql-docs@arkaria.postgresql.org; Mon, 19 Feb 2018 13:56:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1enlvN-0000zU-S0 for pgsql-docs@arkaria.postgresql.org; Mon, 19 Feb 2018 13:56:09 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1enlvN-0000zL-Ir for pgsql-docs@lists.postgresql.org; Mon, 19 Feb 2018 13:56:09 +0000 Received: from mail-io0-x241.google.com ([2607:f8b0:4001:c06::241]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1enlvK-0007Rc-PQ for pgsql-docs@lists.postgresql.org; Mon, 19 Feb 2018 13:56:09 +0000 Received: by mail-io0-x241.google.com with SMTP id b34so8509245ioj.6 for ; Mon, 19 Feb 2018 05:56:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=A8dilT6uZtGeUKWmDA4jZIRJGfKvhH7z0VPGht8Si34=; b=ol3TZbqxRXTuLtdcUh6sgVFhvjqlfMHM4KWh7jfOERrOYcBFHN45VS5bs3VL3f9B0F MBdqGo6BpySTq6vsp5kTCX8Altuflap75Am32tIHy1XgWaSc/MGDbtE4EjvNicB5SSt3 hR0krFy7gRRNKNrebbadwV2GAraJjdJH9yuBhwxK+qHgnnD/oKO/HgSEr+XS9CRBSTak OyILQLlmuUaYQoZeBbrtAHYTEROtFpmGBG2+cLBZM9pIrbAcg0pMDCmpgIs3lsIHvpOl TJSEi6yVCW/ad8bTEyzKuabDiINhIL1/1CSQW19iSyZBGeTKMLeSpTGEuMzSFsFdyavb Ma2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=A8dilT6uZtGeUKWmDA4jZIRJGfKvhH7z0VPGht8Si34=; b=fpw8DpEvvNacPy1ZUUm7MsYPTNwwH+TM0eWrNryhCw6dQsMo3ApPAbk7gB2UstRXXb VTocKJ276dXAYTAJKe8Gu5zmcf0EYe2mj4oO6WqIkIILLb9qMyZ/dmJ0yvYrzmQ46WNJ XUxjokHEeODjfRqoE7y3W4NpFH+iyAxAd63pMKlfZ3NqJAhojGwFnkssbRlkEMYSwnXZ fRTvsi5ip+auDt1P75kwpKkrCnbnKKy5bJERX2R9U6Wywn2x2bYN3BA+XTIUSZe8UKxu y6vYq6T4BGX2IeBuTJ03Fm9NUyEjKlclw2ko37bzIXRfssH+ijN8XrkWN35eN8nwDHZv iJrA== X-Gm-Message-State: APf1xPAFPfASU3K0KbCG/CtjzuSFou2pOr1TwQSxLlyT5xYhdzZ/T9y8 HI2NbB7e1kxF0VEmMEyGP/aujYB76gm3NeV/9cQ= X-Google-Smtp-Source: AH8x2270bKddQijDktIp9rFvFapra/exRIXE/19g6wSGcWBItxry5F9V5WujyxN3bxtZXuiTqkA4IS8ez9dEZumwV/U= X-Received: by 10.107.137.142 with SMTP id t14mr19066594ioi.230.1519048564686; Mon, 19 Feb 2018 05:56:04 -0800 (PST) MIME-Version: 1.0 Received: by 10.2.19.200 with HTTP; Mon, 19 Feb 2018 05:56:04 -0800 (PST) Received: by 10.2.19.200 with HTTP; Mon, 19 Feb 2018 05:56:04 -0800 (PST) In-Reply-To: <151904846438.1392.12159208594449682757@wrigleys.postgresql.org> References: <151904846438.1392.12159208594449682757@wrigleys.postgresql.org> From: Salvador Jacinto Date: Mon, 19 Feb 2018 11:56:04 -0200 Message-ID: Subject: Re: docu bug? To: markus.zwettler@zuerich.ch, pgsql-docs@lists.postgresql.org Content-Type: multipart/alternative; boundary="001a113f8f2c18425d0565910e1d" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --001a113f8f2c18425d0565910e1d Content-Type: text/plain; charset="UTF-8" POR FAVOR TRADUZIR Em 19/02/2018 9:55 AM, "PG Doc comments form" escreveu: > The following documentation comment has been logged on the website: > > Page: https://www.postgresql.org/docs/9.6/static/continuous-archiving.html > Description: > > Seems to need a persistent connection: > > > 25.3.3.1. Making a non-exclusive low level backup > ... > The connection calling pg_start_backup must be maintained until the end of > the backup, or the backup will be automatically aborted. > ... > > > > The sample works with a NON-persistent connection (psql -c): > > > 25.3.6.1. Standalone Hot Backups > ... touch /var/lib/pgsql/backup_in_progress > psql -c "select pg_start_backup('hot_backup');" > tar -cf /var/lib/pgsql/backup.tar /var/lib/pgsql/data/ > psql -c "select pg_stop_backup();" > rm /var/lib/pgsql/backup_in_progress > tar -rf /var/lib/pgsql/backup.tar /var/lib/pgsql/archive/ > ... > > --001a113f8f2c18425d0565910e1d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
POR FAVOR TRADUZIR=C2=A0
=
Em 19/02/2018 9:55 AM, "PG Doc comments= form" <noreply@postgresq= l.org> escreveu:
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org= /docs/9.6/static/continuous-archiving.html
Description:

Seems to need a persistent connection:

<quote>
25.3.3.1. Making a non-exclusive low level backup
...
The connection calling pg_start_backup must be maintained until the end of<= br> the backup, or the backup will be automatically aborted.
...
</Quote>


The sample works with a NON-persistent connection (psql -c):

<quote>
25.3.6.1. Standalone Hot Backups
...=C2=A0 =C2=A0 =C2=A0 touch /var/lib/pgsql/backup_in_progress
psql -c "select pg_start_backup('hot_backup');"
tar -cf /var/lib/pgsql/backup.tar /var/lib/pgsql/data/
psql -c "select pg_stop_backup();"
rm /var/lib/pgsql/backup_in_progress
tar -rf /var/lib/pgsql/backup.tar /var/lib/pgsql/archive/
...
</quote>
--001a113f8f2c18425d0565910e1d--