Removing the whitespace from text files in Sublime

I like Sublime Text, it's my favourite text editor. Handily available for OSX and Windows. What's annoying though is when you get given or open a text file that has loads of whitespace at the end of the lines. Aside from messing with my compulsive sense of order, there are cases when extra whitespace can cause problems for some applications. Just in case, there's a handy configuration option that can strip out trailing whitespace when a file is saved. Here's how to set it up... Open Sublime's preferences - in OSX this is done by "cmd + ," Add the setting "trim_trailing_white_space_on_save" and set it to "true" Save the preferences file Bingo! Whitespace will be trimmed when files are saved in future. Just for clarity, the full … [Read more...]

Some other TimeMachine exclusions

In my other post on the topic I excluded my local Mail app files from my TimeMachine backups because they were tripping over McAfee AntiVirus. I thought that it might be sensible to add a few other exclusions to trim down the total amount backed up and reduce the impact of frequent TM backups on my laptop. As you can see, my total backup size is about 380Gb. Included in that are a fair few transient / temporary files that aren't needed as well as some files that are backed up elsewhere anyway plus a handful of things that maybe I don't need or want to back up. Caches Really, you want to keep them? I thought not. They include the browser caches for Safari and Firefox amongst other things. Click the "+" button. In the finder window … [Read more...]

Infected email breaking OSX TimeMachine backups

Having been away from home a lot recently, it had been a while since my laptop had been backed up by TimeMachine. After a few attempts though it got a bit annoying as McAfee kept interrupting the process. The problem seemed to be that the backups contained infected emails: McAfee was blocking TM from writing infected emails to the backup drive. As it turns out, I recalled fixing this once before (although I never blogged about it). So how could it have come unpicked? Looking at my TM backup exclusions, the exclusion that I added was still in place: But my whole mail folder should be more than 8KB!... Then it clicked. I hadn't done a TM backup since updating to OSX El Capitan. After clicking the "+" button to add a new rule, I navigated … [Read more...]

Unitrends Free – Review: Part 2


In Part 1 of this review, I walked through the deployment and initial configuration of the Unitrends Free backup appliance. I'm now going to touch briefly on some of the other features of the product before summarising my thoughts. Recovery There's no point taking backups if they don't work, right? Well there are a few options available here. The first of them is a file level recovery. This mounts a VM's backed up disks as file shares on the backup appliance. To test it, I created a couple of test VMs to backup and selected to restore from one.   A file level recovery "job" is started and a share is created using the backup job number.     It's pretty easy to browse to the share and the … [Read more...]

Unitrends Free – Review: Part 1


I was asked to give a new, free backup tool a quick road-test recently. Unitrends have had an Enterprise version of their backup software for some time. And, as I've used it a bit in my lab with an NFR license in the past I was only too happy to give Unitrends Free a go. Features As a free edition, you expect a basic set of features. The goal of such offerings is normally to get you hooked, but wanting more. Unitrends Free offers the following features: Backup from VMware vSphere or Microsoft Hyper-V Unlimited VMs and host CPU sockets supported Instant VM recovery (allows you to run a VM directly from the backup files) - this feature also allows for recovery verification testing and use of backups for test and … [Read more...]

Updating Crashplan on ARM based QNAP


Last month I wrote a quick overview of the process to install Crashplan on and ARM based QNAP NAS. Six weeks (ish) later and it's still going ok. Or, at least I thought it was... Periodically, the makers of Crashplan update their software. Nothing surprising about that except that as the ARM based QNAPs aren't an officially supported device (that I'm aware of), the automatic update doesn't work and the backup engine on my QNAP kept stopping. The upgrade itself is pretty straightforward however. On the QNAP NAS To get the software on the NAS updated, you first have to download the QPKG file from this thread on the QNAP forum. Once you've saved it onto your QNAP device (I put it in the "Public" share but the location isn't too … [Read more...]

Reporting-as-a-Service – Call for beta testers


One of the engagements that we've done quite a few times in the past, and do on a fairly regular basis at Xtravirt, is a virtual infrastructure healthcheck. Whether it's as a one-off, a regular service or as part of a larger project. Born partly from a need for better tooling and also because of a perceived gap in the market, Xtravirt have developed Sonar - Reporting-as-a-Service for virtual datacenters. We're in need of UK-based beta testers to provide feedback in return for free healthchecks for the duration of the beta. For more information about Sonar or to sign up for the beta, please visit the Sonar website. … [Read more...]

TechTalks Schedule at VMworld EMEA 2014


The provisional schedule for vBrownbag TechTalks at VMworld EMEA 2014 has been posted. If you don't know what they are, the TechTalks are 10 minute presentations (hopefully broadcast live on the internet but also recorded) on any technical subject given by assorted attendees of VMworld. Anyone can propose a TechTalk (there are a few spaces left - signup using this form) and anyone can watch (find the Community Hangspace, or watch online via the vBrownbag live page). Among the sessions already scheduled are a couple of great sounding ones from Joerg Lew on orchestration and automation; another from Kaido Kibin about vCO collaboration; two sessions on VVols from Cormac Hogan and Nick Dyer; and a primer on the hyper-converged ecosystem … [Read more...]

Installing SQUID on a Synology NAS


I’m not going to go into exactly why (it’s a minor networking niggle following on from a change in broadband provider) but I wanted a simple HTTP proxy in my lab so that my lab VMs could get out on to the internet. Mostly for installing updates etc. Since my NAS is ideally placed in my network I thought that I’d use that. It’s only a short-term thing anyway. Now in order to get a proxy service on to the NAS, I needed to setup IPKG first. This allowed me to install and configure SQUID as follows: 1. Open an SSH session to the NAS 2. Download and install SQUID 3. Perform a couple of configuration commands 4. SQUID can now be started using /opt/etc/init.d/S80squid start Now there may be some additional changes you … [Read more...]