bcgov / SIMS

Student Information Management System. Post-Secondary Student Financial Aid System
Apache License 2.0
25 stars 14 forks source link

SIMS DB read access to external db backup team #1883

Closed guru-aot closed 1 year ago

guru-aot commented 1 year ago

DB dump to extract data from SIMS.

Acceptance Criteria Create a grant access or user to access only read only access to our SIMS Patroni DB

Sample code to grant access: GRANT CONNECT ON DATABASE mydb TO xxx; -- This assumes you're actually connected to mydb.. GRANT USAGE ON SCHEMA public TO xxx; GRANT SELECT ON mytable TO xxx;

https://stackoverflow.com/questions/760210/how-do-you-create-a-read-only-user-in-postgresql

Questions:

JasonCTang commented 1 year ago

Determined that because we are storing our backups in the "Backup Container" pod provided by Platform Services, our backups are automatically backed up externally by OCIO every day. Therefore, we do not need to explicitly implement any additional external backup solution.