Page 1 of 1

Cleanup and backup

Posted: Sat Feb 02, 2013 4:16 am
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?

Posted: Sat Feb 02, 2013 5:24 pm
by Montroze
I think I know the answer, I made the .bat file on another computer. (I may need that brain transplant yet)

Posted: Sat Feb 02, 2013 8:50 pm
by Montroze
Damm, I thought that was the problem, still getting ' incorrect dos version' any ideas

Posted: Sun Feb 03, 2013 1:17 am
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?

Posted: Sun Feb 03, 2013 1:39 am
by Montroze
Running WG2.0 DOS flavor.

Posted: Sun Feb 03, 2013 4:26 am
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.

Posted: Sun Feb 03, 2013 8:18 pm
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...

Posted: Sun Feb 03, 2013 8:42 pm
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:

Posted: Sun Feb 03, 2013 9:24 pm
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.