Backup n restore documentation for windows needs small updates #3048

Closed
opened 2026-02-05 07:33:25 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @amgschnappi on GitHub (May 2, 2024).

The bug

sleep & gc

The OS that Immich Server is running on

Windows 10 with wsl2

Version of Immich Server

Latest

Version of Immich Mobile App

Latest

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

Default

Your .env content

Default

Reproduction steps

1. go to https://immich.app/docs/administration/backup-and-restore/
2. go to "Windows system based backup"

Issue : Docu says "sleep 10" . But
C:\Users\Username\Pictures\Immich>sleep 10
'sleep' is not recognized as an internal or external command,
operable program or batch file.

Issue : Docu says "gc". But
gc "C:\path\to\backup\dump.sql"gc "C:\path\to\backup\dump.sql"
'gc' is not recognized as an internal or external command,
operable program or batch file.

Relevant log output

No response

Additional information

Use timeout /t 9 instead of sleep 9
Use type dump.sql | docker exec instead of "gc dump.sql | docker exec"

Originally created by @amgschnappi on GitHub (May 2, 2024). ### The bug sleep & gc ### The OS that Immich Server is running on Windows 10 with wsl2 ### Version of Immich Server Latest ### Version of Immich Mobile App Latest ### Platform with the issue - [X] Server - [ ] Web - [ ] Mobile ### Your docker-compose.yml content ```YAML Default ``` ### Your .env content ```Shell Default ``` ### Reproduction steps ```bash 1. go to https://immich.app/docs/administration/backup-and-restore/ 2. go to "Windows system based backup" Issue : Docu says "sleep 10" . But C:\Users\Username\Pictures\Immich>sleep 10 'sleep' is not recognized as an internal or external command, operable program or batch file. Issue : Docu says "gc". But gc "C:\path\to\backup\dump.sql"gc "C:\path\to\backup\dump.sql" 'gc' is not recognized as an internal or external command, operable program or batch file. ``` ### Relevant log output _No response_ ### Additional information Use timeout /t 9 instead of sleep 9 Use type dump.sql | docker exec instead of "gc dump.sql | docker exec"
OVERLORD added the documentation label 2026-02-05 07:33:25 +03:00
Author
Owner

@mmomjian commented on GitHub (May 2, 2024):

I’m pretty sure the commands are for power shell. Are you using legacy cmd?

@mmomjian commented on GitHub (May 2, 2024): I’m pretty sure the commands are for power shell. Are you using legacy cmd?
Author
Owner

@amgschnappi commented on GitHub (May 3, 2024):

I’m pretty sure the commands are for power shell. Are you using legacy cmd?

Yes. Legacy cmd.

@amgschnappi commented on GitHub (May 3, 2024): > I’m pretty sure the commands are for power shell. Are you using legacy cmd? Yes. Legacy cmd.
Author
Owner

@mmomjian commented on GitHub (May 4, 2024):

Got it. Please use power shell as that is what it is designed for. We can add a note to the page covering this.

@mmomjian commented on GitHub (May 4, 2024): Got it. Please use power shell as that is what it is designed for. We can add a note to the page covering this.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#3048