Re: Backup and Restore Procedures

From: David Baxter (spam-me_at_junkmail.com)
Date: 02/08/04


Date: Sun, 8 Feb 2004 16:06:07 -0500

If you download the free command line add-on for WinZip it's quite easy:
This is my batch file (the flags insure that only files needing updating
are added (and replaced) and that the folder names are stored to make it
easier to do a restore if necessary. Edit in notepad to reflect where
you want the file stored and the source folder names, and save it with
the extension .bat - then just double click to run it:

rem @echo off
wzzip -u d:\Backup\Psychlinks.zip "C:\Psychlinks\*.*"
wzzip -u -P -r d:\Backup\Psychlinks.zip "C:\Psychlinks\pages\*.*"
wzzip -u -P -r d:\Backup\Psychlinks.zip "C:\Psychlinks\images\*.*"
wzzip -u -P -r d:\Backup\Psychlinks.zip
"C:\Psychlinks\generateditems\*.*"
wzzip -u -P -r d:\Backup\Psychlinks.zip "C:\Psychlinks\buttons\*.*"
wzzip -u -P -r d:\Backup\Psychlinks.zip "C:\Psychlinks\indexbuttons\*.*"
wzzip -u -P -r d:\Backup\Psychlinks.zip "C:\Psychlinks\titlebuttons\*.*"
wzzip -u -P -r d:\Backup\Psychlinks.zip "C:\Psychlinks\_borders\*.*"
wzzip -u -P -r d:\Backup\Psychlinks.zip "C:\Psychlinks\_derived\*.*"
wzzip -u -P -r d:\Backup\Psychlinks.zip "C:\Psychlinks\_private\*.*"
wzzip -u -P -r d:\Backup\Psychlinks.zip
"C:\Psychlinks\_private\pages\*.*"
wzzip -u -P -r d:\Backup\Psychlinks.zip "C:\Psychlinks\media\*.*"

A simpler version would be just to use the top-most directory and
specify to include all subdirectories but this one allows me to specify
which ones I want backed up.

"PinkBishop" <pinkbishop@hotmail.com> wrote in message
news:2nlb20l4g0s50su4nepi2odc61gn9dpce6@4ax.com...
> David,
>
> Thanks for the reply.
>
> I like your method, but lack ability in writing batch files to make
> the zip files.
>
> I am sure with a little practice I could get it down. Damn.. that
> would take me back about 10 years before WinZip! Back in the day when
> we had to do pkzip through command lines!
>
> I guess by concern is the restore right now. Will a simple copy from
> CD to a HD be complete or will there be other files in FP that won't
> be backed up properly as I described in my original post?
>
> Thanks,
> Tom
>
>
> On Sun, 8 Feb 2004 01:07:59 -0500, "David Baxter"
> <spam-me@junkmail.com> wrote:
>
> >I start with a copy of the web on disk. When I have the pages or any
> >modifications the way I like them, and only then, I publish the web
to
> >the server (which is not local).
> >
> >After each update, I use a batch file to update copies of all folders
> >and files in a WinZip file on a second hard drive (a lot faster than
> >burning). About once every month or two, I rename the zip file to a
date
> >(Webname-Feb2004.zip) and run the batch file again to create a new
zip
> >file.
> >
> >Periodically, when I have the time, I burn all copies to a CD.
> >
> >The advantage of this is I always have a recent backup - if something
> >gets royally scrambled, I have a backup of a month ago or so - and if
> >something happens to both hard drives, I have CD backups.
> >
> >Probably overkill but the idea of starting over or having to burn a
CD
> >every day or two seems like more work to me.
> >
> >
> >"PinkBishop" <pinkbishop@hotmail.com> wrote in message
> >news:sbjb20lsdbinjoghdemvo0bcvr7a4nec9q@4ax.com...
> >> Hello All!
> >>
> >> Anybody care to share their recommended procedure for backing up
all
> >> webs and restoring them in case of a meltdown?
> >>
> >>
> >> This is my plan. Please let me know if this will work.
> >>
> >> Backup
> >>
> >> 1. Publish all webs to a local web http://mywebs as subwebs
> >> 2. Burn wwwroot folder and all subfolders to CD
> >>
> >> Restore
> >>
> >> 1. Copy wwwroot folder from CD back to http://mywebs
> >> 2. Publish each subweb back to remote host as needed.
> >>
> >> If there are any more detailed procedures posted somewhere please
> >> post.
> >>
> >>
> >> Thanks
> >
>