• Recovering deleted files on Fedora 15 using the photorec utility

    So here is the scenario; I’d taken some photos of a special occasion and wanted to copy them to my usb key so that my girlfriend could take them to be printed. Simple stuff huh.? Well normally yes, but when I gave my girlfriend the usb key last time instead of finding just the handful of photos on there that she expected there were dozens of them displayed when she plugged it into the kiosk.

    These were of course in the hidden .Trash folder on the device but I didn’t think to clear down the recycle bin. Well, I was not going to be caught out like that again so this time I deleted everything on the key, opened the Trash folder and clicked ‘Empty Trash’. Now all I had to do was drag and drop the photos from the camera and drop them onto the usb key. A fraction of a second too late I realised that I was not dropping the files into the usb key folder but into the trash instead!

    Read more
  • Backing up and Restoring to Dropbox on Ubuntu Server 10.04 LTS

    In my previous couple of posts I’ve been configuring Dropbox on my Virtual Private server running a headless installation of Ubuntu 10.04. The main reason for this was to enable me to use it for storing backups without having to rely in the Dropbox Web API which has proven to be somewhat flaky – or at least that’s my experience. With the Dropbox daemon now installed, configured and running all I need now is a script to perform the actual backups and save in the appropriate location. Initially I’ll do this using bash script but it is my intention to look at using Python when I have some time on my hands.

    Read more
  • Configuring Dropbox on an Ubuntu Server – Pt 2

    In Part 1 I clarified a few points on the Dropbox tutorial for getting the server running on a headless Linux server and while I had it running it was ‘locked’ to an ssh session, i.e. close the session and the Dropbox server also stopped. The same tutorial provides links to sample init.d files which can be used to start the Dropbox server on boot. This works well enough but there were a couple of things that, again, could have done with a bit more detail.

    Read more
  • Configuring Dropbox on an Ubuntu Server – Pt 1

    If you’ve been reading any of my recent posts you will know that I have been moving from a shared server host to a virtual private server and that I have also experienced issues with my backups. Well with the blog configured and running well the migration was almost complete, but what about backing up my data? I’d already seen how easy it was to run into problems so this time I wanted to be a little bit more in control and not just blindly rely on third party plugins. I was keen to use Dropbox but was unsure about installing and configuring it on a headless Ubuntu Server. As it happens it was not really that difficult to get it up and running.

    Read more
  • Configuring vsftp on Ubuntu Server 10.04 LTS

    So my move from shared hosting to virtual private server (VPS) was going well so far – I’d moved this blog across and wired up Exim4 to handling all my emailing needs. Then yesterday I saw an interesting article on Lifehacker about the MobilePress plugin for WordPress which rendered the blog in a format more suitable for mobile devices. Excellent, I thought – I’ll have that! That’s when I found out that the blog itself was not as ready as I thought it was – the fact was I could not install any plugins due to the lack of an FTP server on my VPS – so my next job was to resolve that!

    Read more