Backing up using the Advantage Remote Server

Backing up using the Advantage Remote Server

If you need to do a manual backup please follow these direction.

 

Recurring Backups using your own backup utility

If you would like to set up a recurring back up you can use your regular backup utility.

You will need to copy all the files in each of your data folders. (If you are not sure where your data resides, from within CostGuard click on File/ CostGuard.ini file and look for the line that reads DATA= points to the folder.). If you have more than one unit remember to back them all up.
 
dot ini
 

Recurring Backups using the ADS batch command

ADS has a backup command line utility called adsbackup, the details of which can be found here: ADS Backup. It’s simple to use and can be run while a database is online.

The batch command will look similar to this (using your own path name):

The app with its full path is
“C:\Program Files\Advantage 11.10\Server\adsbackup”

The source is
“D:\CostGuardData\CostGuard Shared\Data\MAIN\costguard.add”

The destination is
“D:\CostGuardData\Currentbackup\MAIN”

______________
For a more complex situation when backing up multiple dictionaries. These directions are from Advantage:

I don’t believe there is a parameter to back up several dictionaries at once, but assuming that the current script being run uses some form of cp/copy, one can modify that script to use adsbackup in their place, changing the parameters as necessary. If you’re using free tables, just setup the lines to look as follows:

adsbackup [options] [file mask]

where src path is the location of the free tables being backed up file mask is A file mask similar to “*.adt” or “*.dbf” which will be used to determine what tables should be included in the backup image. The file mask is only allowed when performing a backup of free tables. Multiple masks can be used in a single backup/restore by separating them with a semicolon. For example, “*.adt;*.dbf”.

dest path is a Path to place the backup image in. This path can be UNC ( \\myserver\myshare\mydir ) or a drive letter ( c:\mydir ) if connecting to a Microsoft Windows server. If using drive letters, keep in mind the drive letter must be recognized by the server machine, any drives mapped on the client executing the backup command are irrelevant. Unlike the source path, the destination path can use any drive letter, even one that references a mapped drive. If connecting to a Novel Netware server or a Linux server UNC, paths are recommended.

Alternatively, to backup data dictionaries if you’re using them:

adsbackup [options]

http://devzone.advantagedatabase.com/dz/WebHelp/Advantage10.1/index.html?master_adsbackup_utility.htm

Overall if there is already a script in place which copies or backs up the files, probably the best way to utilize adsbackup would be the modify the existing script with it to make the changes.