Download Import Script
Download our PostgreSQL import script:Usage
Run the script with your database credentials and ChartDB information:Required Parameters
-h
Database hostname-p
Database port (default: 5432)-U
Database username-d
Database name-W
Database password-a
ChartDB API key-t
Target diagram ID
Automated Daily Updates
To automatically update your diagram daily using cron, add the following line to your crontab:Note: Replace
/path/to/psql-import.sh
with the absolute path to the
script and adjust the credentials accordingly. The log file path
(/path/to/psql-import.log
) should be in a directory where your user has
write permissions.