13.04.2013 Views

Digipass Plug-In for SBR Administrator Reference - Vasco

Digipass Plug-In for SBR Administrator Reference - Vasco

Digipass Plug-In for SBR Administrator Reference - Vasco

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Digipass</strong> <strong>Plug</strong>-<strong>In</strong> <strong>for</strong> <strong>SBR</strong> <strong>Administrator</strong> <strong>Reference</strong> Backup and Recovery<br />

6.1.6.3 Backup of Embedded Database<br />

The PostgreSQL database available with the <strong>SBR</strong> <strong>Plug</strong>-<strong>In</strong> installation may be backed up while<br />

operational by completing these steps:<br />

1. Open command prompt in \PostgreSQL\Bin.<br />

2. Enter the following command and hit ENTER:<br />

pg_dump -f "" -Fc -Z9 -U [-v] postgres<br />

where:<br />

is the absolute path and file name of the file to back up the data<br />

to<br />

is the database administrator account name. When installed,<br />

this is set to "digipass".<br />

-v is an optional 'verbose mode' parameter. Use this if you wish to see output as the<br />

backup is run.<br />

3. You will normally be prompted <strong>for</strong> the password of the database administrator account.<br />

When installed, this is set to "digipassword".<br />

This command may also be run via a batch file in order to automatically take a backup at<br />

regular intervals. <strong>In</strong> order to remove the interactive prompt <strong>for</strong> the password, you can add a<br />

line to a PostgreSQL configuration file to allow local logins <strong>for</strong> a database administrator account<br />

without a password. Edit the file \PostgreSQL\data\pg_hba.conf with a text<br />

editor. At the bottom of this file, there is a list of rules <strong>for</strong> authenticating connections to the<br />

database, which by default will be:<br />

# TYPE DATABASE USER CIDR-ADDRESS METHOD<br />

# IPv4 local connections:<br />

host all all 127.0.0.1/32 md5<br />

# IPv6 local connections:<br />

#host all all ::1/128 md5<br />

Add the following line directly below # Ipv4 local connections:<br />

host postgres digipass 127.0.0.1/32 trust<br />

You may prefer to create a second database administrator account that only has permission to<br />

back up the database. This can be done using the PostgreSQL database administration utility<br />

Programs -> PostgreSQL 8.1 -> pgAdmin III. Refer to the PostgreSQL documentation <strong>for</strong><br />

more in<strong>for</strong>mation.<br />

© 2006 VASCO Data Security <strong>In</strong>c. 72

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!