Holy fuck. I am a massive idiot. I accidentally deleted my nextcloud postgres database

I don't have a backup. Other than a snapshot of the entire vm

Follow

Basically what happened is that I renamed the folder where my nextcloud docker-compose.yml is. Then I did docker-compose up -d which means that the postgres container created new volume since I did not use named volumes.

This wouldn't be so bad since the old volume was still there, just not attached to any container.

But then I run docker volume prune

Monumental stupidity

· · Web · 1 · 0 · 0

So now I have 40GBs of useless objects because the data necessary to rebuild files from objects are gone with the database

Fortunately I didn't loose any actual data.

Yet

Sign in to participate in the conversation
Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!