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 1gmf1e-0000Cd-S8 for pgsql-general@arkaria.postgresql.org; Thu, 24 Jan 2019 13:26:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gmf1c-00020y-Qu for pgsql-general@arkaria.postgresql.org; Thu, 24 Jan 2019 13:26:32 +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 1gmf1c-0001zU-J1 for pgsql-general@lists.postgresql.org; Thu, 24 Jan 2019 13:26:32 +0000 Received: from tamriel.snowman.net ([2001:470:e38f::11]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gmf1Z-0005Ud-Ul for pgsql-general@lists.postgresql.org; Thu, 24 Jan 2019 13:26:31 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id C03785F79E; Thu, 24 Jan 2019 08:26:28 -0500 (EST) Date: Thu, 24 Jan 2019 08:26:28 -0500 From: Stephen Frost To: Ron Cc: pgsql-general@lists.postgresql.org Subject: Re: [pgbackrest] Expiring the last backup? Message-ID: <20190124132628.GL2528@tamriel.snowman.net> References: <1f2b45a1-b67e-1c41-abf6-4fc6a60c2b5d@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="yKAT9HuFXCO48l/1" Content-Disposition: inline In-Reply-To: <1f2b45a1-b67e-1c41-abf6-4fc6a60c2b5d@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --yKAT9HuFXCO48l/1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Greetings, * Ron (ronljohnsonjr@gmail.com) wrote: > The backups partition is running out of disk space, and I need to delete = the > only backup. >=20 > $ pgbackrest expire --stanza=3Dlocalhost --retention-full=3D0 > ERROR: [032]: '0' is out of range for 'repo1-retention-full' option Yeah, pgbackrest doesn't ever really think you want to get rid of *all* of your backups. :) > So, in version 2.07, what's the secret sauce for deleting that final copy? If this is the only backup and the only cluster being backed up into that repository, you could just nuke the whole repo and recreate it with stanza-create once you're ready to have backups again.. Thanks! Stephen --yKAT9HuFXCO48l/1 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJcSb0EAAoJEO1sijiDR2RVjSUP/i44gXrcZj0fbwWgJW0iyCf3 6F2xwcTCxcfl+m5MDlFOJbFG6Y2Cn3+htklac+35w7c0rBQO7j3ZQzv+DmnGZiv0 RHyicFdWVnAfEZ8l0EE7E349KR76TWq+rY1+horwhe/eaLLOlLuEJi2P071T6sYq Ixrx+uuoKZTeGi9s9fUcdmUBfHKteUP25ULVBjj51Z7DqcgF7JqsAmiEwX56S3Dn x2AJ+2JWbjo4SqgKl9QnwA2t411d9q23Pu6rACtWv1DzgP2P3sBwrObkIpPqsLsb OSZ9HDm3j3N8EhAG5zH7MewVNLQ1cnFkOcDOSw9/I8uF8y5xQLpzJ3+4FJCgLT86 pwvXp/0Io9Dh4Gc9r/p6RwPDrsDwur6EtTjDYSy419mj4VikFBTcRDnjStps1eT8 FeXfXsoH5xmUmFdySILv7F190lF+wAzAg45k6k4J1VFnUgR6+p34KK9QGvlTGZrB ppZTxD3/MqwU4PvlQPSv2aubnBJWQ4z+sCdoA1epK6+32DvN7JlXaK96+YQqLUM6 tQW5RVAYraD8Ll4IhVBRadWTbeZ2XjjjSiViky1lwR4vJF9Sz/Fs/8NG+fkLnbE2 FrrX2pm/4uyY3b1OBT5geopF9Ez1x6ie60smU29c+6Z42/pUoS5j+Y0MoYKfHp/E +asZM8X5hhQ6rnUjunLQ =CzFZ -----END PGP SIGNATURE----- --yKAT9HuFXCO48l/1--