backup from stdin

michabbs

Active Member
May 5, 2020
132
19
38
Can proxmox-backup-client send stream from standard input to the PBS?

This way for example sql dump could be sent do PBS without writing it anywhere on the way.
 
  • Like
Reactions: Ultranium
At the moment this is not possible, because proxmox-backup-client checks that the input file is either a directory (in case of pxar) or a regular file (in case you wanted to try something a little bit hacky like saving as a .log or .conf).
The best solution would probably be to write a script that saves the dump in a temporary file, makes a backup and deletes it immediately after, but i know this goes against what you wanted.
 
Any news for this request? it will be very useful for backup of big file without the need for space for the host.
 
  • Like
Reactions: Ultranium

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!