https://linen.dev logo
Project deletion and DB behavior
# help
f
Hi folks! Quick question: what happens to the RDS instance if I run
cargo shuttle project rm
and then create a new project? Does the data get wiped? This just happened to me due to the
v0.11
update and I'm wondering if all of my data is gone?
I want to point out that I didn't have any data in the DB, but I could have.
k
Hey! No, the DB data will persist. We don't actually support deleting databases yet, but it is being worked on by some contributors: ❤️
f
Thank you! Follow up question: why is shuttle doing another provision on an incremental deploy? It really slows down deploys : /
> 2023-03-03T11:46:15.306725984Z INFO shuttle_deployer::deployment::provisioner_factory: Provisioning a aws_rds::postgres on the shuttle servers. This can take a while...
k
Ah, yeah, we cycle the password on redeploys, which takes a little while for RDS. Maybe we should make it optional, I don't know... 🤔 In the meantime, if you use postgres, the shared database is much quicker on redeploys.
f
Making it optional would be great. I know it's probably a security thing, but having it change the password all the time could get frustrating
w
@best-glass-41070 something worth adding to the docs I think
b
already in the backlog 🙂