backup from stdin

michabbs

Active Member
May 5, 2020
137
20
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