Re: Automatically backing up The Bat! using batch files ·

2005-12-02 Thread steverio
Hello Mica...

 On Fri, 2 Dec 2005 14:51:32 +0100, you wrote:

As to Arj, I have discovered that if I keep such archives on a CD-RW,
after a pretty short while (perhaps 2 or 3 weeks) they will (almost all
of them) become unreadable/corrupted, and irrecoverable.

On ordinary CDs they are okay.

I don't know what is reason.

 FYI, I have been using CDRW's for archiving purposes for a few years
now and have not had any corruption related events on them. Of course,
it all makes sense to me that there are many variables such as CD
writer and firmware, BU software, quality of CD media, recording
speed, file compression format, other programs in use,etc.

-- 
steverio

TB!v3.62.14 
Windows XP Pro 5.1 Build 2600 SP2
OTFE 


Current version is 3.62.14 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: Automatically backing up The Bat! using batch files ·

2005-12-02 Thread steverio
Mica...

 On Fri, 2 Dec 2005 19:17:31 +0100, you wrote:

Another solution is to do backup on (mobile) HDDs instead. Cheaper,
faster, much more rooms for the same money, and all at one place.
Lifetime ... well, same. In general.

If you have a better suggestion, then please tell. My ears are open.


I use and prefer my external hard drive as my primary backup of TB
directories and other related important files. It is a combo choice
USB/Firewire/SATA drive and very fast compared to CDRW especially
SATA...TB files transfered in a blink of an eye! The reason for two
backup devices is to protect myself from possible TB backup file
corruption or failure. 

-- 
steverio

TB!v3.62.14 
Windows XP Pro 5.1 Build 2600 SP2
OTFE 



Current version is 3.62.14 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: Automatically backing up The Bat! using batch files

