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»)
All the files and directory exists
[postgres@buda ~]$ cd $PGBKP/fisicos/viernes
[postgres@buda viernes]$ pwd
/var/lib/pgsql/17/backups/devadv01/fisicos/viernes
[postgres@buda viernes]$ ls -l $PGBKP/fisicos/base_plano/backup_manifest
-rw-------. 1 postgres postgres 842933 ene 3 17:06 /var/lib/pgsql/17/backups/devadv01/fisicos/base_plano/backup_manifest
[postgres@buda ~]$ cat /etc/oracle-release
Oracle Linux Server release 9.4
[postgres@buda ~]$ postgres -V
postgres (PostgreSQL) 17.1
Trying without environment variables gets the same result, even puting the options (-i or --incremental ) in the first place too.
I don't know how to proceed
Thaks in advance
Kind regrads