tar command example for backup file - Mailing list pgsql-docs

From PG Doc comments form
Subject tar command example for backup file
Date
Msg-id 167167452515.3504557.7795857663092030529@wrigleys.postgresql.org
Whole thread Raw
List pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/15/backup-file.html
Description:

It would be nice to change the tar command example to:
tar -cf backup.tar -C /usr/local/pgsql/data .
instead.

Otherwise, the /usr/local/pgsql path gets stored in the tar archive which
can be annoying to extract to another location (especially since not all
versions of tar support the newer --strip-components parameter).

pgsql-docs by date:

Previous
From: "Euler Taveira"
Date:
Subject: Re: pg_stat_database view column xact_commit description should be more descriptive?
Next
From: Laurenz Albe
Date:
Subject: Fix broken event trigger example