Re: pg_basebackup Restore problem

Поиск
Список
Период
Сортировка
От Johnathan Tiamoh
Тема Re: pg_basebackup Restore problem
Дата
Msg-id CACoPQdarLORaW7DBf7Ai3h+PpKyrQy8DBpjmYhAPPNRPBvT86Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pg_basebackup Restore problem  (Ron Johnson <ronljohnsonjr@gmail.com>)
Ответы Re: pg_basebackup Restore problem
Список pgsql-general
You need to tell us the PG version number and show us the full command you ran. ?

Postgresql Version 14.10

tar -h  -zxvf   $PATH_FOLDER/*  .tar.gz

ls $PATH_FOLDER/*.tar.gz | xargs -I  {} tar -h  -zxvf  {}

What user are you running pg_basebackup as?

I ran it as postgres and now I'm restoring as postgres

/tnt???  Or /mnt?
/tnt/backup/current

This is where the backup files are.





On Wed, Jan 17, 2024 at 11:15 AM Ron Johnson <ronljohnsonjr@gmail.com> wrote:
On Wed, Jan 17, 2024 at 11:11 AM Johnathan Tiamoh <johnathantiamoh@gmail.com> wrote:
Hello,

I am trying to restore a pg_basebackup and have the following errors.


You need to tell us the PG version number and show us the full command you ran.
 
nohup: ignoring input
tar: /tnt/backup/current/7400.tar.gz: Not found in archive
tar: /tnt/backup/current/7401.tar.gz: Not found in archive
tar: /tnt/backup/current/7402.tar.gz: Not found in archive
tar: /tnt/backup/current/base.tar.gz: Not found in archive
tar: /tnt/backup/current/pg_wal.tar.gz: Not found in archive
tar: Exiting with failure status due to previous errors
PG_14_202107181/
tar: PG_14_202107181: Cannot mkdir: Permission denied

What user are you running pg_basebackup as?
 
PG_14_202107181/137502/
tar: PG_14_202107181: Cannot mkdir: Permission denied
tar: PG_14_202107181/137502: Cannot mkdir: No such file or directory
PG_14_202107181/137502/3222926016
tar: PG_14_202107181: Cannot mkdir: Permission denied

The files exist in the specified directory. 

/tnt???  Or /mnt?

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

Предыдущее
От: Ron Johnson
Дата:
Сообщение: Re: Initiate backup from routine?
Следующее
От: Ron Johnson
Дата:
Сообщение: Re: pg_basebackup Restore problem