How To Clear Apt Cache – /var/cache/apt/

I have a few limited space (20 gig) servers doing small jobs for us. If these have been upgrade over several major releases then the apt cache can get quite large. I used ncdu to see which folders and files are taking up space. To clear you apt cache from the command line type:

How to install ssh-copy-id on OSX (the easy way!)

If you have migrated from Linux to OSX… you might well be missing ssh-copy-id. Frankly, the easier way to do this is to install the Brew repository / package manager for Mac and then install ssh-copy-id on your Mac in one command. Install Brew (if you don’t already have this awesome tool!). Then simply.. Job … Read more

How to move From Ubuntu to OSX

I’ve decided to stop using Ubuntu as my primary home computer and make the switch to OSX. I’ve purchased a new Macbook Pro and for the first time ever not immediately installed Ubuntu. I love Ubuntu (and this blog is 99% all about Ubuntu); so why have I decided to make this change? Why go … Read more

How to restore a single file in Bacula

I wanted to restore a single file from Bacula. I’m writing this tutorial partically to remind myself how to do this but perhaps it will help someone in the future. You will need to do this from bconsole on your Bacula server. 1 – You need to find the filename of the file. For example: … Read more