Context
Drupal, wordpress, api, solr, react, etc development
Using docker compose and ddev
Using docker handson (so not really interested in how it works, but happy to work with it)
Problem
Running out of diskspace
Last time i reclaimed diskspace I lost all my local environments, had to rebuild all my containers from git and the production databases, so I really did something stupid. and cost me a lot of time.
I found some answers to the following (hopefully not too stupid) questions but but as I am pressed for time and deadlines am afraid to implement them.
Question 1
What is a save way to reclaim disk space?
Question 2
How can I backup an whole setup (so for a project all containers, images, volumes) so that when I destroy them I could easily restore them from my backup?