Cleanup of old Ghost versions
See original GitHub issueOpening this issue for discussion and ideas.
Currently whenever a Ghost installation is updated using the CLI, the old version is left in the versions
folder so that the user can rollback to the previous version should something go wrong. However, none of the older versions beyond that one previous version are ever cleaned up. My initial thought is that Ghost-CLI should keep 1 (maybe 2) previous releases just in case, and on update clear out anything older than that, but am curious if there’s any other use-cases for keeping more than 2 versions around that I haven’t thought about.
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
Ghost cleanup process guide - SQL Server | Microsoft Learn
Ghost records. Records that are deleted from a leaf level of an index page aren't physically removed from the page - instead, the...
Read more >Inside the Storage Engine: Ghost cleanup in depth - SQLskills
It also allows delete operations to rollback more quickly because all that needs to happen is to unmark the records as being deleted/ghosted, ......
Read more >The ghost cleanup task for SQL Server Databases
Each relational database consists of the background process and user processes.Similarly, SQL Server has many internal processes such as ...
Read more >Ghost Cleanup - sql server
I wrote two comprehensive blog posts that explain ghost cleanup (it's the only place it's explained in depth anywhere, either in print or ......
Read more >Ghost Cleanup settings - sql server 2012 - DBA Stack Exchange
I'm wondering if there's any way to change the default settings from 5 seconds and 10 pages to say every second or run...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
what we might be able to do is reduce the number of old versions we keep. right now we keep 5 but we could reduce that to 2 maybe, since we can always reinstall older versions.
Is it safe to manually delete older versions? I’ve only got the last 4 versions installed and it’s chomping through a massive 622Mb of disk space:
The size of node_modules is insane - when a new version is installed, could this not be cleaned out, and then if rolled back, it could be “npm install-ed” again?