public inbox for [email protected]
help / color / mirror / Atom feedFrom: Thorsten Schöning <[email protected]>
To: [email protected]
Subject: Re: How to get a more RSYNC compatible output of pg_dump?
Date: Mon, 16 May 2022 20:54:54 +0200
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
<[email protected]>
<[email protected]>
Guten Tag Thorsten Schöning,
am Montag, 16. Mai 2022 um 18:48 schrieben Sie:
> Streaming through SSH using TAR-format and UNTAR locally afterwards
> with some additional DIR-handling might be an option... Need to think
> about this, thanks!
Things seem to be pretty easy in the end and by piping one is able to
avoid additional local copies as well:
> mkdir -p [...]
> pushd [...]
> ssh [...] | tar --extract --no-seek --overwrite
> popd
> pg_restore --dbname=test --format=d DB_DIR
The only downside of this approach seems to be lots of files in one
directory and am not sure currently if extraneous files are correctly
deleted. But better having too many than too few files... ;-)
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: [email protected]
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: [email protected]
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 Adressaten bestimmt. Jeglicher Zugriff auf diese E-Mail durch andere Personen als den Adressaten ist untersagt. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten 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 auf erlangte Information untersagt.
This e-mail may contain confidential and/or privileged information and is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient (or have received this e-mail in error) please notify 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
view thread (8+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: How to get a more RSYNC compatible output of pg_dump?
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox