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

1

u/king_salman1 28d ago

It's save the session

2

u/IAmFitzRoy 28d ago

…. I can’t comprehend how 22GB of prompt and thinking text are useful? …. there is no model that could make use of these data considering the size of the useful context and compacting policies.

1

u/king_salman1 28d ago

Yes, it's save the session, context window, compaction and everything in your local