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:
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