Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Back Up 2

Status
Not open for further replies.

johnny45

Technical User
Nov 8, 2006
136
CA
I'm very new to accpac and Pervasive.
We have installed 5.5 with Pervasive 9.6

I would like to make data back ups
1- Can this be done WITHOUT 3rd party software?
2- Would this be a good way to go about this:
Code:
 @echo off
:: variables
set drive=C:\My Laptop Backups
::set folder=\%date:/=-%
::
for /f "tokens=1-3 delims=/- " %%a in ("%date%") do set XDate=%%a-%%b-%%c
for /f "tokens=1-3 delims=: " %%a in ("%time%") do set Xtime=%%a.%%b.%%c
set folder=%XDate% %Xtime%
set backupcmd=xcopy /s /c /d /e /h /i /r /k /y
if not exist "%drive%" mkdir "%drive%"
if not exist "%drive%\%folder%\" mkdir "%drive%\%folder%"
@pause
echo ### Backing up directory...
%backupcmd% "\\Sraccm01\accwin\DATA\GENDAT" "%drive%\%folder%\"
7za a -tzip %drive%\%folder% "%drive%\%folder%"
echo Backup Complete!
@pause
 
Yes, you can backup Pervasive databases by:

1. Simply copying
2. Zip
3. Robocopy
4. MS Backup

or most any commercial backup package.

If anyone is using the system, the DDF files and DATADICT.DAT will be in use, but that's no big deal, those files are only changed when you upgrade, you can skip them on a daily basis.
 
Thank You for the quick responce....

I was under the impression (from Googling) that if users are in accpac during the copy of the pervasive files there could be corruption.....

Is this true ?
 
It will not corrupt the data when you copy(have can it?), but the open files will not be copied.
It is best that all users close Accpac before you do a backup, so the backup is best done after hours, and it is best to use backup software.
 
Thank You both for the insight...


Cheers !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top