2.8 KiB
2.8 KiB
2026-05-24 Pre-Redesign Backup
This record was created before the full platform redesign that replaces the old video-recreation-first product flow.
Code Restore Point
- Branch at backup time:
main - Commit at backup time:
04a822ac7903aa249b491c68c80b3cd98d88ae85 - Remote:
ssh://git@git.kang-kang.com:22222/kangwan/20260512-skg-tk.git - Pushed tag:
backup/pre-redesign-20260524-012047
Restore tracked code to the exact pre-redesign point:
git fetch origin --tags
git reset --hard backup/pre-redesign-20260524-012047
Only run the reset when intentionally replacing the current working tree.
Local Data Snapshot
Backup directory:
.backups/pre-redesign-20260524-012047/
Snapshot contents:
api-jobs/fromapi/jobs/api-product_library/fromapi/product_library/api-character_library/fromapi/character_library/api-asset_library/fromapi/asset_library/api-prompt_library/fromapi/prompt_library/asset_library/fromasset_library/prompt_library/fromprompt_library/jobs/fromjobs/_trash/from_trash/output/fromoutput/source-04a822ac7903.tgzdirty-worktree.patch
Verification at backup time:
- Full backup size:
328M api/jobssource task directories:12api-jobsbackup task directories:12api-jobsbackup size:132Mapi-product_librarybackup size:9.6Mapi-character_librarybackup size:91M
Data Restore By Overwrite
Use ditto to copy the backed up data over the current runtime data directories:
ditto .backups/pre-redesign-20260524-012047/api-jobs api/jobs
ditto .backups/pre-redesign-20260524-012047/api-product_library api/product_library
ditto .backups/pre-redesign-20260524-012047/api-character_library api/character_library
ditto .backups/pre-redesign-20260524-012047/api-asset_library api/asset_library
ditto .backups/pre-redesign-20260524-012047/api-prompt_library api/prompt_library
ditto .backups/pre-redesign-20260524-012047/asset_library asset_library
ditto .backups/pre-redesign-20260524-012047/prompt_library prompt_library
ditto .backups/pre-redesign-20260524-012047/jobs jobs
ditto .backups/pre-redesign-20260524-012047/_trash _trash
ditto .backups/pre-redesign-20260524-012047/output output
ditto overwrites matching files but does not delete extra files that were created after the backup. If an exact replacement is required later, remove or move the target directory first, then run the matching ditto command.
Notes
.backups/is ignored by Git and remains local.- The pushed Git tag protects the source-code restore point even if the local
.backups/folder is moved. - The only dirty working-tree change at backup time was
.memory/worklog.json; its diff was saved asdirty-worktree.patch.