Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to actually persist? #2697

Closed
notakoder opened this issue Jul 28, 2024 · 2 comments
Closed

How to actually persist? #2697

notakoder opened this issue Jul 28, 2024 · 2 comments

Comments

@notakoder
Copy link

I have added the --persist to my goaccess command. However, if I stop goaccess and run it again (say with new options), I see the report only for the current day (what's available on the log).

Is there any database settings I need to perform for persistent data reporting? Or is my understanding of the --persist option totally wrong?

@0bi-w6n-K3nobi
Copy link
Contributor

0bi-w6n-K3nobi commented Sep 23, 2024

Hi @notakoder

Yeah... off course, do you need specify more options.
At manual page at here at Persistence Storage Options can read about this.
So, at first running only --persist option is ok. But for next do you need specific --restore.
And if you need save data processing at specific path (a different place from LOGs directory) use --db-path.

I hope be clean.

@notakoder
Copy link
Author

--restore does the job. Sorry I missed that in the documentation. Thank you for pointing it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants