Sophia,
All I do to get different backup files names is to copy the backvan.bat file
to other names; and edit that file.
I have a file named 6am.bat, 12pm.bat, 6pm.bat, and 10pm.bat.
I edit the file as follows:
@echo off
rem Dataworks BACKVAN.BAT created:07/98
rem
rem This .bat script requires modification by the system administrator
rem to include the correct paths and dirctory locations.
rem
rem NOTE:
rem Drive letter of database be a physical drive, not mapped.
rem Drive letter of backup copy can be physical or mapped,
rem on server or across network.
rem
rem General syntax of BACKVAN.BAT does the following:
rem 1) Surpress screen display (echo off)
rem 2) Drive letter locating the VNTGBKUP.BAT file.
rem 3) Directory path to the VNTGBKUP.BAT file.
rem 4) Call of VNTGBKUP to do the backup "online"
rem of c:\path\dcdv7 database to c:\backupdir\backup.file.
rem
rem System admin should EDIT the following:
rem a) Change DRIVE LETTER to drive where
rem directory DLCSRV\BIN\VNTGBKUP.BAT is located.
rem b) Verify path to \dlcsrv\bin and edit if necessary.
rem c) Edit drive letter and path to database location.
rem d) Edit drive letter and path to where back should be placed
rem e) Create the backup directory where backup file will be placed
rem @echo off
e:
cd \epicor\progress\bin
vntgbkup online e:\epicor\vantage\db\vantage E:\Vantage\Backups\Vntg12pm.bak
The other backups would be like the following lines:
vntgbkup online e:\epicor\vantage\db\vantage E:\Vantage\Backups\Vntg6am.bak
vntgbkup online e:\epicor\vantage\db\vantage E:\Vantage\Backups\Vntg6pm.bak
vntgbkup online e:\epicor\vantage\db\vantage E:\Vantage\Backups\Vntg10pm.bak
Dave Cole
Reeder & Kline
-----Original Message-----
From: Ted Kitch [mailto:ted@...]
Sent: Thursday, December 21, 2000 5:15 PM
To: vantage@egroups.com
Subject: Re: [Vantage] OnLine Back Up
Here is something that I've been using for years. The examples that I stole
this idea from are here:
http://www.windows2000faq.com/Articles/Index.cfm?ArticleID=13575
<http://www.windows2000faq.com/Articles/Index.cfm?ArticleID=13575>
Works great withing the backvan.bat file on NT
Ted Kitch
ted@...
All I do to get different backup files names is to copy the backvan.bat file
to other names; and edit that file.
I have a file named 6am.bat, 12pm.bat, 6pm.bat, and 10pm.bat.
I edit the file as follows:
@echo off
rem Dataworks BACKVAN.BAT created:07/98
rem
rem This .bat script requires modification by the system administrator
rem to include the correct paths and dirctory locations.
rem
rem NOTE:
rem Drive letter of database be a physical drive, not mapped.
rem Drive letter of backup copy can be physical or mapped,
rem on server or across network.
rem
rem General syntax of BACKVAN.BAT does the following:
rem 1) Surpress screen display (echo off)
rem 2) Drive letter locating the VNTGBKUP.BAT file.
rem 3) Directory path to the VNTGBKUP.BAT file.
rem 4) Call of VNTGBKUP to do the backup "online"
rem of c:\path\dcdv7 database to c:\backupdir\backup.file.
rem
rem System admin should EDIT the following:
rem a) Change DRIVE LETTER to drive where
rem directory DLCSRV\BIN\VNTGBKUP.BAT is located.
rem b) Verify path to \dlcsrv\bin and edit if necessary.
rem c) Edit drive letter and path to database location.
rem d) Edit drive letter and path to where back should be placed
rem e) Create the backup directory where backup file will be placed
rem @echo off
e:
cd \epicor\progress\bin
vntgbkup online e:\epicor\vantage\db\vantage E:\Vantage\Backups\Vntg12pm.bak
The other backups would be like the following lines:
vntgbkup online e:\epicor\vantage\db\vantage E:\Vantage\Backups\Vntg6am.bak
vntgbkup online e:\epicor\vantage\db\vantage E:\Vantage\Backups\Vntg6pm.bak
vntgbkup online e:\epicor\vantage\db\vantage E:\Vantage\Backups\Vntg10pm.bak
Dave Cole
Reeder & Kline
-----Original Message-----
From: Ted Kitch [mailto:ted@...]
Sent: Thursday, December 21, 2000 5:15 PM
To: vantage@egroups.com
Subject: Re: [Vantage] OnLine Back Up
Here is something that I've been using for years. The examples that I stole
this idea from are here:
http://www.windows2000faq.com/Articles/Index.cfm?ArticleID=13575
<http://www.windows2000faq.com/Articles/Index.cfm?ArticleID=13575>
Works great withing the backvan.bat file on NT
Ted Kitch
ted@...
----- Original Message -----
From: Wayne Cox
To: vantage@egroups.com
Sent: Thursday, December 21, 2000 8:41 AM
Subject: RE: [Vantage] OnLine Back Up
At 08:37 AM 12/21/2000 -0500, you wrote:
>If you use the Epicor supplied BACKVAN.BAT routine ....
>....schedule it to run, and presto, it works just great!!
Anyone devised a way to have it generate unique names for the backup
file? A date suffix would be nice. Doable with standard NT tools, or do
I
need to install some "real" scripting language?
-Wayne Cox
eGroups Sponsor
We no longer allow attachments to files. To access/share Report Files,
please go to the following link: http://www.egroups.com/files/vantage/
<http://www.egroups.com/files/vantage/>
(Note: If this link does not work for you the first time you try it, go
to www.egroups.com, login and be sure to save your password, choose My
Groups, choose Vantage, then choose Files. If you save the password, the
link above will work the next time you try it.)
[Non-text portions of this message have been removed]
eGroups Sponsor
<http://rd.yahoo.com/M=102308.1038796.2731130.908943/D=egroupmail/S=17000071
83:N/A=466331/?http://features.yahoo.com/webceleb/carrey/> Click Here!
We no longer allow attachments to files. To access/share Report Files,
please go to the following link: http://www.egroups.com/files/vantage/
<http://www.egroups.com/files/vantage/>
(Note: If this link does not work for you the first time you try it, go to
www.egroups.com, login and be sure to save your password, choose My Groups,
choose Vantage, then choose Files. If you save the password, the link above
will work the next time you try it.)
[Non-text portions of this message have been removed]