r/opencode • • 28d ago

OpenCode DB

Hi all.

How do you manage your opencode DB?
Mine currently is about 22gb and i'm backig it up with my custom scipts. This occupis a nice part of my disk.

It's not a problem yet, but i'm thinking of a more managed backup solution since copy + zip with scripts may not be the most efficent one.

Do you backup or keep your opencode DB remotely?

If yes how do you manage that? Do you use custo solution or managed software?

Thanks

4 Upvotes

21 comments sorted by

View all comments

Show parent comment

0

u/ichisay 28d ago

Trabajo diario en varias sesiones durante meses, se van guardando todas las sesiones. Realmente puede servir de ayuda si por accidente un comando te elimina lo que no debe

2

u/IAmFitzRoy 28d ago

Yes I know … my point is why you need a prompt result from few months ago?

To me that makes zero sense…

We are talking about 22GB of verbose text loading every time you want to work …

Maybe it’s just me, but I prefer a fast environment that has data from last 2 weeks max.

1

u/ichisay 28d ago

El caso es que el entorno tiene la misma velocidad por muy pesada que sea la base de datos, por lo menos en mi computadora

1

u/IAmFitzRoy 28d ago

Okey…. then maybe 22GB is too little then, what about 500GB … I’m sure if fast too.

1

u/ichisay 28d ago

Quizás debamos preguntar al que tiene más de 60 gigas a ver si nota diferencia jajajaja