Is it possible to stream input into RAR

Posted by Dscoduc on Server Fault See other posts from Server Fault or by Dscoduc
Published on 2010-02-22T22:28:16Z Indexed on 2010/03/21 14:21 UTC
Read the original article Hit count: 542

Filed under:
|
|

I'm using RARLABS RAR.exe to archive/backup my server data. I am familiar with using RAR for creating an archive and adding files from a folder, but what about streaming data directly into an archive?

For example, when backing up my MySQL databases I use the mysqldump command that includes a pipe command into a text file. It would be nice to skip the file step and go directly into an archive file using something like the following syntax:

mysqldump -uUserName -pPassword --all-databases > rar.exe newarchivename.rar

Does anyone know if what I have described, or something similar, is even possible?

© Server Fault or respective owner

Related posts about backup

Related posts about archive