Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tUtIX-003bR7-NG for pgsql-admin@arkaria.postgresql.org; Mon, 06 Jan 2025 20:02:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tUtIX-00C3Hl-2G for pgsql-admin@arkaria.postgresql.org; Mon, 06 Jan 2025 20:02:00 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tUtIW-00C3Hd-Ea for pgsql-admin@lists.postgresql.org; Mon, 06 Jan 2025 20:02:00 +0000 Received: from mail-qt1-x836.google.com ([2607:f8b0:4864:20::836]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tUtIT-000Cjh-1w for pgsql-admin@lists.postgresql.org; Mon, 06 Jan 2025 20:01:58 +0000 Received: by mail-qt1-x836.google.com with SMTP id d75a77b69052e-46783d44db0so141352061cf.1 for ; Mon, 06 Jan 2025 12:01:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lelarge-info.20230601.gappssmtp.com; s=20230601; t=1736193717; x=1736798517; darn=lists.postgresql.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=bWWQQKUbLrN+eOi4Hfni0J8vJy/wBROC3QVBjbmxvbg=; b=rzursyr3I8I/P0JBnWjmpWSXj1qSf3ftnFb+ujXoKgt2dgGSlq906+pqdxPQ1N01Sh GqzTttrbhq9OsdbbD5R+gJIg9Hw6ZIyF9SRfoAU+FOc/ouWADNmnB82F4j3Zzd0WSv2x c/rVgdgSiUmK2gPXBbQoEM+AvAhYGY4szvRFGX7YBOktEPxV8kYHdtVOU0BvymbomG0/ 5iRwge+Aq+v4SRKL7vAHNHwKoPVe8LpdYyXBjxRC9y94eAmAAz3p7ynhY2wTIzpDR8JZ ir3nFPXHeikLB0L40HKdb7N6fxJGDKvTMqbjlnoXbV2OdR8Ny/l0sW/7sOYUo6cwTrPE O5BQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736193717; x=1736798517; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=bWWQQKUbLrN+eOi4Hfni0J8vJy/wBROC3QVBjbmxvbg=; b=ixKR7IliaKkDHNrDP8Vo6FLUYuL/vnd7m/HjLtFCTByGoTprnzCX9Gq7r7PlDJ7t24 MntEFsesbh7bUVdtpGpYKePVppEGgX5aYo3bKLLdb/Fc5mi7sqYOMpo5+D1DEkH5W5QS cyI6o7N+wYL0Tji2YGYJVjpi8qQlHXnI81DIdeSGb2y29oUjQHxU3C7BIDlGuGjGH0sq 1JBpqCOPsWz+Q4n/imi13BIw/zVQkVisZPEYsD38BXC2lC4pciag+2yF5NqhdqJHFxte Fu+Q5V2GeeDmRPmCqZzplN/3o9sRZrTz93iKS7cgvXQclP8MYZ90qitTpLCzt1KNfEs9 TC3Q== X-Forwarded-Encrypted: i=1; AJvYcCWN2VsBIjaAXKQxm9jazRyt6XmhvVq3PAJZ8GavC0E1nQFRKh5Lscx6YkEVVJKTvmwufYfRTRrEHkX/tQ==@lists.postgresql.org X-Gm-Message-State: AOJu0Yzs99CgW/FaunKyRdGNSwqfdjilXUEHhfupbpH29IFZX6upEHWA awiuqQNGrmFEa9iixdvez8ZHGneR1G2gTBTVqpADDUvgRLKtJNqfzABne31rTjIzIQbuT69EpcS blEy/jYunoM3BRWMmvNmKPNhGBfkojei8ov1yKBb0bU9mA2wdZJwNiQ== X-Gm-Gg: ASbGncvTvNY6wsyeM9+P80Tuz3wWVhbXwDT4MKcNx2qcvZoTGy8oU7ctaH9Lxe73OSs u1DiY/dp/7WtB65TDCWDmIEoChWGFjBICkJA8yb8= X-Google-Smtp-Source: AGHT+IG1Blep8YbLg1ZG65IBz9ZPhvPnKU82ac8NcSFv75uqp0Etts5j3iq/pdvlb4vhj3BEW2xT5mf8gW6baJmI7RE= X-Received: by 2002:a05:622a:509:b0:467:70ce:75f4 with SMTP id d75a77b69052e-46a4a8e82d5mr1019674311cf.28.1736193717086; Mon, 06 Jan 2025 12:01:57 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Guillaume Lelarge Date: Mon, 6 Jan 2025 21:01:47 +0100 Message-ID: Subject: Re: Postgresql 17 incremental backup To: Mauricio Fernandez , Pgsql-admin Content-Type: multipart/alternative; boundary="000000000000c4bcef062b0f1985" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000c4bcef062b0f1985 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, Reply to the list, not only to me. Le lun. 6 janv. 2025 =C3=A0 20:52, Mauricio Fernandez < mmauricio.fernandez@gmail.com> a =C3=A9crit : > Hi Guillaume, thanks for the answer. > > I've tried with -i and --incremental , and the results are the same. In > both cases without "=3D" > > [postgres@buda viernes]$ pg_basebackup -c fast -P -D > /var/lib/pgsql/17/backups/devadv01/fisicos/viernes =E2=80=93-incremental > /var/lib/pgsql/17/backups/devadv01/fisicos/base_plano/backup_manifest > > pg_basebackup: error: demasiados argumentos en la l=C3=ADnea de =C3=B3rde= nes (el > primero es =C2=AB=E2=80=93-incremental=C2=BB) > pg_basebackup: consejo: Pruebe =C2=ABpg_basebackup --help=C2=BB para mayo= r > informaci=C3=B3n. > > [postgres@buda viernes]$ pg_basebackup -c fast -P -D > /var/lib/pgsql/17/backups/devadv01/fisicos/viernes =E2=80=93i > /var/lib/pgsql/17/backups/devadv01/fisicos/base_plano/backup_manifest > pg_basebackup: error: demasiados argumentos en la l=C3=ADnea de =C3=B3rde= nes (el > primero es =C2=AB=E2=80=93i=C2=BB) > pg_basebackup: consejo: Pruebe =C2=ABpg_basebackup --help=C2=BB para mayo= r > informaci=C3=B3n. > > I've tried your command line, and I have the same error. The minus sign is not the good one. Try: pg_basebackup -c fast -P -D /var/lib/pgsql/17/backups/devadv01/fisicos/viernes --incremental /var/lib/pgsql/17/backups/devadv01/fisicos/base_plano/backup_manifest > regards > > MF > > > El lun, 6 ene 2025 a las 16:42, Guillaume Lelarge () > escribi=C3=B3: > >> Hi, >> >> Le lun. 6 janv. 2025 =C3=A0 20:23, Mauricio Fernandez < >> mmauricio.fernandez@gmail.com> a =C3=A9crit : >> >>> 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 >>> =E2=80=93-incremental=3D$PGBKP/fisicos/base_plano/backup_manifest* >>> pg_basebackup: error: demasiados argumentos en la l=C3=ADnea de =C3=B3r= denes (el >>> primero es >>> =C2=AB=E2=80=93-incremental=3D/var/lib/pgsql/17/backups/devadv01/fisico= s/base_tar/backup_manifest=C2=BB) >>> pg_basebackup: consejo: Pruebe =C2=ABpg_basebackup --help=C2=BB para ma= yor >>> informaci=C3=B3n. >>> >>> *The literal translation of the error message is: pg_basebackup: error: >>> too many arguments in the command line (the first is >>> =C2=AB=E2=80=93-incremental=3D/var/lib/pgsql/17/backups/devadv01/fisico= s/base_tar/backup_manifest=C2=BB)* >>> >>> >> It looks like it thinks that >> "--incremental=3D/var/lib/pgsql/17/backups/devadv01/fisicos/base_tar/bac= kup_manifest" >> is one argument rather than an argument and its value. Try getting rid o= f >> the equal value. Maybe it will help. >> >> >> -- >> Guillaume. >> > --=20 Guillaume. --000000000000c4bcef062b0f1985 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

Reply t= o the list, not only to me.

Le=C2=A0lun. 6 j= anv. 2025 =C3=A0=C2=A020:52, Mauricio Fernandez <mmauricio.fernandez@gmail.com> a =C3=A9cri= t=C2=A0:
Hi Guillaume, thanks for the answer.

I've = tried with -i and --incremental , and the results are the same. In both cas= es without "=3D"=C2=A0=C2=A0

[postgres@buda vie= rnes]$ pg_basebackup -c fast -P -D /var/lib/pgsql/17/backups/devadv01/fisic= os/viernes =E2=80=93-incremental =C2=A0/var/lib/pgsql/17/backups/devadv01/f= isicos/base_plano/backup_manifest

pg_basebackup: err= or: demasiados argumentos en la l=C3=ADnea de =C3=B3rdenes (el primero es = =C2=AB=E2=80=93-incremental=C2=BB)
pg_basebackup: consejo: Pruebe =C2=AB= pg_basebackup --help=C2=BB para mayor informaci=C3=B3n.

[postgres@bu= da viernes]$ pg_basebackup -c fast -P -D /var/lib/pgsql/17/backups/devadv01= /fisicos/viernes =E2=80=93i /var/lib/pgsql/17/backups/devadv01/fisicos/base= _plano/backup_manifest
pg_basebackup: error: demasiados argumentos en la= l=C3=ADnea de =C3=B3rdenes (el primero es =C2=AB=E2=80=93i=C2=BB)
pg_ba= sebackup: consejo: Pruebe =C2=ABpg_basebackup --help=C2=BB para mayor infor= maci=C3=B3n.


I've tried your command line, and I have the same error. The min= us sign is not the good one. Try:

pg_basebackup -c= fast -P -D /var/lib/pgsql/17/backups/devadv01/fisicos/viernes --incrementa= l =C2=A0/var/lib/pgsql/17/backups/devadv01/fisicos/base_plano/backup_manife= st

=C2=A0
regards

<= /div>
MF


El lun, 6 ene 2025 a las 16:42, Guillaume = Lelarge (<gu= illaume@lelarge.info>) escribi=C3=B3:
Hi,

Le=C2= =A0lun. 6 janv. 2025 =C3=A0=C2=A020:23, Mauricio Fernandez <mmauricio.fernandez@= gmail.com> a =C3=A9crit=C2=A0:
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/vie= rnes =E2=80=93-incremental=3D$PGBKP/fisicos/base_plano/backup_manifest<= /div>
pg_basebackup: error: demasiados argumentos en la l=C3=ADnea de = =C3=B3rdenes (el primero es =C2=AB=E2=80=93-incremental=3D/var/lib/pgsql/17= /backups/devadv01/fisicos/base_tar/backup_manifest=C2=BB)
pg_basebackup:= consejo: Pruebe =C2=ABpg_basebackup --help=C2=BB para mayor informaci=C3= =B3n.

The literal translation of the er= ror message is: pg_basebackup: error: too many arguments in the command lin= e (the first is =C2=AB=E2=80=93-incremental=3D/var/lib/pgsql/17/backups/dev= adv01/fisicos/base_tar/backup_manifest=C2=BB)

<= /div>

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


--
Guillaume.
=


--
Guillaume.
<= /div>
--000000000000c4bcef062b0f1985--