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

Поиск
Список
Период
Сортировка
От mimble9@danwin1210.me
Тема Re: pgbackrest creating new directories (messing up cron jobs).
Дата
Msg-id c13c5fb8c0b95a9bb68f7ecefb829c7f.squirrel@danielas3rtn54uwmofdo3x2bsdifr47huasnmbgqzfrec5ubupvtpid.onion
обсуждение исходный текст
Ответ на Re: pgbackrest creating new directories (messing up cron jobs).  (Stephen Frost <sfrost@snowman.net>)
Ответы Re: pgbackrest creating new directories (messing up cron jobs).  (Stephen Frost <sfrost@snowman.net>)
Список 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@example.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.




В списке pgsql-novice по дате отправления:

Предыдущее
От: Elizabeth Fernandez
Дата:
Сообщение: Major upgrade from 9.6.15 to 12.2
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: pgbackrest creating new directories (messing up cron jobs).