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

Update update-pm2.md: suggest backup #249

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

EddiesTech
Copy link

Hi!

Not thinking, I updated PM2 using a remote terminal that runs via PM2. Therefore, when I used pm2 update it started to delete all the processes for the update, and once the web server was deleted, the update process stopped and left only 3 of my processes running. I SSHed on and the pm2.dump still had all my old processes - great! Stupidly, I ran pm2 update again, which wiped them and saved the 3 processes in pm2.dump instead.

I don't think it is unreasonable to suggest a backup may be wished before updating. But, perhaps you reckon no one can be that silly when updating, in which case you can leave it out 🤣

Many thanks
Eddie

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

Successfully merging this pull request may close these issues.

1 participant