Cleanup and backup

Major BBS or Worldgroup - get and give support here.

Moderator: Mod Squad

Post Reply
Montroze
Posts: 57
Joined: Thu Aug 02, 2012 12:24 am

Cleanup and backup

Post by Montroze »

I have had this going for years and it worked great, since my last switch of servers I get a "incorrect DOS version" when the server hits the bbsclean.bat
something like this,

xcopy c:\wgserv *.* /s d:\wgserv

The server has DOS 6.22 on it and also win98se.

Any suggestions?

Montroze
Posts: 57
Joined: Thu Aug 02, 2012 12:24 am

Post by Montroze »

I think I know the answer, I made the .bat file on another computer. (I may need that brain transplant yet)

Montroze
Posts: 57
Joined: Thu Aug 02, 2012 12:24 am

Post by Montroze »

Damm, I thought that was the problem, still getting ' incorrect dos version' any ideas

User avatar
Toyduck
Posts: 366
Joined: Thu Jul 06, 2006 11:34 pm
Location: Las Vegas NV
Contact:

Post by Toyduck »

Montroze wrote:Damm, I thought that was the problem, still getting ' incorrect dos version' any ideas
What version of WG are you running?

Montroze
Posts: 57
Joined: Thu Aug 02, 2012 12:24 am

Post by Montroze »

Running WG2.0 DOS flavor.

User avatar
dspain
Posts: 2102
Joined: Sun May 07, 2006 10:38 pm
Location: richmond,virginia
Contact:

Post by dspain »

Montroze wrote:Running WG2.0 DOS flavor.
question is, even though you have dos 6.22 and win98se (dos 7) what are you booting into for the bbs, and is the proper xcopy being called (possibly path is still pointing to the other os)

better news is i almost have wg2 working with freedos!

anyhow check that and let me know.

User avatar
Iceman
Posts: 93
Joined: Mon Mar 12, 2007 8:49 pm
Contact:

Post by Iceman »

Well can you open a dos prompt and type "xcopy /?" to make sure the program is on the machine and/or allowed to run in the directory you are trying to launch it from, and that you are using the correct syntax for the version you are using on the new server...

I've always liked using command prompt winrar if thats any help...

@echo off
start /WAIT C:\wgserv\winrar.exe a -rr -ag-MMM-DD-YYYY C:\wgbackup\wgbackup.rar C:\wgserv

This basically lets me launch the command prompt winrar program which is located in my wgserv directory, to create a backup file with the date the backup was done in the filename of "wgbackup.rar" so it appears as "wgbackup-FEB-3-2013.rar" and it copies all files and subdirectories in the C:\wgserv directory so every day I get a 100% backup of all files...

This way I can go back to any date or time things were done...

Montroze
Posts: 57
Joined: Thu Aug 02, 2012 12:24 am

Post by Montroze »

Iceman wrote:
This way I can go back to any date or time things were done...
That sounds like a good idea. Dan wasn't sure what you meant, setup as outlined in the manual windows 98 screen flashs and loads the board.
Yes I tried running both in DOSmode and win98 command prompt and it didnt run.

Now here's the strange part, on my main PC I still have a backup of an old drive from 1996, pulled out that cleanup.bat, ran it and it worked, also did a shutdown cleanup and it works, no idea why? But it working ok now. Watching it run though the copying it lags when it hits the audit trail <- Guess that because its still from 1996 to Date ! :shock:

User avatar
dspain
Posts: 2102
Joined: Sun May 07, 2006 10:38 pm
Location: richmond,virginia
Contact:

Post by dspain »

Iceman wrote:Well can you open a dos prompt and type "xcopy /?" to make sure the program is on the machine and/or allowed to run in the directory you are trying to launch it from, and that you are using the correct syntax for the version you are using on the new server...

I've always liked using command prompt winrar if thats any help...

@echo off
start /WAIT C:\wgserv\winrar.exe a -rr -ag-MMM-DD-YYYY C:\wgbackup\wgbackup.rar C:\wgserv

This basically lets me launch the command prompt winrar program which is located in my wgserv directory, to create a backup file with the date the backup was done in the filename of "wgbackup.rar" so it appears as "wgbackup-FEB-3-2013.rar" and it copies all files and subdirectories in the C:\wgserv directory so every day I get a 100% backup of all files...

This way I can go back to any date or time things were done...
yeah he could do that with pkzip too, thats how i do my dev wg 2.0 system every night.

Post Reply