Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1itnxr-0002FQ-UU for pgsql-general@arkaria.postgresql.org; Tue, 21 Jan 2020 07:28:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1itnxo-0005GS-U3 for pgsql-general@arkaria.postgresql.org; Tue, 21 Jan 2020 07:28:40 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1itnxo-0005GJ-He for pgsql-general@lists.postgresql.org; Tue, 21 Jan 2020 07:28:40 +0000 Received: from mail-oi1-x235.google.com ([2607:f8b0:4864:20::235]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1itnxi-0000IQ-Q9 for pgsql-general@lists.postgresql.org; Tue, 21 Jan 2020 07:28:39 +0000 Received: by mail-oi1-x235.google.com with SMTP id l136so1701460oig.1 for ; Mon, 20 Jan 2020 23:28:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=CzoCCHq3H8iT1VujlZRadvPF6dN9Mcb3G2bXL92njtg=; b=fYezKoYwohMWpihuHvuU13GtSF4z3vsF/tHOZ38ipEZ6/UZ3wA2dp5xF6u0eRsPta5 g0src8tPpGiEPRLeH0Dkt6M6JArJCClpsbNI+x75in5CzGA4pwBkIm9I+v27B/z02xbZ P5C04bMteC/UYa0TfG3ev2tGjDSE/NZAmtnrOaPPqqcPMtap2+weXncrK2hwOFMpLlir 6KDdNqxu/x+vzYCwqTUv/9IScKNb2ywX89K0Ur36vsSp84Qi8vsad8IWDNBFbd08qAXn v2JlHdpVADQ9uxwANoyWCP+sSfDu5AdStkjHJ/Cah2M2sa+4ucXoMLAQRXpsz6eL24Ke x/9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=CzoCCHq3H8iT1VujlZRadvPF6dN9Mcb3G2bXL92njtg=; b=BG3AaIxFDzUSPLYz/oSvwUfEYsAyBRHrwYledPzUyGVCjZapkv4YqDZfxJyntsf4J1 mLZQDd8/BAbHAyGqGymIWlfixk2lGFbu3JP2LyzmXlT3OioLBPVPUiuJOXj+HduVtYoK xfUz7ilojZQ5UNAJWne9YeTE0kw0yZkqU3uNZU6I6MNZu/uQIvEd6JqKd9KTs3shcwTd OtlzF6Xb1UPAneb/fxv2DAmqPhxHbjKZLGY2UjiAD8ncrrfCrn4Gniu1F1hgrFT9n7Ux sYsfGHAWUMjGUnNNZwn3+SEkVcOYD4y0rxMaYytCt2hcy2xPxSK84wmtaeAFSsCUpD5L vvQg== X-Gm-Message-State: APjAAAXUbnIgTAl8MiSzeJJ2KSOJOsVFsnAnUs7trnHB2jh97uDeV83Q DXXU4kZ8qOXDFwFCPxe9pwoinEnXImU= X-Google-Smtp-Source: APXvYqy6WBCx+45Aqy3GEUBwGYpWB+JqdlqXRSUGMMMv/7yxDmB2Zq4CwB2cLmj5TWQwbV/930SmDw== X-Received: by 2002:a05:6808:a8a:: with SMTP id q10mr1929407oij.66.1579591712423; Mon, 20 Jan 2020 23:28:32 -0800 (PST) Received: from [192.168.1.10] (ip70-186-126-197.no.no.cox.net. [70.186.126.197]) by smtp.googlemail.com with ESMTPSA id 6sm11702497oil.43.2020.01.20.23.28.31 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 20 Jan 2020 23:28:32 -0800 (PST) Subject: Re: pgbackrest: ERROR: [029]: unable to convert base 10 string '0000000B' to unsigned int To: pgsql-general@lists.postgresql.org References: <313b5e89-f9ec-be04-c860-16c33acc1534@xs4all.net> From: Ron Message-ID: <855f5652-a4f7-4592-8098-053620f1b7da@gmail.com> Date: Tue, 21 Jan 2020 01:28:31 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <313b5e89-f9ec-be04-c860-16c33acc1534@xs4all.net> Content-Type: multipart/alternative; boundary="------------877906F2B993383F5F59DF98" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------877906F2B993383F5F59DF98 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 1/21/20 1:10 AM, Eric Veldhuyzen wrote: > Hi, > > We are using pgbackrest (2.21) to backup out postgresql (11) clusters. > Last night our nightly diff backup gave me the > ERROR: unable to convert base 10 string '0000000B' to unsigned int. > I tried if a full backup would fix this, but it didn't. Maybe I'm missing something, but 0000000*B* looks *hexa*decimal, not decimal. > Luckily this was only on our development/test cluster, so it is not a real > problem, but what is going on here and what would be the best way to fix this? > > The last few lines of the log (with --log-level-console=info) are: > > 2020-01-21 08:07:44.613 P02 INFO: backup file > ericv.dev.xs4all.net:/var/lib/postgresql/11/main/pg_xact/0000 (136KB, 100%) > checksum 76e273a0f888d449a540f86eacd0bb8386c49209 > 2020-01-21 08:07:44.614 P00 INFO: full backup size = 62.7MB > 2020-01-21 08:07:44.615 P00 INFO: execute non-exclusive pg_stop_backup() and > wait for all WAL segments to archive > 2020-01-21 08:07:44.917 P00 INFO: backup stop archive = > 0000000B00000015000000C3, lsn = 15/C3002F38 > ERROR: [029]: unable to convert base 10 string '0000000B' to unsigned int > 2020-01-21 08:07:45.448 P00 INFO: backup command end: aborted with exception [029] > > Eric Veldhuyzen > -- Angular momentum makes the world go 'round. --------------877906F2B993383F5F59DF98 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit On 1/21/20 1:10 AM, Eric Veldhuyzen wrote:
Hi,

We are using pgbackrest (2.21) to backup out postgresql (11) clusters.
Last night our nightly diff backup gave me the
ERROR: unable to convert base 10 string '0000000B' to unsigned int.
I tried if a full backup would fix this, but it didn't.

Maybe I'm missing something, but 0000000B looks hexadecimal, not decimal.

Luckily this was only on our development/test cluster, so it is not a real
problem, but what is going on here and what would be the best way to fix this?

The last few lines of the log (with --log-level-console=info) are:

2020-01-21 08:07:44.613 P02   INFO: backup file
ericv.dev.xs4all.net:/var/lib/postgresql/11/main/pg_xact/0000 (136KB, 100%)
checksum 76e273a0f888d449a540f86eacd0bb8386c49209
2020-01-21 08:07:44.614 P00   INFO: full backup size = 62.7MB
2020-01-21 08:07:44.615 P00   INFO: execute non-exclusive pg_stop_backup() and
wait for all WAL segments to archive
2020-01-21 08:07:44.917 P00   INFO: backup stop archive =
0000000B00000015000000C3, lsn = 15/C3002F38
ERROR: [029]: unable to convert base 10 string '0000000B' to unsigned int
2020-01-21 08:07:45.448 P00   INFO: backup command end: aborted with exception [029]

Eric Veldhuyzen


--
Angular momentum makes the world go 'round.
--------------877906F2B993383F5F59DF98--