postgresql - How can you archive RDS postgres database by using recovery.conf? -


  1. where can locate , edit file amazon rds instance?what path?

  2. i have connected database using command line. can access file via ec2 instance (since cannot connect rds directly)?

  3. can edit recovery.conf property values using database queries?

  4. what property should change in file?

  5. can somehow use amazon db parameter this?

  6. how can file trigger script?

  7. can script executed periodically archive database?

  8. how can use following pg_settings property add 1 more script while archiving database?

    "archive_command";"/etc/rds/dbbin/pgscripts/rds_wal_archive %p"

too many questions, not idea how go , cannot find documentation on this.

the answer these "you can't".

rds sealed system. don't access wal archiving, except via features rds self exposes in form of read-replicas, backup management, etc. internally rds archives wal s3, don't have , cannot access s3 buckets uses. nor can change archive_command or script invokes.

you can't make replication-mode connections stream wal, use logical replication, etc either. if want more control , flexibility, don't use rds. control , flexibility comes more complexity , need more knowledge - sure read manual!


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -