public inbox for [email protected]  
help / color / mirror / Atom feed
From: Stephen Frost <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Re: pgbackrest creating new directories (messing up cron jobs).
Date: Tue, 10 Mar 2020 09:44:48 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <5808963daa5dd7b4a3704bba8dac828b.squirrel@danielas3rtn54uwmofdo3x2bsdifr47huasnmbgqzfrec5ubupvtpid.onion>
References: <5808963daa5dd7b4a3704bba8dac828b.squirrel@danielas3rtn54uwmofdo3x2bsdifr47huasnmbgqzfrec5ubupvtpid.onion>

Greetings,

* [email protected] ([email protected]) wrote:
> My pgbackrest creates the files in
> /var/lib/pgbackrest/archive/main/10/0000000100000000

Yes, those are files which are created in the repo.

> Each file looks something like:
> 000000010000000100000022-033bbe600913c068e89c3d063afb1f0527bf513d.gz.

That's currently the naming, but we anticipate changing it in the future
and so I strongly recommend that you do not make assumptions or depend
on that exact naming.

> However, when the last two digits of the section before the hyphen become
> FF, pgbackrest creates a new directory:
> /var/lib/pgbackrest/archive/main/10/0000000100000001.

Yes.

> This is annoying as I have a cron job set up to focus on files in the
> 0000000100000000 directory.

What is the cronjob doing..?  You really shouldn't be hacking around
with things in the repo- there's commands available like archive-get to
extract out WAL files from the repo.

> Is there a way to force bgbackrest to only use one directory (e.g.
> 0000000100000000)?

No.

Thanks,

Stephen


Attachments:

  [application/pgp-signature] signature.asc (819B, ../[email protected]/2-signature.asc)
  download

view thread (6+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: pgbackrest creating new directories (messing up cron jobs).
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox