Re: Manual Backup Improvements

2001-01-09 Thread Kari Jakobi


Hello Alvn,

On Tue, 9 Jan 2001, 16:26:55 h [GMT +0800] (which
was 09:26 h [GMT +0100] where I live) you wrote:

A> i've always done my backup by zipping the TB! main folder and
A> subfolder when TB! is not running.

This is what I've done before, too.

A> i find that its the easiest method. but, why in your batch file do
A> you call TB! _and then_ close it, and the backup continues and so
A> forth?

You got the idea wrong. It's supposed to start TB! regularly with my
batch file instead of the normal shortcut to thebat.exe
Thus the backup will be done every time you decide to shutdown TB!.
It will not cost much performance, though the zipping will.

A> isnt it easier to just call the batch file that exports the
A> registry setting and zip up TB!'s main folder & subfolder?

It's just one more click to do. I'm a lazy person, a person who often
forgets such routine tasks as starting the TB! backup. This is why I
did the batch.

I will release the reworked version of my batch file tonight.

-- 
Best regards,
Kari Jakobi

The Bat! 1.49 on Windows NT 5.0 Build 2195 SP1

To obtain my PGP-Key send a message to:
  mailto:[EMAIL PROTECTED]?subject=PGP-KEY_REQUEST
PGP-KEY ID: 0x388CEBFF

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   
To Unsubscribe from TBUDL, double click here and send the message:
   
--

You are subscribed as : archive@jab.org





Re[2]: Manual Backup Improvements

2001-01-09 Thread Alvn

Hello Kari,

   i've been following this thread for a bit now and if i may...

   i've  always  done my backup by zipping the TB! main folder and subfolder
   when TB! is not running. i find that its the easiest method. but, why  in
   your   batch  file  do  you call TB! _and then_ close it, and the backup
   continues and so forth?  isnt  it easier to just call the batch file that
   exports  the  registry  setting and zip up TB!'s main folder & subfolder?
   are  there anything that i may have missed out somewhere? i'm still using
   1.47 H.E. btw, so there's no backup & restore there :)


   

Tuesday, January 09, 2001, 02:31:40 AM, you wrote:
KJ> -BEGIN PGP SIGNED MESSAGE-
KJ> Hash: SHA1


KJ> Hello Wayne,

KJ> On Sun, 7 Jan 2001, 19:18:42 h [GMT -0800] (which
KJ> was 04:18 h [GMT +0100] where I live) you wrote:

WB>> I agree, this is what I use too. In a previous post, I seem to
WB>> remember another command that you could put at the top of your
WB>> backup batch file to close The Bat if you forgot to shut it down.
WB>> I have a daily backup to run at 3 AM and I know sooner or later I
WB>> am going to forget to exit The Bat before I go to bed.

KJ> Ack.

WB>> If I remember right, wasn't it c:\thebat\thebat.exe /exit? And I
WB>> assume that if it is _not_ running it will have no affect, correct?

KJ> Yes, this is the right command. Though this is supposed to be placed
KJ> at the beginning of your backup start file (if there is any).

KJ> This command will end TB!, so in the batch file I've written it is of
KJ> no use as the batch file will wait until TB! is closed and *only* then
KJ> it will proceed.
KJ> Though if you are able to add this command to the file which starts
KJ> your automatic backup it will close TB!, then the Registry settings
KJ> will be exported, the whole package is zipped and my batch file will
KJ> close down. After that your backup can proceed and backup the backed
KJ> up TB! settings & mailbase(s) along with the rest of your files.

KJ> Seems to be quite redundant to me, if you ask. But if you like it...




-- 
Best regards,
Alvnmailto:[EMAIL PROTECTED]

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   
To Unsubscribe from TBUDL, double click here and send the message:
   
--

You are subscribed as : archive@jab.org





Re: Manual Backup Improvements

2001-01-08 Thread Kari Jakobi

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Hello Wayne,

On Sun, 7 Jan 2001, 19:18:42 h [GMT -0800] (which
was 04:18 h [GMT +0100] where I live) you wrote:

WB> I agree, this is what I use too. In a previous post, I seem to
WB> remember another command that you could put at the top of your
WB> backup batch file to close The Bat if you forgot to shut it down.
WB> I have a daily backup to run at 3 AM and I know sooner or later I
WB> am going to forget to exit The Bat before I go to bed.

Ack.

WB> If I remember right, wasn't it c:\thebat\thebat.exe /exit? And I
WB> assume that if it is _not_ running it will have no affect, correct?

Yes, this is the right command. Though this is supposed to be placed
at the beginning of your backup start file (if there is any).

This command will end TB!, so in the batch file I've written it is of
no use as the batch file will wait until TB! is closed and *only* then
it will proceed.
Though if you are able to add this command to the file which starts
your automatic backup it will close TB!, then the Registry settings
will be exported, the whole package is zipped and my batch file will
close down. After that your backup can proceed and backup the backed
up TB! settings & mailbase(s) along with the rest of your files.

Seems to be quite redundant to me, if you ask. But if you like it...

- -- 
Best regards,
Kari Jakobi

The Bat! 1.49 on Windows NT 5.0 Build 2195 SP1

To obtain my PGP-Key send a message to:
  mailto:[EMAIL PROTECTED]?subject=PGP-KEY_REQUEST
PGP-KEY ID: 0x388CEBFF


-BEGIN PGP SIGNATURE-
Version: PGP 7.0
Comment: Quis custodiet ipsos custodes?

iQA/AwUBOloHigdigFw4jOv/EQKDEwCgmnEoeAf5shK5BaU1CTA2kukKdrIAn3/P
i3alFHrGPZy7vZ5qXUWUDYaL
=BiHB
-END PGP SIGNATURE-

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   
To Unsubscribe from TBUDL, double click here and send the message:
   
--

You are subscribed as : archive@jab.org





Re: Manual Backup Improvements

2001-01-07 Thread Wayne Black

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello Kari,  This is a reply to your message dated
Sunday, January 07, 2001, 2:07:51 PM, when you wrote:


KJ> Hello Nick,

KJ> REM TB!START
KJ> start /wait c:\programs\tb!\thebat.exe
KJ> REM for Win9x exchange "/wait" with "/w"

KJ> REM BACKUP
KJ> regedit /e c:\programs\tb!accounts\UserRegSetting.reg 
"HKEY_CURRENT_USER\Software\RIT"
KJ> c:\programs\PowerArchiver\POWERARC.EXE -a -s -u c:\Backup\BatBackup 
c:\programs\tb!accounts\*.*

KJ> This way it's much better!

I agree, this is what I use too. In a previous post, I seem to
remember another command that you could put at the top of your backup
batch file to close The Bat if you forgot to shut it down. I have a
daily backup to run at 3 AM and I know sooner or later I am going to
forget to exit The Bat before I go to bed.

If I remember right, wasn't it c:\thebat\thebat.exe /exit? And I
assume that if it is _not_ running it will have no affect, correct?

- --
Best Regards,
Wayne  [EMAIL PROTECTED]
The Bat! 1.49 Under Windows 98se 4.10 
On an AMD K6/3 450 w/128mb RAM - PGP Key ID: 0x49DAB350
PGP key available: mailto:[EMAIL PROTECTED]?subject=SendPGPKey

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8

iQA/AwUBOlkxowtFPzpJ2rNQEQLKPQCcCxGk3Oa2Xgtm3OsyEYbb0YIIi5kAniZd
F1SA6DGJHkyzwY0xFdUQVg+h
=4l9C
-END PGP SIGNATURE-

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   
To Unsubscribe from TBUDL, double click here and send the message:
   
--

You are subscribed as : archive@jab.org





Re: Manual Backup Improvements

2001-01-07 Thread Kari Jakobi


Hello Nick,

On Sun, 7 Jan 2001, 22:08:12 h [GMT +0100] (which
was 22:08 h [GMT +0100] where I live) you wrote:

Here we go again! I solved the three files problem. Now it's only one.

Create a new batch file (see my other reply)

Add this to it (you can leave the REM lines they are only for
explanation):

REM TB!START
start /wait c:\programs\tb!\thebat.exe
REM for Win9x exchange "/wait" with "/w"

REM BACKUP
regedit /e c:\programs\tb!accounts\UserRegSetting.reg "HKEY_CURRENT_USER\Software\RIT"
c:\programs\PowerArchiver\POWERARC.EXE -a -s -u c:\Backup\BatBackup 
c:\programs\tb!accounts\*.*

Save as TB!START.bat

Create a shortcut on your desktop pointing to this file. Open the
shortcut and replace the path of the target (destination) of the
shortcut with:

c:\programs\HideWindow\hidewndw.exe /r C:\Temp\TB!START.bat
^^
Insert your path to HideWindow here

Replace icon if needed. Click "OK"

See? This will open TB!, but you won't see the MS-DOS Window of the
batch file. After closing TB! your Zip-Utility come up and store your
Mailbases and settings to c:\Backup\BatBackup

This way it's much better!
-- 
Best regards,
Kari Jakobi

The Bat! 1.49 on Windows NT 5.0 Build 2195 SP1

To obtain my PGP-Key send a message to:
  mailto:[EMAIL PROTECTED]?subject=PGP-KEY_REQUEST
PGP-KEY ID: 0x388CEBFF

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   
To Unsubscribe from TBUDL, double click here and send the message:
   
--

You are subscribed as : archive@jab.org





Re: Manual Backup Improvements

2001-01-07 Thread Kari Jakobi

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Hello Nick,

On Sun, 7 Jan 2001, 09:57:54 h [GMT -0800] (which
was 18:57 h [GMT +0100] where I live) you wrote:

KJ>> I assume you have already a batchfile exporting the TB
KJ>> registry settings and then calling up your favourite Packer.

NA> In any case, am I to presume that your method of backing up TB!
NA> does not include a provision to back up the Registry settings?

It does include every time backup of the registry settings.

KJ>> First, create a batchfile looking like this:

Steps to reproduce:

1. Download HiddenWindow from 
http://www.winsite.com/info/pc/win95/desktop/hidewndw.zip/downl.html
This is freeware. Copy the contents of the Zipfile anywhere you like,
no install is needed.

2. Create an empty text file using the editor. (Do this every time for
each new batchfile to be created)

3. Type the following in the editor:

regedit /e e:\programme\tb!accounts\UserRegSetting.reg "HKEY_CURRENT_USER\Software\RIT"
   [2] ^^^[1]
::This line will export TB's Registry Settings [1] into the specified
::path [2] (If you are running W9x add "@" w/o "" before regedit (no
::blank in between))

"f:\sharedprogs\PowerArchiver\POWERARC.EXE" -a -s -u "f:\Backup\BatBackup" 
"e:\programme\tb!accounts\*.*"

::This line will call your favourite Zip-Utility (mine is
::PowerArchiver) with the appropriate switches (maybe you need to change
::this to fit your program):
::   -a - add files to archive
::   -s - save full path names
::   -u - when adding files uses Update method

::Second path is where the archive is stored and the name of it
::Third path is what to be archived (your TB MAIL root folder here)

4. Save as TB!Backup.bat (Check if the file has really extension
*.bat, if not change in Explorer or whatever. If you can't see the
file extension, click View | Folder options (don't know exactly as I'm
using german Windows) | Uncheck "Hide file extensions if known to
system" then you can change the extension to *.bat

5. Crate another empty text file.
6. Add this:

start /wait e:\programme\tb!\thebat.exe /nologo
call f:\sharedprogs\TB!Backup.bat
::Running W9x? Replace "/wait" with "/w"

7. Save as TB!Combined.bat
8. Create another text file.
9. Add this:
F:\SHAREDPROGS\HIDEWINDOW\HIDEWNDW.EXE /r E:\TB!Combined.bat
[1]^^^^[2]

[1] will call up the program HideWindow to hide the Window created by
[2] TB!Combined.bat which will first start TB! wait in the background
till TB! is closed and then the backup is performed via running
TB!Backup.bat.

10. Save as TB!Replace.bat

11. Create a shortcut on your desktop pointing to TB!Replace.bat
Add the TB! icon if you like.
Use this shortcut to start TB!

NA> What advantages are there to your type of backup, compared to Tools/Backup?

It's proven to be working for ages, no problems in lost AB entries,
missing groups, filters or whatever.

*It's working regardless of the running TB! version* No Beta trouble.

I think a more experienced user with some knowledge of writing
batchfiles can strip this three files into one which will be much more
convenient. Someone volunteering?

Nick, I hope it's not too complicated to read through (myself reading
it, I'm not very proud of the explanation)
If you want I will send you the files OFF-LIST so you only have to
change the paths.

- -- 
Best regards,
Kari Jakobi

The Bat! 1.49 on Windows NT 5.0 Build 2195 SP1

To obtain my PGP-Key send a message to:
  mailto:[EMAIL PROTECTED]?subject=PGP-KEY_REQUEST
PGP-KEY ID: 0x388CEBFF




-BEGIN PGP SIGNATURE-
Version: PGP 7.0
Comment: Quis custodiet ipsos custodes?

iQA/AwUBOljaugdigFw4jOv/EQKttwCbBqGV2Bxd9NJsG9uoUPSWawdGmA8AoPbr
EJiQQ56EZFNhU82CPW0VT13f
=8YR1
-END PGP SIGNATURE-

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   
To Unsubscribe from TBUDL, double click here and send the message:
   
--

You are subscribed as : archive@jab.org





Re: Manual Backup Improvements

2001-01-07 Thread Thomas Fernandez

Hallo Nick,

may I chip in here.

On Sun, 7 Jan 2001 09:57:54 -0800 GMT (08/01/2001, 01:57 +0800 GMT),
Nick Andriash wrote:

KJ>> I assume you have already a batchfile exporting the TB
KJ>> registry settings and then calling up your favourite Packer.

NA> No, on manual backups, I open RegEdit and export the two settings to my TB!
NA> Zip Disk.

There is only one registry key used: the onder HKCU. You can safely
delte the other one, which is a legacy from odler versions.

NA>  The contents of those two Registry entries do not seem to change
NA> much at all between sessions. In any case, am I to presume that your method
NA> of backing up TB! does not include a provision to back up the Registry
NA> settings?

Mine does:

call januk.bat

This is a batch file that was created by Januk Aggarwal and looks like
this (copy and save as file januk.bat):

--- start januk.bat ---
@echo off
rem Written by Januk Aggarwal
cls
echo Welcome to your The Bat! Registry Backup program.
echo
echo  ___
echo *   *
echo *1. Back up my registry NOW!!   *
echo *2. Don't you dare!  Get me outta here! *
echo *   *
echo *___*
echo.
choice /c:12
if errorlevel 2 goto end
if errorlevel 1 goto begin

:begin
echo.
echo Good choice, I'm just checking for previous backup attempts.
echo.
echo.
if not exist TBbckup2.reg goto continue
echo Your previous backup is being stored in TBbckup2.reg
echo.
if exist TBbckup1.reg del TBbckup2.reg

:continue
if exist TBbckup1.reg rename TBbckup1.reg TBbckup2.reg
start /w regedit /e TBbckup1.reg "HKEY_CURRENT_USER\Software\RIT\The Bat!"
echo.
if not exist TBbckup1.reg echo Error!  Something went wrong.  Backup not
echo successful.
if exist TBbckup1.reg echo Success! Your registry entries for The Bat! are
echo backed up!
echo.

:end
echo.
echo Thank you for using this backup utility.
echo.
exit

--- end januk.bat 

NA> Now I'm really confused... Do you mean I have to download and install this
NA> Program? Is it tied into the batch file in some manner? I see "HIDEWNDW.EXE"
NA> in your batch file so I presume we have to indicate where this file is
NA> located on our HDD.

Yes. Kari will explain this further. ;-)

NA> What advantages are there to your type of backup, compared to Tools/Backup?

It does everything. I have never used the Tool/Backup feature but you
have choices there, like if you don't want to backup/resotrer
everything.

-- 

Cheers,
Thomas.

To succeed in politics, it is often necessary to rise above your principles. 

Message reply created with The Bat! 1.49
under Chinese Windows 98 4.10 Build 1998 
using an Intel Celeron 366Mhz, 128MB RAM

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   
To Unsubscribe from TBUDL, double click here and send the message:
   
--

You are subscribed as : archive@jab.org





Re: Manual Backup Improvements

2001-01-07 Thread Nick Andriash

On January 7, 2001, at 7:39:44 AM, Kari Jakobi Wrote:

KJ> The way I designed it will execute the Backup everytime TB
KJ> is closed *automagically* without you even noticing anything
KJ> has changed.

Now this is something I've wanted to see for a long time. :o)

KJ> I assume you have already a batchfile exporting the TB
KJ> registry settings and then calling up your favourite Packer.

No, on manual backups, I open RegEdit and export the two settings to my TB!
Zip Disk. The contents of those two Registry entries do not seem to change
much at all between sessions. In any case, am I to presume that your method
of backing up TB! does not include a provision to back up the Registry
settings?

KJ> First, create a batchfile looking like this:

Kari, would you mind writing down this batch file *exactly* as it should be
shown? I found your example a little confusing, and am leery to try it for
fear of causing some damage. :o(

KJ> Use this batchfile to fire up TB instead of thebat.exe.
KJ> This will result in two windows popping up (TB itself and
KJ> the MS-DOS window where the batchfile is executed)

KJ> To get rid of the MS-DOS window, which will reside in your
KJ> taskbar use the following batchfile to hide that window
KJ> (backup procedure will *not* be changed in any way):

KJ> 

KJ> X:\PATH\HIDEWNDW.EXE /r X:\PATH_TO_TBw/Backup.bat

KJ> 

In the example batch file above, do you actually type in "Start of
Hidden.bat" somewhere? I have never created a batch file so you will have to
show some patience with me. ;o)

Is "PATH_TO_TBw" and "PATH" the actual words you type in, or are you
supposed to type in C:\Program Files... etc., in place of "PATH"?

KJ> This one will start the batchfile from the first example
KJ> using a little program (running under Win9x to W2K) which
KJ> will hide the MS-DOS window.

KJ> The program HIDEWINDOW is freeware and available from:
KJ> http://www.winsite.com/info/pc/win95/desktop/hidewndw.zip/downl.html
KJ> (about 35Kb)

Now I'm really confused... Do you mean I have to download and install this
Program? Is it tied into the batch file in some manner? I see "HIDEWNDW.EXE"
in your batch file so I presume we have to indicate where this file is
located on our HDD.

What advantages are there to your type of backup, compared to Tools/Backup?



Nick


N.J. Andriash [ TB! v1.49 | PGP 7.0.2 | Win 98 SE ]
 Vancouver, B.C. Canada | PGP Key ID:  0x7BA3FDCE  


-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   
To Unsubscribe from TBUDL, double click here and send the message:
   
--

You are subscribed as : archive@jab.org





Manual Backup Improvements

2001-01-05 Thread Kari Jakobi

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Hello fellow listmembers,

for all of you who rely on the manual backup procedure for
TB instead of using the (newly) built in function.
With the help of Thomas, Roel and Andrey I found a very
convenient way for doing this:

The way I designed it will execute the Backup everytime TB
is closed *automagically* without you even noticing anything
has changed.

I assume you have already a batchfile exporting the TB
registry settings and then calling up your favourite Packer.

First, create a batchfile looking like this:



start /wait X:\PATH\thebat.exe
:: WIN9x users use "/w" instead of "/wait"
call X:\PATH_TO_EXISTING_BACKUP.BAT



Use this batchfile to fire up TB instead of thebat.exe.
This will result in two windows popping up (TB itself and
the MS-DOS window where the batchfile is executed)

To get rid of the MS-DOS window, which will reside in your
taskbar use the following batchfile to hide that window
(backup procedure will *not* be changed in any way):



X:\PATH\HIDEWNDW.EXE /r X:\PATH_TO_TBw/Backup.bat



This one will start the batchfile from the first example
using a little program (running under Win9x to W2K) which
will hide the MS-DOS window.

The program HIDEWINDOW is freeware and available from:
http://www.winsite.com/info/pc/win95/desktop/hidewndw.zip/downl.html
(about 35Kb)

HTH some of you.

- -- 
Best regards,
Kari Jakobi

The Bat! 1.49 Beta/1 on Windows NT 5.0 Build 2195

To obtain my PGP-Key send a message to:
  mailto:[EMAIL PROTECTED]?subject=PGP-KEY_REQUEST
PGP-KEY ID: 0x388CEBFF



-BEGIN PGP SIGNATURE-
Version: PGP 7.0
Comment: Quis custodiet ipsos custodes?

iQA/AwUBOlXqvQdigFw4jOv/EQLCDwCg7y9rZF37ZUPJrzYcIZbVZtXIZkYAn2cY
wfjkovObEX+FtbxDwhARJMic
=FiX3
-END PGP SIGNATURE-

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   
To Unsubscribe from TBUDL, double click here and send the message:
   
--

You are subscribed as : archive@jab.org