Skip to content

Conversation

@stevenGravy
Copy link
Contributor

Updates:

  • stop the agent service before removing data dir. Removing a data dir shouldn't happen while the service is running
  • Backup the data dir in case this needed restoration.

@github-actions
Copy link

github-actions bot commented May 31, 2025

Amplify deployment status

Branch Commit Job ID Status Preview Updated (UTC)
stevenGravy/docs/linuxadditionalservice HEAD 1 ✅SUCCEED stevengravy-docs-linuxadditionalservice 2025-05-31 11:33:24

$ sudo systemctl stop teleport
```

1. Backup the agent's state directory which is `/var/lib/teleport` by default.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would make backing up the state directory a separate numbered step in this list.

Would the user execute the backup by copying the directory to a location with a different name than teleport.data_dir?

Also, when would a user want to use the backed up state directory? And should the user delete the backup after restarting the agent?

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants