Categories
Uncategorized

More expertise on Backuppc

About four years back I wrote a post on waking up machines in Backuppc.

This was a simple and fantastic way to wake up each machine to back it up. For a while I was actually waking up the backup server from the router and it would then backup the machine. At a set time the backup server would then shut down.

This was going to plan until I upgraded to Ubuntu 12.04. The backup machine was unable to boot up without human intervention and backuppc had an issue requiring the downgrade on the samba component. Most would expect the latest version of a OS to be better than the previous. Sadly this is not the case with Ubuntu.

Well now in this post on Good Job Sucking the author describes a way to wake the machines, discover if they were up shut down and if so turn them off. It a great idea. Only one caveat I would say is that most Windows machines would be set to sleep after a period, so this technique may not be needed for desktop machines.

Well worth looking into I think.

Categories
backuppc backups SAMBA Uncategorized

How to repair Backuppc on Ubuntu 12.04

Arrrgh

After upgrading to the latest 12.04 – which in itself was a difficult affair – I discovered a massive issue. Backuppc was failing! I was receiving this error.

 NT_STATUS_ACCESS_DENIED listing \\* 

So first I checked the configuration, but as I hadn’t changed anything I was completely mystified what was going wrong.

Searching

So I googled the error and I got a whole lot of posts where people had the same issue as me. There is even a problem log in launchpad. (link)

The culprit was a bug in samba, particularily the way it exposed folders in the exclude list.

Cure

The cure is move down to the previous samba. Sounds simple doesn’t it. But if you’re not a Linux guru that task isn’t the simplest. Have faith, because the great guys at tolaris.com have put up this fix.

Simply follow the steps there and restart samba and you are ready to go. The only change I made was to subtitute the hold feature of aptitude instead of the echo cmd they use to prevent samba from being updated in the future.

 sudo aptitude hold samba 

And now my backups are back and running. Now to figure out why the backup server doesn’t always boot clean. sigh.