Monday, April 2, 2012

Redirecting Bacula Console Command's Output

Working with bconsole , Sometimes the output of certain commands is so long that it scrolls fast and yout terminal history size will not be sufficient to catch all the output. For example : 

*list files jobid=32

The output was 29870 lines .. so either set your terminal history size to 30000 and keep scrolling and sacrificing your RAM or use the redirecting way!

The Redirecting Way:

While on bconsole command :

*@output testfile
*list files jobid=32

where testfile is the name of the output file required.

Now you can easily less or grep yout new file.

No comments:

Post a Comment