https://pulumi.com logo
#general
Title
# general
i

important-church-33632

10/26/2023, 8:40 AM
hey everyone ive just copied my pulumi state folder from one aws bucket to another and got • 10665 objects • 4.7GB is this normal? how could we clean things up?
c

cuddly-computer-18851

10/26/2023, 9:19 AM
do you have Versioning enabled?
i

important-church-33632

10/26/2023, 9:20 AM
no
i do in the new bucket though
e

echoing-dinner-19531

10/26/2023, 1:53 PM
There's probably a load of history files, check the .pulumi/history folders and the top level .pulumi folder for timestamped file backups
i

important-church-33632

10/26/2023, 1:55 PM
2.5gb could i delete this folder regularly? is there something else i could do to reduce size?
e

echoing-dinner-19531

10/26/2023, 1:57 PM
You can delete that folder when your sure you don't need the backups in it. You could also try turning on GZIP compression with the PULUMI_SELF_MANAGED_STATE_GZIP=true environment variable, we should probably default this to true at some point.
i

important-church-33632

10/26/2023, 2:30 PM
You can delete that folder when your sure you don't need the backups in it.
when would that be the case?
PULUMI_SELF_MANAGED_STATE_GZIP
ill try it, thanks!
e

echoing-dinner-19531

10/30/2023, 3:37 PM
when would that be the case?
When your sure you don't need the backups. I can't say when that's appropriate for your use case, maybe straight away, maybe never.
2 Views