That’s what I’d have thought, but even after I shut down the container running sidekiq postgres was still showing active connections. Similarly, I had done an sv stop unicorn on the ECS instance but postgres was still showing active connections.
I rebooted the RDS server, cranked up the container on the EC2 (the instances in ECS don’t have enough disk spare for a restore), sv stop unicorn, then drop, create, restore the database and now, I’m attempting a restore.
Thanks very much for your help. I do appreciate it!