tar command example for backup file

Поиск
Список
Период
Сортировка
От PG Doc comments form
Тема tar command example for backup file
Дата
Msg-id 167167452515.3504557.7795857663092030529@wrigleys.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления: