GithubHelp home page GithubHelp logo

soxft / busuanzi Goto Github PK

View Code? Open in Web Editor NEW
145.0 1.0 21.0 371 KB

A simple website statistics analyzer

Home Page: https://busuanzi.9420.ltd

License: Apache License 2.0

Go 89.03% Dockerfile 7.64% Shell 3.33%
analyzer busuanzi golang hexo hugo statistics busuanzi-statistics

busuanzi's Introduction

Hi there 👋

I'm xcsoft, A Full Stack Developer. I have development experience in back-end, web, Flutter mobile software, WeChat applet, etc.

busuanzi's People

Contributors

dependabot[bot] avatar l1h0n9jun avatar soxft avatar zzzhangqi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

busuanzi's Issues

Data Backup

Thanks for the great contribution. I just have one quick question.
Does this app use database? (It does not seem so to me)
If the Redis service is broken somehow on the server, we will lose data, right?

更换服务器后的数据转移

我是使用docker-compose部署,我尝试了下面的方式进行数据转移,但是都失败了

  1. 在新服务器中部署成功后,关闭容器,然后将data目录所有文件都覆盖掉原文件。
  2. 在新服务器中部署成功后,关闭容器,然后将数据库目录所有文件都覆盖掉原文件。
  3. 先拷贝数据目录,然后再进行docker-composed部署操作

最后我发现每次我启动容器后,busuanzi服务都会重置所有数据,暂停后数据库数据从20mb->30kb

image

Redis日志:

1:C 22 Apr 2024 07:19:08.694 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
1:C 22 Apr 2024 07:19:08.694 * Redis version=7.2.4, bits=64, commit=00000000, modified=0, pid=1, just started
1:C 22 Apr 2024 07:19:08.694 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
1:M 22 Apr 2024 07:19:08.695 * monotonic clock: POSIX clock_gettime
1:M 22 Apr 2024 07:19:08.696 * Running mode=standalone, port=6379.
1:M 22 Apr 2024 07:19:08.700 * Server initialized
1:M 22 Apr 2024 07:19:08.700 * Loading RDB produced by version 7.0.12
1:M 22 Apr 2024 07:19:08.700 * RDB age 783630 seconds
1:M 22 Apr 2024 07:19:08.700 * RDB memory usage when created 44.37 Mb
1:M 22 Apr 2024 07:19:09.167 * Done loading RDB, keys loaded: 222, keys expired: 1370.
1:M 22 Apr 2024 07:19:09.167 * DB loaded from disk: 0.467 seconds
1:M 22 Apr 2024 07:19:09.167 * Ready to accept connections tcp
1:signal-handler (1713770394) Received SIGTERM scheduling shutdown...
1:M 22 Apr 2024 07:19:54.673 * User requested shutdown...
1:M 22 Apr 2024 07:19:54.673 * Saving the final RDB snapshot before exiting.
1:M 22 Apr 2024 07:19:54.681 * DB saved on disk
1:M 22 Apr 2024 07:19:54.681 # Redis is now ready to exit, bye bye...

期望能够帮帮我,非常感谢

修改数据

您好,尊敬的开发者,我使用您提供的busuanzi并用docker方式部署,最终成功,但是我想将我之前的数据转过来,请问怎么转呀?redis我用的不是很熟练,我尝试使用您提到的管理页面,但是我并没有看到管理页面的使用方法,请问可以出一个大概的教程吗?如果不麻烦的话

太酷啦

太酷啦太酷啦太酷啦太酷啦太酷啦太酷啦太酷啦太酷啦太酷啦太酷啦太酷啦太酷啦太酷啦太酷啦太酷啦太酷啦太酷啦太酷啦太酷啦太酷啦太酷啦太酷啦太酷啦太酷啦太酷啦太酷啦太酷啦太酷啦太酷啦太酷啦太酷啦太酷啦太酷啦太酷啦太酷啦太酷啦太酷啦太酷啦太酷啦太酷啦太酷啦

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.