How to back up transactions, Tranback, How to b ack up tr ansactions – Gasboy CFN III Mgnr's Mnl V3.4 User Manual
Page 162

Backup System Data and Disk Files
How to Back Up System Data
Page 146
MDE-4315 CFN Series CFN III Manager’s Manual for Windows NT · August 2004
2
Use ENABLE RAW to enable raw mode.
3
Use the PRINT commands with the output redirection options to print the data
to a backup file. See below (under How to restore system or transaction data in
this chapter) for examples.
4
Use DISABLE RAW to disable raw mode.
5
Restart the Site Controller with RUN.
In your backup command file, the first PRINT command should use the >
option to redirect its output to the backup file. This will overwrite any old data
in the file. Subsequent PRINT commands should use the >> option to append to
the backup file.
With PRINT SALES and PRINT TOTALS, be sure to use the A option and to
specify that all totals be printed (usually C123DYT).
How to Back Up Transactions
TRANBACK
You do not need to back up transactions if your site is polled for transactions by
a remote system, since they will already be stored on that system. You also do
not need to back up transactions if you do only cash transactions.
The procedure for backing up transactions is similar to the procedure for
backing up system data. Special transaction backup commands are included on
the applications disk provided with the Site Controller. The command file
TRANBACK.CMD on the applications disk will back up all transaction data.
Data will be put in a file called TRANBACK.DTA.
Shut down the Site Controller with STOP before you back up transactions so
that the transaction data does not change while you are doing the backup. When
the backup is complete, restart the Site Controller with RUN. You may include
these commands in a command file.
P* TYPE MY_BCKUP.CMD
↵
stop
enable raw
print cron;>backup.dta
print drawers;>>backup.dta
print heading;>>backup.dta
print prices;>>backup.dta
print products;>>backup.dta
print pumps;>>backup.dta
print sales;>>backup.dta,A
c123dyt
print sites;>>backup.dta
print tanks;>>backup.dta
print totals;>>backup.dta,A
c123dyt
disable raw
run
P*