Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
update mongo to postgres doc
Maidul Islam3c0908a7883c
diff --git a/docs/self-hosting/guides/mongo-to-postgres.mdx b/docs/self-hosting/guides/mongo-to-postgres.mdxindex fe3f0aef71..22a5acccf7 100644--- a/docs/self-hosting/guides/mongo-to-postgres.mdx+++ b/docs/self-hosting/guides/mongo-to-postgres.mdx@@ -14,6 +14,7 @@ The newly released Postgres version of Infisical is the only version of InfisicaBefore starting the migration, ensure you have the following command line tools installed:+- [git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)- [pg_dump](https://www.postgresql.org/docs/current/app-pgrestore.html)- [pg_restore](https://www.postgresql.org/docs/current/app-pgdump.html)- [mongodump](https://www.mongodb.com/docs/database-tools/mongodump/)@@ -103,7 +104,7 @@ Once started, the migration script will transform MongoDB data into an equivalen<Step title="Clone Infisical Repository">Clone the Infisical MongoDB repository.```- git clone https://github.com/Infisical/infisical.git+ git clone -b infisical/v0.46.7-postgres https://github.com/Infisical/infisical.git```</Step><Step title="Install dependencies for backend">@@ -186,9 +187,14 @@ Rather than transferring the data row-by-row from your local machine to the prod## Post-Migration Steps-After successfully migrating the data to PostgreSQL, you can proceed to deploy Infisical using your preferred deployment method.-Refer to [Infisical's self-hosting documentation](https://infisical.com/docs/self-hosting/overview) for deployment options.-Remember to use your production PostgreSQL connection string for the new deployment and transfer all [environment variables](/self-hosting/configuration/envars) from the MongoDB version of Infisical to the new version (they are all compatible).+Once the data migration to PostgreSQL is complete, you're ready to deploy Infisical using the deployment method of your choice.+For guidance on deployment options, please visit the [self-hosting documentation](/self-hosting/overview).+Remember to transfer the necessary [environment variables](/self-hosting/configuration/envars) from the MongoDB version of Infisical to the new Postgres based Infisical; rest assured, they are fully compatible.++<Warning>+The first deployment of Postgres based Infisical must be deployed with Docker image tag `v0.46.7-postgres`.+After deploying this version, you can proceed to update to any subsequent versions.+</Warning>## Additional discussion- When you visit Infisical's [docker hub](https://hub.docker.com/r/infisical/infisical) page, you will notice that image tags end with `-postgres`.