Postgresql 17 incremental backup

From: Mauricio Fernandez <mmauricio(dot)fernandez(at)gmail(dot)com>
To: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Postgresql 17 incremental backup
Date: 2025-01-06 19:23:09
Message-ID: CAMdfv4WBiMMEwc2JiMcgBctQETOFDUtaODZvUy4FvLVZrRZV6A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi admins, I'm trying to execute an incremental backup and I'm getting the
following error

*[postgres(at)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(at)buda ~]$ cd $PGBKP/fisicos/viernes
[postgres(at)buda viernes]$ pwd
/var/lib/pgsql/17/backups/devadv01/fisicos/viernes

[postgres(at)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(at)buda ~]$ cat /etc/oracle-release
Oracle Linux Server release 9.4

[postgres(at)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

Mauricio Fernández

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Guillaume Lelarge 2025-01-06 19:42:48 Re: Postgresql 17 incremental backup
Previous Message Ron Johnson 2025-01-06 17:48:54 Re: How to debug extension update