2005-11-23 Thread Mica Mijatovic
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

   ***^\ ._)~~
 ~( __ _o   Was another beautiful day, Tue, 22 Nov 2005,
   @  @  at 15:42:26 +, when MFPA wrote:

 Could I make it work faster?

Or if you keep the Mail folder under TB folder (as it is by default),
you need just two commands...

///
echoExtracts TB reg. key and flings it into TheBat folder...
regedit /e X:\TheBat\tb.reg hkey_current_user\software\rit\The Bat!
echo.
echoPacks/backs up everything at once (the program and Mail)...
pkzip -rPu -whs v:\bkup\thebat.zip x:\TheBat\*.*
\\\

- --
Mica
PGP keys nestled at: http://blueness.port5.com/pgpkeys/
[Earth LOG: 447 day(s) since v3.0 unleashing]
OSs: Windows 98 SE Micro Lite Professional IVa Enterprise Millennium
 Windows XP(ee) Micro Lite Professional 1.3, and, for TB sometimes,
 Gentoo and Vector Linuxes via Wine...
 ~~~ For personal mail please use my address as it is *exactly* given
 in my From|Reply To field(s). ~~~
-BEGIN PGP SIGNATURE-

iQEVAwUBQ4TOuLSpHvHEUtv8AQOUeggAit2FjVLekFD2JBiOkLlFxeNK4xX7e0kF
ZvtaitCxT54gZ/MGfA1oXzwQSR1BadapLqfVmDq/0txlpyNQdc9rQXi4Nrl4aXI4
DikGySj1w+B/XY5IwtNTGGU9EoZRn1QOSPVrCw4a4aPCB62mgpmnmQF0KO0tfP0a
j+bovzjI4BFq2xIOL6xMIrk557dDc0nDi6MXR+kdh52rgQXxMMpoXbsX3NccBs2y
EfW1eTtD1Vl7i3qHYBSWXi+N5CKTI/YU3GuWmWBKyySs3hRMjj7lfua7mJ9wdkcD
YASieHRdAX/oa3HuEfDqhB0Og7W/3k7AWSb4g5MZWU+BZLuQc3s16g==
=sHD7
-END PGP SIGNATURE-



Current version is 3.62.14 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: Automatically backing up The Bat! using batch files

2005-11-23 Thread MFPA

Hi

On Wednesday 23 November 2005 at 8:19:06 PM, in
mid:[EMAIL PROTECTED], Mica Mijatovic wrote:

 Or if you keep the Mail folder under TB folder (as it is by default),

I believe that was once the default but is no longer.

IIRC, now the TB! program folder goes by default under C:\Program
Files and the TB! mail folder goes under c:\documents and
settings\USERNAME

-- 
Best regards,
 
MFPA

Is it possible to be a closet claustrophobic?

Using The Bat! v3.0.1.33 on Windows XP 5.1 Build 2600 Service Pack 1



Current version is 3.62.14 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Automatically backing up The Bat! using batch files

2005-11-22 Thread MFPA

Hi

Having read a couple of previous threads on the subject, I intend
to use the following batch files to automate backing up of TB!'s
registry entries and mail and program directories.

Have I missed anything?
Have I included anything I shouldn't?
Could I make it work faster?


@@@

@Echo on
::
@Echo  *
@Echo  *
@Echo  ** Begin TB Backup Batch File (Name: TBBackup.bat) **
@Echo  *
@Echo  *
::
:: Creates rotating Grandfather,Father, Son backups of The Bat! using 7-Zip.
::
Path %SystemRoot%;%programfiles%\7-ZIP
:: Echo off
::Echo on
@Echo  *
@Echo  *
@Echo  ** Copy Registry Key   **
@Echo  **   To Program Directory  **
@Echo  *
@Echo  *
::
cd %SystemRoot%
::
regedit /e %programfiles%\The Bat!\TB.REG.txt 
HKEY_CURRENT_USER\Software\RIT\The Bat!
::
::
@Echo  **
@Echo  **
@Echo  **   Backup Program Directory   **
@Echo  **
@Echo  **
::
cd %programfiles%\7-Zip\
::
7z u -ms=off d:\TheBatBackups\TBbkup\TB_Program_Directory.7z -up0q0r2x1y2z1w2 
%programfiles%\The Bat!\* -r
::
::
@Echo  *
@Echo  *
@Echo  **Backup Mail Directory**
@Echo  *
@Echo  *
::
cd %programfiles%\7-Zip\
::
7z u -ms=off d:\TheBatBackups\TBbkup\TB_Mail_Directory.7z -up0q0r2x1y2z1w2 
%appdata%\The Bat!\* -r
::
::
@Echo  ***
@Echo  ***
@Echo  **Rotate Grandfather, Father, Son**
@Echo  ***
@Echo  ***
::
cd d:\TheBatBackups\
::
move /y d:\TheBatBackups\TBbkup2\TB_Mail_Directory.7z d:\TheBatBackups\TBbkup3\
move /y d:\TheBatBackups\TBbkup2\TB_Program_Directory.7z 
d:\TheBatBackups\TBbkup3\
::
move /y d:\TheBatBackups\TBbkup1\TB_Mail_Directory.7z d:\TheBatBackups\TBbkup2
move /y d:\TheBatBackups\TBbkup1\TB_Program_Directory.7z 
d:\TheBatBackups\TBbkup2
::
copy /y d:\TheBatBackups\TBbkup\TB_Mail_Directory.7z d:\TheBatBackups\TBbkup1
copy /y d:\TheBatBackups\TBbkup\TB_Program_Directory.7z d:\TheBatBackups\TBbkup1
::
::
cd %USERPROFILE%
::
@Echo  ***
@Echo  ***
@Echo  ** End TB Backup Batch File (Name: TBBackup.bat) **
@Echo  ***
@Echo  ***


@@@

::- Batch File TB Shortcut (Name: TBStart.bat) --
::
:: This runs The Bat! then calls the batch file to backup The Bat!
::
:: THIS batch file MUST be run from a shortcut that is set to start in The 
Bat!'s program directory
:: otherwise the backup will not wait until you exit TB!
::
::
%programfiles%\The Bat!\thebat.exe /FOCUSU=Mike (Using The Bat!)
::
Call TBBackup.bat

@@@

I find that TBBackup.bat takes about 14 minutes when I have just
received a couple of hundred messages in a single Bat! session
(over 12 minutes to backup the mail directory and about 50 seconds
to copy the backup of the mail directory to
d:\TheBatBackups\TBbkup1).

If I then use TBStart.bat to open The Bat! but I immediately close
TB! the 12 minutes to backup the mail directory reduces to about 4
minutes, making a total time to run TBBackup.bat of a little under
6 minutes.

If I run TBBackup.bat without starting The Bat! since the backup
was last ran, the 12 or 4 minutes reduces to just under 2 minutes,
making a total time of about 3 and a half minutes.

Copying the backup of the mail directory to
d:\TheBatBackups\TBbkup1 always takes 45 to 50 seconds.

My TB! program directory is 13.4 MB and mail directory is 1.1GB
(30k messages spread between about 80 folders and 5 accounts).

The program backup is 5.4 MB and the mail backup is 486 MB.

Any help / suggestions would be appreciated.

-- 
Best regards,

MFPA   

Zorba the Greek - before he zorbas you

Using The Bat! v3.0.1.33 on Windows XP 5.1 Build 2600 Service Pack 1



Current version is 3.62.14 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: Automatically backing up The Bat! using batch files

2005-11-22 Thread MFPA

Hi

On Tuesday 22 November 2005 at 3:42:26 PM, in
mid:[EMAIL PROTECTED], MFPA wrote:

 I find that TBBackup.bat takes about 14 minutes when I have just
 received a couple of hundred messages in a single Bat! session
 (over 12 minutes to backup the mail directory and about 50 seconds
 to copy the backup of the mail directory to
 d:\TheBatBackups\TBbkup1).

I forgot to mention that if the files
D:\TheBatBackups\TBbkup\TB_Mail_Directory.7z and
D:\TheBatBackups\TBbkup\TB_Program_Directory.7z do not already
exist, backing up the mail directory takes well over 20 minutes
and the whole process just over half an hour.

 If I then use TBStart.bat to open The Bat! but I immediately close
 TB! the 12 minutes to backup the mail directory reduces to about 4
 minutes, making a total time to run TBBackup.bat of a little under
 6 minutes.

 If I run TBBackup.bat without starting The Bat! since the backup
 was last ran, the 12 or 4 minutes reduces to just under 2 minutes,
 making a total time of about 3 and a half minutes.

 Copying the backup of the mail directory to
 d:\TheBatBackups\TBbkup1 always takes 45 to 50 seconds.

Even this is much quicker than M$ DOS's COPY function.

--
Best regards,
 
MFPA

An idealist is a person who helps other people to be prosperous

Using The Bat! v3.0.1.33 on Windows XP 5.1 Build 2600 Service Pack 1



Current version is 3.62.14 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: Automatically backing up The Bat! using batch files

2005-11-22 Thread MAU
Hello MFPA,


 Having read a couple of previous threads on the subject, I intend
 to use the following batch files to automate backing up of TB!'s
 registry entries and mail and program directories.

Why don't you use Second Copy (http://www.centered.com/) or SyncBack
freeware version (http://www.2brightsparks.com/downloads.html) which is
as powerful as Second Copy?

-- 
Best regards,

Miguel A. Urech (El Escorial - Spain)
Using The Bat! v3.62.14




Current version is 3.62.14 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: Automatically backing up The Bat! using batch files

2005-11-22 Thread Roman Katzer
On Tuesday, November 22, 2005, 10:42:26, MFPA wrote:
 Having read a couple of previous threads on the subject, I intend
 to use the following batch files to automate backing up of TB!'s
 registry entries and mail and program directories.

I like to include the date in the backup file name and have made a cmd
file for my everyday backups. I use WinZip's command line interface, but
in principle this should work with anything:

--8--snip-

:: backup script for windows registry keys and some files
:: with date in backup filename

:: Build a time (dts) variable
:: Using for/do, pull apart the output of date/t
set parsearg=eol=; tokens=1,2,3* delims=., 
for /F %parsearg% %%i in ('date/t') do set dts=%%k%%j%%i

:: set program paths and folder locations
set winzipcall=%PROGRAMFILES%\WinZip\wzzip
set regeditcall=%SYSTEMROOT%\regedit
set xcopycall=%SYSTEMROOT%\system32\xcopy
set backupdir=E:\backup\automated
set backupfile=%backupdir%\cumulative_%dts%.zip

:: registry backups
%regeditcall% /e %TMP%\thebat.reg HKEY_CURRENT_USER\Software\RIT
%regeditcall% /e %TMP%\putty.reg HKEY_CURRENT_USER\Software\SimonTatham
%regeditcall% /e %TMP%\agent.reg HKEY_CURRENT_USER\Software\Forte
%regeditcall% /e %TMP%\opera.reg HKEY_CURRENT_USER\Software\Opera Software
%regeditcall% /e %TMP%\k9.reg HKEY_CURRENT_USER\Software\KeirNet\
%regeditcall% /e %TMP%\all_registry.reg 
%winzipcall% -a -t -en %backupfile% %TMP%\*.reg

:: Miranda IM
%xcopycall% %APPDATA%\Miranda\roman.dat %TMP%\ /y 
%winzipcall% -a -en %backupfile% %TMP%\roman.dat

:: The Bat
%winzipcall% -a -en -r -P %backupfile% %APPDATA%\The Bat!

:: Agent
%winzipcall% -a -en -r -x00*.* -P %backupfile% %APPDATA%\Agent\Kawo2
%winzipcall% -a -en -r -x00*.* -P %backupfile% %APPDATA%\Agent\Comcast
::%winzipcall% -a -en -r -x00*.* -P %backupfile% 
%APPDATA%\Agent\Comcast_Binary

:: Opera
%winzipcall% -a -en -r -P %backupfile% %APPDATA%\Opera\Opera\Opera6.adr 
%APPDATA%\Opera\Opera\Opera6.ini %APPDATA%\Opera\Opera\notes.adr 
%APPDATA%\Opera\Opera\wand.dat

:: SharpReader
%winzipcall% -a -en -r -P %backupfile% %APPDATA%\SharpReader

:: Skype
%winzipcall% -a -en -r -P %backupfile% %APPDATA%\Skype

:: Putty
%winzipcall% -a -en -r -P %backupfile% %APPDATA%\Putty

:: K9 AntiSpam
%winzipcall% -a -en -r -P %backupfile% %PROGRAMFILES%\K9 AntiSpam

:: PasswordSafe
%winzipcall% -a -en -r -P %backupfile% %APPDATA%\PasswordSafe

:: Total Commander
%winzipcall% -a -en -r -P %backupfile% %APPDATA%\totalcmd

:: Outlook
%winzipcall% -a -en -P %backupfile% %USERPROFILE%\Lokale 
Einstellungen\Anwendungsdaten\Microsoft\Outlook\Outlook.pst

:: clean up
del %TMP%\*.reg


::  Usage: wzzip [options] zipfile [EMAIL PROTECTED] [files...] For information 
on the 
::  zipfile, listfile, and files components, see Using WZZIP. The options are:
::  
::  
::  -a  Add files (default action).
::  
::  Related option  
::  
::  -a+ Remove the archive attribute from each file after adding it to the Zip 
file. 
::  As WinZip« adds a file during the zipping process, the file's archive 
attribute 
::  is reset.
::  
::  Related options  
::  
::  -b[drive|path]  Use another drive for the temporary Zip file. Since 
WZZIP 
::  creates a new, temporary Zip file when it updates a file, sufficient space 
must 
::  be available on the current drive for that file. This option enables you to 
use 
::  another drive for that purpose when space considerations force the issue. 
-c
::  Create or edit existing comments for all the files in the Zip file.
::  
::  Related options
::  
::  -C  Create comments only for files being added that are not already in the 
Zip 
::  file.
::  
::  Related options
::  
::  -d  Delete specified file(s) from the Zip file. -ee|x|n|f|s|0 Set the 
::  compression level.  -ee = enhanced deflate method (requires WinZip 8.1 or 
::  higher, WinZip Command Line Support Add-On 1.1 or higher, or a compatible 
Zip 
::  utility to extract); -ex = maximum; -en = normal; -ef = fast; -es = super 
speed; 
::  -e0 = no compression -f Freshen: replace files that are already part of 
the Zip 
::  file and are newer on disk.
::  
::  Related option  
::  
::  -h|-?   Show this help file -i[-]   Add files whose archive 
attribute is set.  By 
::  default the archive attribute is then removed.  Use the optional - suffix 
to 
::  leave the archive attribute on.
::  
::  Related options  
::  
::  -jhrs   Do not store hidden, read only, and system attributes in the 
Zip file.  (-
::  whs controls whether hidden and system files are added.)
::  
::  Related options
::  
::  -Jhrs   Store hidden, read only, and system attributes in the Zip file 
(default). 
::  (-whs controls whether hidden and system files are added.)
::  
::  Related options
::  
::  -k  Do not update the Zip file's file date; retain the original date.
::  
::  Related option  
::  
::  -m[f|u] Move files to the Zip file.  When the