Closed gautam-nutalapati closed 1 year ago
Hi Gautam, script server stores history on a hard drive, so normal restarts won't delete the history. Are you using docker, and just restart a container, may be?
Gautam @.***> schrieb am Mo., 28. Nov. 2022, 22:07:
Hey Script-Server Team! For compliance and tracking purposes, it would be good to have ability to backup history. We loose the history today when script server restarts. Proposal:
- [Manual] Download option for history
- [Automated] Provide ability to access script history via scheduled job, so that users can write their own backup jobs (e.g. job that runs every X hrs and sends history file to AWs S3)
— Reply to this email directly, view it on GitHub https://github.com/bugy/script-server/issues/600, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJXPJK6AE3YUWVGS522YITWKUNKTANCNFSM6AAAAAASNYMC5A . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Thanks for quick response! yep, I am using docker, and its restarted every time we make a change to our script server contents. If it is being stored in HDD, can we run a job that transfers this file as needed? Where is this file located?
Hi @gautam-nutalapati, you can bind logs directory to a host folder. Using smth like -v /host/path/to/logs/:/app/logs
@bugy Thank you for this info!
I do see the history in the location /app/logs/processes
.
Closing this issue.
Hey Script-Server Team! For compliance and tracking purposes, it would be good to have ability to backup history. We loose the history today when script server restarts. Proposal: