Skip to main content

After installing Veritas Backup exc I realized that I have not been getting a decent Maximizer back up for sometime. The morning after Veritas ran it said the backup was complete but with a few exceptions. The exceptions were that some files were skipped and all of them were Maximizer Data files. There were 19 of them and here are a few: MXZC.MAX, MXZCS, MXZDIST.MAX, MXZO.MAX and so forth. The error given was that the files were in use. This was not the case as everyone had logged off.

I thought the problem was with Veritas so last night I backed up the address book doing a quick backup with the Maximizer utility. This failed as well with an error code of 25. This code says that possible causes are a full disk (it was not), the disk is write protected (it is not), the user does not have rights to directory (I do), and or the file is already in use. The file in use error raised my eyebrow so I checked my log reports before the Veritas install and sure enough the backups had failed because the file was in use.

This used to not be the case as I have successfully restored the address book from a backup in the past. Has anyone seen this error before or have any suggestions to eliminate this?
Original Post

Replies sorted oldest to newest

We had the same problem when using NTBackup. It appeared that Pervasive was the culprit as it was not ending connections properly. In our case it was made worse by our use of Terminal Services (TS) - users were walking away from live TS sessions, connections were getting interrupted, they'd log back in and Pervasive would leave the old connections open. We solved the problem by setting up TS to automatically disconnect a user after X amount of time with no activity, then log their session off after an additional Y amount of time if they haven't reconnected. I've also heard of people in non-TS environments using a batch file to stop the Pervasive engine before the backup runs, then restart it afterwards. I don't have that batch file but someone should be able to recreate it for you.

- R.
For our regular backup, we use Pervasive's backup function butil. This assures that open files can be part of the backup too.
Check out Pervasive Help for butil.

How it works for us:

First, create a list of files "addressbookfiles.txt" to be backed up e.g. all files in the directory
C:\Maximizer\AddrBooks\YourAddressBook
The list should contain entries with the full path name, e.g.
C:\Maximizer\AddrBks\YourAddressBook\MXZA.MAX

Then create a batch file, e.g. Maxbackup.cmd which you could run on a regular basis using Windows scheduler.

Our backup script:

*******************************************
:: Backup maximizer address book

C:\PVSW\Bin\butil -STARTBU @addressbookfiles.txt

If you want to use XCOPY:
xcopy C:\Maximizer\AddrBks\YourAddressBook\*.* \\Backuplocation\MaximizerBackup /c /i /e /s /m /y /z

If you want to use NTBackup:
ntbackup backup C:\Maximizer\AddrBks\YourAddressBook\ /j "YourAddressBook daily backup" /f \\Backuplocation\MaximizerBackup\MaximizerBackup.bkf

C:\PVSW\Bin\butil -ENDBU /A

*******************************************
End of script

Cheers

Add Reply

Post
LEGAL INFO
CONTACT US
Copyright 2007-2018 Advoco Solutions Ltd. All Rights Reserved.
×
×
×
×
Link copied to your clipboard.
×