• Automatic backups of my windows laptop

    Backups are important. This tenet will be learned the first time you lose important files. Knowledge in itself is useless, it’s the application knowledge that reaps rewards.

    Having learnt many years ago the cost of losing data from a computer, I’ve become a dab hand at setting up backup routines for my laptop, desktops and servers. In the past I used a windows shell script to copy files from my laptop to a space on my office server. That server backs up again to an off site server just to make sure the data is kept. Unfortunately this script has been somewhat unreliable of late. At some point, on a never quite identified file, the copy action would fail and backup would stop. I needed a new solution, one that would be reliable, simple to set up and cost nothing but setup time. I found it in the shape of some linux software called rsync and a windows client to rsync called DeltaCopy. Actually, DeltaCopy is more than just an rsync client, it can be an rsync server for windows machines but I didn’t need that. That would be very useful though if you are using an old windows PC as your file server though.

    What’s rsync?
    From their web site: rsync is an open source utility that provides fast incremental file transfer. rsync is freely available under the GNU General Public License.

    I’ve known of rsync for years, but never used it until now. Essentially the programme will compare files in two directories, if a file has been updated it will copy the updated parts and not the whole file. My script solution copied everything whether or not it needed to be. As I’m on the same network as my backup server bandwidth really isn’t a problem. However, the rsync solution means I will be able to succesfully backup from home over the VPN.

    Setup was really easy.
    First set up our linux server to run rsync as a daemon. That means it runs all the time waiting for other rsync programs to connect to it. That’s the same way a web server like apache works, sits there waiting until it has something to do, does it, then waits again. How to do that will depend on your server software but for my Trustix powered server it was simply “swup –install rysnc-server” and it was downloaded and installed automatically. Trustix has reached end of life now, so if you are looking for a new operating system you’ll find rsync on most ready to go, including redhat and ubuntu.
    Second set up my laptop to use an rsync client. That includes choosing which folders I want to synchronise with the server
    Third, enable the rsync client to run as a scheduled task on my laptop.

    This is where the DeltaCopy program is so useful. It’s a windows point and click graphical interface. Installation was a breeze and I confess I didn’t read the instructions to see how it worked it was so simple. You create a “profile” for each synchronisation task you want. For me there’s only one, I called it “laptop backup”. Then add all the folders (or specific files) you want backed up followed by the server details. At the bottom of the profile is a section called “schedule”. DeltaCopy links seamlessly to the windows scheduler, so I set my backup to occur every day at 11am. Later I found settings that let me get an email on whether the backup worked and how well it went. If it works, the email includes the rsync result information too.

    Today the first success email arrived at 11.07. In 7 minutes the folders had been synchronised and my backup completed. It’s so fast because only changed files have been copied across the network. The full backup is a huge 21Gb…. perhaps that explains why the script would fail, 21Gb over a wireless network would take…. a long time.

    The final step of any backup: Test it worked and test regularly. Testing is easy using this method, just open the file from the server over the network. To think of all those hours I used to spend waiting for a file to be recovered from my TR1 tape backups.


  • The Floating Madhouse (Alexander Fullerton)

    A pre world war one novel of… well, little interest to me as it turned out. The ships are the early ironclads of the 1900’s and although there were sections of interesting detail the story as a whole just didn’t hold my attention.

    The setting was clever, a Royal Navy junior officer with Russian family connections joins a Russian fleet as an observer. The love of his life has just been engaged (against her will) to a Russian naval officer twice her age – who happens to be the Captain of the ship our officer is sailing with. It made for a love story of interest coupled with the difficulty of absence created by a sailors life. In one respect, it was realistic – the naval action when they finally reached their Japanese enemy was short and unpleasant. Our central character being most certainly on the loosing side of the battle yet being fortunate enough to survive to reach port.

    It was readable but for me not enjoyable. I have another one of the other stories in the series though that I still plan to read, ever the optimist am I. Rootie Rating – 1 out of 5


  • Spam wars – "determination of damages" hearing date set

    Taking a spammer to court to get them to stop isn’t for the faint of heart.

    Here’s the history:
    A company, “Cybernet Media” (stick .co.uk on the end of that and you’ll find their website, I’ll not give them the benefit of a link) started sending spam way back in 2006.
    I asked them to stop, they continued.
    I pointed out to them that by sending it they are breaking The Privacy and Electronic Communications (EC Directive) Regulations 2003. I asked them to reply and confirm they would stop sending the spam. I said that if they send any more I’ll bill them 50 per email for my time so far. I said if they didn’t reply I’d take more formal action.
    They didn’t reply, I didn’t get round to taking the formal action… until they sent 2 more emails. I phoned them and faxed them. They said by phone they’d stop but decided to send 4 more emails within 24 hours. This was now August 2007.
    So, I sent them an invoice for 6 emails. They didn’t pay or respond.
    I called them again in September and said if they don’t pay I’d take them to court. They didn’t pay so I started a small claims court action against them.

    Here I made a mistake: I asked for the damages plus a statement from them that they would comply with the regulations in future. That meant it had to have a “directions hearing” which of course cybernet didn’t turn up to either. Still the result of the directions hearing was headed by a line: “1. There be judgement for the claimant for damages to be determined by the court” – so I guess that means they agree I have a claim the only question left is how much.

    I now know the small claims court can’t make people say they will comply with regulations (that’s what the judge explained to me in the directions hearing). To do so I would have to take out an injunction. If they break the injunction and send more spam, they commit a criminal offence of contempt of court (and could even go to prison for that). Problem is I still haven’t figured out how exactly what to do to take out an injunction. At the moment all I’m claiming from them is the damages from them sending spam and me having to chase them to pay the damages (which, incidentally, they’ve never contested. They haven’t even replied to the court which as directors of a limited company may be another offense under the Companies Act, I’m not sure though). Anyway, damages so far 1,005.37.

    I still have another week in which to decide if I want to take out an injunction on them but to be honest I have proper work to do and I can’t afford the time to research it. I do now realise why the information commissioner has never taken anyone court for breaking the regulations though. The judge raised a good question – “Do you think they will actually pay?”. I have no idea, I’d rather hope that with a court order against them they would have to. My case is against both an individual and a company. They don’t declare their company number on their website (they really should, but hey, no one’s perfect), “Chris” who I spoke to didn’t know the company number and then claimed he worked as an agent, not for the company. As he sent the spam, I put him down personally on the claim as well as the limited company. Mid February is the hearing date – I’ll keep you posted!


Search this site


Free apps

  • birthday.sroot.eu – Your birthday or other celebration date based on [years on other planets] / [how many seconds/days] / [how far you’ve travelled around the sun]
  • stampulator.sroot.eu – Calculates the combination and how many 1st, 2nd, large 1st and large 2nd class Royal Mail stamps you need on large envelopes and packets

Recent posts


Archives


Categories