Introduction About Site Map

XML
RSS 2 Feed RSS 2 Feed
Navigation

Main Page | Blog Index

Tuesday, March 8th, 2005, 3:38 am

Cron-based Backup

Servers

Regardless of your operating system, good practice is to put recently added/changed files in a container (let us call it transfer). Files should be accumulated in transfer until the next backup cycle. Once a backup of that container is obtained, files can finally be moved appropriately to their destined directory. The notes that follow deal with a method of automatically backing up transfer using a server or another hard-drive. It also places emphasis on back-up of Web sites — a task which can become closely-related.

Note: instructions are Linux/Mac-specific, but can be adapted to Windows

Until recently, I used to get gunzipped tar archives of all my sites from CPanel. I did this every morning. Some weeks ago I automated part of the process by getting more crucial (and frequently-changing) pages and storing them remotely. It all works as follows:

Set up a set of batch scripts (let us call them dummy1..2) which include the following commands:


cd /home/roy/Main/Transfer_Archives/Sites/Roy/
wget -r -l1 -t1 -N -np -erobots=off http://schestowitz.com/

If you are not sure what the latter is doing, type in man wget and read the documentation. Then, set up cron jobs which include the following tasks:

Get local copies of important Web pages (see above)
38 23 * * * /home/roy/Main/Transfer_Archives/Sites/dummy1
38 23 * * * /home/roy/Main/Transfer_Archives/Sites/dummy2
...
Compress all the pages
50 23 * * * tar czvf /home/roy/Main/Transfer_Archives/www-`date +%Y-%m-%d`.tar.gz /home/roy/Main/Transfer_Archives/Sites
Make a copy of compressed pages
58 23 * * * cp -rf /home/roy/Main/Transfer_Archives/ /home/server2/transfer/roy

The last line puts a copy on the SAN, just to be 100% covered. Such scripts allow you to sleep while your sites/files are being backed up.

Monday, March 7th, 2005, 3:29 pm

G Desktop is Out

Google Desktop

Google Desktop was made public less than a day ago. There is now a free 700k download for Windows.

Quoting the site, here is what Google Desktop offers:

  • Find your email, files, media, web history and chats instantly
  • View web pages you’ve seen, even when you’re not online
  • New! Search directly from your desktop with the deskbar

Monday, March 7th, 2005, 4:26 am

Keyboard Accelerators

Shortcut keysMice are used excessively while much more precise and efficient ways of navigation exist. Generally, when using an application often enough, one needs to learn and practice commonly-used menu accelerators, e.g. CTRL+S to save, or CTRL+ENTER to despatch an E-mail message.

Taking accelerators into a more advanced level, application invocation can be purely keyboard-based.

For Windows users:

Windows allows items located at the desktop to have CTRL+ALT shortcuts assigned to them. I have used this feature extensively for many years. The only flaw is that the desktop rapidly becomes bloated. To get these shortcuts set up, steer towards Properties in the context menu.

Linux/Mac (Panther):

Keyboard shortcuts can be assigned to applications/commands using XBindkeys. Example shortcuts are given in my XBindkeysRC file.

If you are using KDE, you can also use window manager accelerators or mouse gestures, for example ALT+mouse primary buttons to drag windows around.

Sunday, March 6th, 2005, 2:46 am

Tablets, Palms, Linux and Cobalt

Pen Tablet

The HP Tablet PC has just exceeded 1 million sales. Robert Scoble (Scobleizer) from Microsoft said the following:

At any other company that’d be considered an outstanding success. Getting a million people to do ANYTHING is pretty tough.

Walking around the TechFest this week I came to the realization that the Tablet PC is dead.

In the general sense, tablets may not be ideally mobile and handy tools, but they appear to be gnawing at sales of PDA‘s and laptops. The figures challenge critique about their size and reliability. Slashdot recently reported and boasted Linux installations on the Tablet PC, which makes one wonder about the direction tablets may take.

Palm have recently looked into the possibility of replacing Palm OS with Linux on their devices, as well as the provision for Cobalt, which makes Palm-powered handhelds run much, much faster. The next Palm, which is due to be unveiled this spring, should incorporate Cobalt, whose exclusion from the Tungsten T5 was a great disappointment to many.

Cited by: PalmAddict

Saturday, March 5th, 2005, 7:21 am

POV-Ray

Over a year ago I started fiddling about with a rendering package called POV-Ray, which stands for Persistence of Vision Raytracer. I never got quite so far, though I was astounded by what can be achieved after a few hours or days of work. One of the better-known artists in the field is Gilles Tran (Oyonale) and his galleries are definitely worth browsing.

Season of the playful penguins
Season of the playful penguins from Oyonale

Friday, March 4th, 2005, 2:13 pm

Google Refresh Cycles

Reload

All webmasters show interest in the ranking of their sites. It is clear to very few, however, how the ‘Google clock’ functions. Answers to that are usually derived from experience.

According to Google’s information for webmasters, one might have to wait a month for a site to be indexed properly. PageRank (which directly affects traffic and search results) is updated/re-shuffled every 3-4 months according to a rumour at the SEO newsgroups. The rumour also says that the next PR update is in the beginning of April 2005.

A re-direct is said to be the safe solution to preservation of PageRank when moving between domains. Nonetheless, this may not work perfectly, not immediately anyway.

Google Suggest appears to have a long update cycle; Google Images likewise. I estimate it to be about 3-6 months.

Thursday, March 3rd, 2005, 5:32 pm

Lunchbox Computers

CNET expose Intel’s comeback to the Mac mini. These are both inexpensive boxes which can be easily carried from place to place and connected to some peripherals.

The box from IntelMac mini

Real-time Posts

Posts by @schestowitz

Retrieval statistics: 23 queries taking a total of 0.112 seconds • Please report low bandwidth using the feedback form
Original styles created by Ian Main (all acknowledgements) • PHP scripts and styles later modified by Roy Schestowitz • Help yourself to a GPL'd copy
|— Proudly powered by W o r d P r e s s — based on a heavily-hacked version 1.2.1 (Mingus) installation —|