Ideas about making money |
Backups are something that you don't think about until you need them, and then it's too late. The main thing to keep in mind when you are deciding how to do your backups is that it must be simple. If you get to complicated then what happens is you just never have the time to do them. If your writing web pages it's really nice that you will end up with a copy of them on your computer and a copy on your server, so you really already have a backup built into the process. But for anything that does not make it onto your server it's nice to know that your work is backed up. I like the quick and dirty solutions to problems so I use a old dos version of pkzip. The reason I use the old dos version is that it is easy to write a batch file that can be placed on the desktop and run with a single click. I then keep all my web page files in one main directory and each site has it's own sub directory. So when the main directory is backed up all the subdirectorys are included. I run pkzip so that it will only add files that have been changed this saves time over compressing all files every time. this is the file I use to run the pkzip program: c:\zdoc\zip -u -r -p c:\zdoc\bkup c:\docs\*.* just use note pad to write a file with a .bat extension on it and place it on your desktop. If you don't put it on your desk top make sure it is some place where it is easy to find and you will see it a lot. The parameters for the zip program:
The dir a: and pause commands are just so I cans see the file on the a drive and make sure it is the right size. I keep all my web page files I am working on in a directory called "docs" The zip program and the backup file I keep in a different directory called zdoc. This is so that I do not get a copy of the program and the old zip file in the new zip file each time I run my backup program. I figured this out the second time I ran the program with it in the docs directory and my backup file doubled in size. Since I save my files on my A: drive I like to keep them as small as possible, so I keep all my picture files in a different directory and back those up to a CD once every month or so.
March 15, 2005
|