public inbox for [email protected]
help / color / mirror / Atom feedFrom: 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 18:37:53 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <c13c5fb8c0b95a9bb68f7ecefb829c7f.squirrel@danielas3rtn54uwmofdo3x2bsdifr47huasnmbgqzfrec5ubupvtpid.onion>
References: <5808963daa5dd7b4a3704bba8dac828b.squirrel@danielas3rtn54uwmofdo3x2bsdifr47huasnmbgqzfrec5ubupvtpid.onion>
<[email protected]>
<c13c5fb8c0b95a9bb68f7ecefb829c7f.squirrel@danielas3rtn54uwmofdo3x2bsdifr47huasnmbgqzfrec5ubupvtpid.onion>
Greetings,
* [email protected] ([email protected]) wrote:
> >> 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.
>
> The cronjob is using 'mutt' to mail me the .gz files at a set period.
>
> It says:
>
> cd /var/lib/pgbackrest/archive/main/10/0000000100000000/
> echo "" | mutt -s "Ttile" [email protected] -a *.gz
Isn't that going to mail you the same WAL over and over again if you set
it up as a cronjob..? Is that really what you want?
> Of course, once 0000000100000000 becomes 0000000100000001, this no longer
> works.
That doesn't seem like the worst of the problems here.
> Is there, perhaps, a better way to achieve my goal?
Well, you could use archive-get with pgbackrest to pull out the files by
requesting each segment number, but I'm not sure what the idea here is
exactly- *why* are you email'ing them?
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