From a24acf95e2d48dac130d037ef2a9ef05198072be Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Sat, 20 Jan 2024 12:19:33 -0800 Subject: [PATCH] Update migration.md --- migration.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/migration.md b/migration.md index 6d374e6..213559d 100644 --- a/migration.md +++ b/migration.md @@ -66,6 +66,30 @@ Backups can be automated using other tools (curl, wget, etc) by using this URL: The Manual Backup and Restore steps below must be performed on a Scrypted server that is shutdown/stopped. +::: code-group + +```sh [Docker Compose] +cd ~/.scrypted +docker compose down +``` + +```sh [Linux] +sudo systemctl stop scrypted.service +sudo rm /etc/systemd/system/scrypted.service +``` + +```sh [Mac] +launchctl unload ~/Library/LaunchAgents/app.scrypted.server.plist +rm ~/Library/LaunchAgents/app.scrypted.server.plist +``` + +```powershell [Windows] +sc.exe stop scrypted.exe +sc.exe delete scrypted.exe +``` + +::: + ### Locate Database The Scrypted database can be copied to another server by copying the `volume` directory. The `volume` path depends on your current installation host platform: