Why proxmox-backup-client backup ... 2>$ERRORS output is the same with proxmox-backup-client output ?

emoxam

Well-Known Member
Apr 9, 2019
67
1
48
43
I have a bash script
where i set
DBNAME1=
BACKUPPATH=
ERRORS=/root/errors_log.txt
export PBS_REPOSITORY=
export PBS_PASSWORD=
export PBS_FINGERPRINT=

And in the middle i have command
proxmox-backup-client backup "$DBNAME1"_psql.pxar:$BACKUPPATH/$DBNAME1 2>>$ERRORS
So when i run it manually i get all the output. Why ? Isn't 2 it a STDERR ? Does standart proxmox-backup-client output is STDERR ?