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 ?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!