https://orbstack.dev logo
getting dbs from a timemachine backuped data.img
# support
m
I ran into a problem because it seems, cleanmymac.app has deleted the files orbstack uses for storing the ddev projects from phpstorm including the databases. although I have a few time machine backups, I can’t restore them because the data.img has the virtual 8TB. are there backups of the databases inside this data.img? and if there are, is there a way to retrieve them without having the physical space of 8TB on my ssd?
r
Your DDEV databases are stored in Docker volumes. (And they have nothing to do with PhpStorm). In general, try to use a better technique for backups, see https://ddev.com/blog/ddev-backups/ Are you sure that time machine was backing up your volumes anyway? It certainly doesn't by default on Docker Desktop.
d
you can use
cp -c <path to backup data.img> ~/Desktop/tmpdata/
and then set your OrbStack storage location to tmpdata
a
Hello, sorry for responding to an old post. I'm facing the same problem. I just restored a Time Machine backup, but I don't have the contents of my containers. If the volume wasn't backed up by Time Machine, is it gone for good? For example, aren't all databases stored elsewhere on the disk?