Обсуждение: PgBackrest directory access from another server

Поиск
Список
Период
Сортировка

PgBackrest directory access from another server

От
Ron Johnson
Дата:
Besides lag, is there any harm in rsyncing the contents of a repo-path on one server into the repo-path on a different server?

--
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!

Re: PgBackrest directory access from another server

От
bertrand HARTWIG
Дата:
hello,

You may have corrupt or inconsistent data … 

Why don’t you use repo mirroring via pgBackRest ?

Sample :

[global]

repo1-path=/pgbackrest/repo1

repo2-path=/pgbackrest/repo2

repo2-host= remote-host



see https://pgbackrest.org/configuration.html#section-repository/option-repo-host

sections 7.19 to 7.30


Hope it helps


Bertrand





Le 19 août 2025 à 15:53, Ron Johnson <ronljohnsonjr@gmail.com> a écrit :

Besides lag, is there any harm in rsyncing the contents of a repo-path on one server into the repo-path on a different server?

Re: PgBackrest directory access from another server

От
Ron Johnson
Дата:

I'll check that out.  Thanks.

On Tue, Aug 19, 2025 at 11:22 AM bertrand HARTWIG <hartwig.bertrand@gmail.com> wrote:
hello,

You may have corrupt or inconsistent data … 

Why don’t you use repo mirroring via pgBackRest ?

Sample :

[global]

repo1-path=/pgbackrest/repo1

repo2-path=/pgbackrest/repo2

repo2-host= remote-host



see https://pgbackrest.org/configuration.html#section-repository/option-repo-host

sections 7.19 to 7.30


Hope it helps


Bertrand





Le 19 août 2025 à 15:53, Ron Johnson <ronljohnsonjr@gmail.com> a écrit :

Besides lag, is there any harm in rsyncing the contents of a repo-path on one server into the repo-path on a different server?



--
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!

Re: PgBackrest directory access from another server

От
Ron Johnson
Дата:

What happens when repo2-host temporarily (for some arbitrarily long value of "temporary") becomes inaccessible?

On Tue, Aug 19, 2025 at 11:22 AM bertrand HARTWIG <hartwig.bertrand@gmail.com> wrote:
hello,

You may have corrupt or inconsistent data … 

Why don’t you use repo mirroring via pgBackRest ?

Sample :

[global]

repo1-path=/pgbackrest/repo1

repo2-path=/pgbackrest/repo2

repo2-host= remote-host



see https://pgbackrest.org/configuration.html#section-repository/option-repo-host

sections 7.19 to 7.30


Hope it helps


Bertrand





Le 19 août 2025 à 15:53, Ron Johnson <ronljohnsonjr@gmail.com> a écrit :

Besides lag, is there any harm in rsyncing the contents of a repo-path on one server into the repo-path on a different server?



--
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!