Skip to content

Feat : Fix backup file naming for Windows 11 compatibility (#2955)#2956

Open
Harikrishnan1367709 wants to merge 2 commits intoDokploy:canaryfrom
Harikrishnan1367709:Change-backup-file-naming-structure-#2955
Open

Feat : Fix backup file naming for Windows 11 compatibility (#2955)#2956
Harikrishnan1367709 wants to merge 2 commits intoDokploy:canaryfrom
Harikrishnan1367709:Change-backup-file-naming-structure-#2955

Conversation

@Harikrishnan1367709
Copy link
Contributor

Problem

Backup files with timestamps containing colons (:) were being truncated/renamed when downloaded on Windows 11, making them unidentifiable.

Solution

Updated backup file naming format from YYYY-MM-DDTHH:MM:SS.SSSZ to YYYY-MM-DD_HH-MM-SS_SSSZ by replacing:

  • T_ (date/time separator)
  • :- (time separators)
  • ._ (milliseconds separator)

Example

Before: 2024-01-15T14:30:45.123Z.tar
After: 2024-01-15_14-30-45_123Z.tar

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