Re: Postgresql 17 incremental backup - Mailing list pgsql-admin

From Guillaume Lelarge
Subject Re: Postgresql 17 incremental backup
Date
Msg-id CAECtzeXxEWKcoOD_+Cu80FDEBJ45f7P7SMO52_pusT7ZEESdQw@mail.gmail.com
Whole thread Raw
In response to Postgresql 17 incremental backup  (Mauricio Fernandez <mmauricio.fernandez@gmail.com>)
List pgsql-admin
Hi,

Le lun. 6 janv. 2025 à 20:23, Mauricio Fernandez <mmauricio.fernandez@gmail.com> a écrit :
Hi admins, I'm trying to execute an incremental backup and I'm getting the following error

[postgres@buda ~]$ pg_basebackup -c fast -P -D $PGBKP/fisicos/viernes –-incremental=$PGBKP/fisicos/base_plano/backup_manifest
pg_basebackup: error: demasiados argumentos en la línea de órdenes (el primero es «–-incremental=/var/lib/pgsql/17/backups/devadv01/fisicos/base_tar/backup_manifest»)
pg_basebackup: consejo: Pruebe «pg_basebackup --help» para mayor información.

The literal translation of the error message is: pg_basebackup: error: too many arguments in the command line (the first is «–-incremental=/var/lib/pgsql/17/backups/devadv01/fisicos/base_tar/backup_manifest»)


It looks like it thinks that  "--incremental=/var/lib/pgsql/17/backups/devadv01/fisicos/base_tar/backup_manifest" is one argument rather than an argument and its value. Try getting rid of the equal value. Maybe it will help.


--
Guillaume.

pgsql-admin by date:

Previous
From: Mauricio Fernandez
Date:
Subject: Postgresql 17 incremental backup
Next
From: Tom Lane
Date:
Subject: Re: How to debug extension update