Re: How to get a more RSYNC compatible output of pg_dump?

Поиск
Список
Период
Сортировка
От Thorsten Schöning
Тема Re: How to get a more RSYNC compatible output of pg_dump?
Дата
Msg-id 1969313827.20220516145030@am-soft.de
обсуждение исходный текст
Ответ на Re: How to get a more RSYNC compatible output of pg_dump?  (Holger Jakobs <holger@jakobs.com>)
Ответы Re: How to get a more RSYNC compatible output of pg_dump?  (Holger Jakobs <holger@jakobs.com>)
Список pgsql-admin
Guten Tag Holger Jakobs,
am Montag, 16. Mai 2022 um 12:52 schrieben Sie:

> If you want to sync a new version of a file without transferring
> the whole thing, you have to use the option -c or --checksum.

No, --checksum is only for (slowly) recognizing changes at all,
transfer is differential by default with or without that option.

>  -c, --checksum              skip based on checksum, not mod-time & size

https://linux.die.net/man/1/rsync

> This works well only if some blocks of the file have changed, while
> most others haven't. This won't be the case of a pg_dump.

It is the case for some dumps I'm creating, but those are a lot
smaller and don't store large objects like files. Therefore I was
wondering about the order in which pg_dump outputs tables, rows etc.,
e.g. if that is the same always or changing with each exec for some
reason.

Mit freundlichen Grüßen

Thorsten Schöning

--
AM-SoFT IT-Service - Bitstore Hameln GmbH
Mitglied der Bitstore Gruppe - Ihr Full-Service-Dienstleister für IT und TK

E-Mail: Thorsten.Schoening@AM-SoFT.de
Web:    http://www.AM-SoFT.de/

Tel:   05151-  9468- 0
Tel:   05151-  9468-55
Fax:   05151-  9468-88
Mobil:  0178-8 9468-04

AM-SoFT IT-Service - Bitstore Hameln GmbH, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 221853 - Geschäftsführer: Janine Galonska


Für Rückfragen stehe ich Ihnen jederzeit zur Verfügung.

Mit freundlichen Grüßen,

Thorsten Schöning


Telefon: +49 (0)515 94 68 - 0
Fax:
E-Mail: TSchoening@am-soft.de

AM-Soft IT-Service - Bitstore Hameln GmbH
Brandenburger Straße 7c
31789 Hameln

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen und ist ausschliesslich für den
Adressatenbestimmt. Jeglicher Zugriff auf diese E-Mail durch andere Personen als den Adressaten ist untersagt. Wenn Sie
nichtder richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender
undvernichten Sie diese E-Mail. Sollten Sie nicht der für diese E-Mail bestimmte Adressat sein, ist Ihnen jede
Veröffentlichung,Vervielfältigung oder Weitergabe wie auch das Ergreifen oder Unterlassen von Massnahmen im Vertrauen
auferlangte Information untersagt.  

This e-mail may contain confidential and/or privileged information and is intended solely for the addressee. Access to
thisemail by anyone else is unauthorized. If you are not the intended recipient (or have received this e-mail in error)
pleasenotify the sender immediately and destroy this e-mail. If you are not the intended recipient, any disclosure,
copying,distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful.  

Hinweise zum Datenschutz: bitstore.group/datenschutz






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

Предыдущее
От: hubert depesz lubaczewski
Дата:
Сообщение: Re: How to get a more RSYNC compatible output of pg_dump?
Следующее
От: Holger Jakobs
Дата:
Сообщение: Re: How to get a more RSYNC compatible output of pg_dump?