Re: pgbackrest creating new directories (messing up cron jobs).

From: mimble9(at)danwin1210(dot)me
To: "Stephen Frost" <sfrost(at)snowman(dot)net>
Cc: pgsql-novice(at)lists(dot)postgresql(dot)org
Subject: Re: pgbackrest creating new directories (messing up cron jobs).
Date: 2020-03-10 22:23:39
Message-ID: c13c5fb8c0b95a9bb68f7ecefb829c7f.squirrel@danielas3rtn54uwmofdo3x2bsdifr47huasnmbgqzfrec5ubupvtpid.onion
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Thank you for your answer!

>
>> 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" test(at)example(dot)com -a *.gz

Of course, once 0000000100000000 becomes 0000000100000001, this no longer
works.

Is there, perhaps, a better way to achieve my goal?

Thanks again - I do appreciate all your help.

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Stephen Frost 2020-03-10 22:37:53 Re: pgbackrest creating new directories (messing up cron jobs).
Previous Message Elizabeth Fernandez 2020-03-10 21:38:55 Major upgrade from 9.6.15 to 12.2