The SOAPware DataManager is a database utility designed for the Postgres database. It uses existing, tried-and-true utilities provided by Postgres and Windows, but is wrapped up in a simple, easy-to-use interface.
The DataManager allows the user to create and schedule backups, schedule maintenance tasks and perform database restores. Before going live using SOAPware in a production environment, it is important to do a restore test on a different PC/server. Establish a schedule to perform regular test restores in the future and do them anytime there are changes in the system configurations.
To Start the SOAPware DataManager, Click Start, All Programs, SOAPware, SOAPware DataManager.

You should then see the SOAPware DataManager Login Screen.

When you start the DataManager, you must login with the database administrator password. This defaults to the postgres user account on the database. (This is the second set of passwords created during the SOAPware Data Server install).
NOTE: The database administration password is NOT the same as the SOAPware Administration password. The database administration account only accesses the Postgres database.
Only use the Advanced section if your server, port or database administration user name is different than the default install.
The DataManager is divided up into four sections:

The backup routine creates a database script file to completely rebuild your database from scratch. It contains all the user, tablespace, table and data information needed to restore your database completely.
Backup file sizes can range from about 50MB to many Gigabytes, depending on database size and compression options.
It can take from 20 minutes to several hours for a backup to complete. Please plan to schedule backups to run nightly for the best results.
Note: A backup can be canceled. It will delete the current backup file and your database is not affected.

The DataManager can take a previously made backup file and restore the database to the exact state as when the backup is made.
Note: After the restore is completed, any user passwords or preferences changed since the backup will be reset to previous state.
If restoring a compressed backup file, the DataManager needs to decompress the backup file before the restore. Therefore, it needs extra hard drive space to decompress the file. It may take as much as seven times the compressed file size needed in hard drive space. For example, a 3GB compressed backup may need an extra 20GB of hard drive space to run the recovery.
If a restore is tried and there is not enough room to decompresses the file, the recovery will fail before the database is touched. Simply make more room, or set the temporary directory in the options (see below) and run the recovery again.
The temporary, uncompressed backup file will be automatically deleted after the recovery completes.
Note: You must wait 10 minutes between creating a backup and running a restore in order to clear out the connections.
Warning: Running a restore will replace all the data and table structures of your database.
The old database will be deleted.
The process cannot be canceled.

Databases need to be optimized and cleaned up routinely for maximum performance. Higher traffic databases should be optimized more often, sometimes daily. Lower traffic databases may only need to be optimized once a week or month.
Optimizations may take from 30 minutes to several hours to complete.
Note: Running optimizations may degrade database performance. We recommend setting your Maintenance schedule to run at night or weekends when database traffic is low.

Note: The database administration password is NOT the same as the SOAPware Administration password. The database administration account only accesses the Postgres database.
The DataManager provides an easy-to-use interface to create a Windows Task scheduled event to run your backup and maintenance routines. Simply setup a backup or maintenance task as outlined above, then choose the schedule frequency. When you save the schedule, your task will run at that time.
For advanced users, you can maintain existing tasks using the Windows Task scheduler. For more information, start here at the Microsoft Task Knowledge Base.
After you set your backup or maintenance information, expand the schedule tab by clicking on the down arrow icon.
Under the Run dropdown, you can choose the schedule type from Once, Daily, Weekly or Monthly. Different options will appear depending on what type of schedule you will choose.
Set the Time you wish your task to run. We recommend running your task at a time when there is little or no database activity.
Name your schedule so it will be unique in the Windows Task list. If you already have a task with the same name, it will ask if you would like to overwrite the existing task.
This option will run your task only once on the specified day and time.

This option will run your task daily. You can choose to skip a number of days.

Running a task weekly allows you to choose which days of the week to run. You may also skip weeks.

A Monthly task allows you to set the task to run once a month on a certain day. You may check the months you would like to run the task.

To change an existing schedule, simply setup a new schedule how you would like with any new backup or maintenance or schedule data and give the same schedule Name as an existing task. This will overwrite the existing task with your new information.
To find a list of your existing schedules, look in the Windows Task Scheduler for your tasks. Go to the Windows Start menu, then open the Control Panel. Open Scheduled Tasks and it will list all your current tasks. You may edit these directly to change the schedule, but to change the backup or maintenance parameters, you must use the DataManager and overwrite one of the tasks.
To delete an existing schedule, open the Scheduled Tasks control panel as mentioned above. Right click on the task and choose Delete.
Log files can give you details on how your tasks are running. They provide information about what tables were used and any warnings or errors which may have occurred. Each time the DataManager is used, either in the GUI or in a scheduled task, it will create a log file of the events.
Find the logs where your DataManager is installed at %DataManager Install Path%\Logs
The Logs directory will only keep the last 10 log files so there is no need to clean out this directory or to worry about it filling up. If you plan to keep a log file for support or other needs, be sure to move it out of this directory, or it could be deleted as more log files are created.