I use the following (nd.exe is a freeware program for renaming the file to a
specified date format). I schedule it in MSTASK to be ran every day @
3:00AM I have been running it for about three months now with no problems:
REM ------------------------------------------------------------
REM should export the Imail database from the registry
REM and output it to imailreg.bkp then we should rename
REM the file with the current system date and different
REM extension so that we can't click on the file and
REM accidentally import it into the registry. This
REM utility should be ran everynight to ensure that the
REM imail registry is properly backed up.
REM -------------------------------------------------------------
@echo off
regedit /e c:\utils\imailreg.bkp HKEY_LOCAL_MACHINE\SOFTWARE\IPSWITCH
move c:\utils\imailreg.bkp Z:\imailreg.bkp
nd /f=mmddyyyy z:\imailreg.bkp
NET SEND primary_imail NOTICE - Imail Registry Exported Successfully
Thanks,
Kris McElroy
[EMAIL PROTECTED]
Internet Systems Engineer
Duracom, INC.
----- Original Message -----
From: "florida.com" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 24, 2001 10:38 AM
Subject: [IMail Forum] auto backup registry
> How would I create a batch file to automatically backup the imail
> registry?
>
>
>
> PS. Great Hotel and Condo Deals *WorldWide* are found at
http://www.FLORIDA.com
>
> Please visit http://www.ipswitch.com/support/mailing-lists.html
> to be removed from this list.
>
> An Archive of this list is available at:
> http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
>
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.
An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/