-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSTART_HERE.txt
More file actions
228 lines (161 loc) · 12.6 KB
/
START_HERE.txt
File metadata and controls
228 lines (161 loc) · 12.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
╔══════════════════════════════════════════════════════════════════════════════╗
║ ║
║ COMFYUI ELECTRON BACKUP SYSTEM ║
║ ║
║ 🚀 START HERE 🚀 ║
║ ║
╚══════════════════════════════════════════════════════════════════════════════╝
Welcome! This backup system protects your ComfyUI Electron installation with:
✓ Automated scheduled backups
✓ Version control (Git) or simple archives (ZIP)
✓ Easy restore and rollback
✓ Start menu integration
╔══════════════════════════════════════════════════════════════════════════════╗
║ FIRST TIME? DO THIS: ║
╚══════════════════════════════════════════════════════════════════════════════╝
1. RIGHT-CLICK: RunBackup.bat → Run as Administrator ⚠️
2. Choose option: 5 (Install/Setup)
3. Select backup type: Git (option 1) or Archive (option 2)
4. Enter time in HH:mm format: Example: 02:00 (must include colon!)
5. Done! You now have automatic daily backups.
⚠️ IMPORTANT: Admin privileges required for scheduled task creation!
╔══════════════════════════════════════════════════════════════════════════════╗
║ QUICK ACTIONS ║
╚══════════════════════════════════════════════════════════════════════════════╝
📦 CREATE BACKUP NOW
→ Double-click: RunBackup.bat → Option 1
🔄 UNDO TO PREVIOUS BACKUP
→ Double-click: QuickRestore.bat → Option 3
📋 SEE ALL BACKUPS
→ Double-click: RunBackup.bat → Option 3
🔧 RESTORE SPECIFIC BACKUP
→ Double-click: QuickRestore.bat → Option 1 or 2
╔══════════════════════════════════════════════════════════════════════════════╗
║ FILES IN THIS FOLDER ║
╚══════════════════════════════════════════════════════════════════════════════╝
📄 START_HERE.txt ......... This file - quick start guide
📄 USAGE.txt .............. Complete usage instructions
📄 SCENARIOS.txt .......... Step-by-step guides for common scenarios
📄 README.md .............. Full documentation
🔧 RunBackup.bat .......... Main launcher (double-click this!)
🔧 QuickRestore.bat ....... Quick restore helper
🔧 ComfyUI-Backup.ps1 ..... PowerShell script (the actual program)
📁 Backups\ ............... Your backups are stored here
📁 Logs\ .................. Operation logs
╔══════════════════════════════════════════════════════════════════════════════╗
║ TYPICAL WORKFLOW ║
╚══════════════════════════════════════════════════════════════════════════════╝
Day 1: Setup
────────────
Run: RunBackup.bat → Option 5
Result: Daily automatic backups at 2 AM
Before Update/Plugin:
─────────────────────
Run: RunBackup.bat → Option 1
Result: Manual backup created
If Something Breaks:
────────────────────
Run: QuickRestore.bat → Option 3
Result: Reverted to last working backup
Weekly Check:
─────────────
Run: RunBackup.bat → Option 3
Result: Verify backups are being created
╔══════════════════════════════════════════════════════════════════════════════╗
║ TWO BACKUP TYPES - WHICH TO CHOOSE? ║
╚══════════════════════════════════════════════════════════════════════════════╝
GIT BACKUP (Recommended)
────────────────────────
✓ Uses Git version control
✓ Space efficient - only stores changes
✓ Unlimited restore points
✓ View full history
✗ Requires Git for Windows installed
ARCHIVE BACKUP (Simple)
───────────────────────
✓ Simple ZIP files
✓ No dependencies
✓ Easy to understand
✗ Uses more disk space
✗ Limited history (14 days)
DON'T HAVE GIT?
Download: https://git-scm.com/download/win
Or just use Archive backup - it works great!
╔══════════════════════════════════════════════════════════════════════════════╗
║ WHAT GETS BACKED UP? ║
╚══════════════════════════════════════════════════════════════════════════════╝
Location: %LOCALAPPDATA%\Programs\@comfyorgcomfyui-electron
This includes:
• ComfyUI installation
• Your custom nodes
• Configuration files
• Models and checkpoints
• Workflows
• Everything in that folder!
╔══════════════════════════════════════════════════════════════════════════════╗
║ COMMON QUESTIONS ║
╚══════════════════════════════════════════════════════════════════════════════╝
Q: How much space do backups use?
A: Git: Small (incremental), Archive: Full copy each time (~5-50 GB depending)
Q: How many backups are kept?
A: Git: Last 30 commits, Archive: Last 14 days
Q: Can I restore to a different computer?
A: Yes! Copy the Backups folder and restore from it.
Q: Are backups automatic?
A: After running Install (Option 5), yes - daily at chosen time.
Q: Can I run backups manually too?
A: Yes! Anytime via RunBackup.bat
Q: What if restore fails?
A: A safety backup is always created in %TEMP% first.
Q: How do I know backups are working?
A: Check Logs folder or run: RunBackup.bat → Option 3
Q: Where is the Start Menu shortcut?
A: Search Start Menu for "ComfyUI Backup" - it's for MANUAL backups only.
Automatic backups run via Windows Task Scheduler, NOT on startup.
Q: Does it run at Windows startup?
A: No - backups run at your scheduled time (e.g., 2 AM) via Task Scheduler.
The Start Menu shortcut is only for running manual backups.
╔══════════════════════════════════════════════════════════════════════════════╗
║ NEED HELP? ║
╚══════════════════════════════════════════════════════════════════════════════╝
📖 Read USAGE.txt for complete instructions
📖 Read SCENARIOS.txt for step-by-step guides
📖 Check Logs\ folder for error messages
📖 Read README.md for technical details
╔══════════════════════════════════════════════════════════════════════════════╗
║ TROUBLESHOOTING ║
╚══════════════════════════════════════════════════════════════════════════════╝
"Script execution is disabled"
────────────────────────────────
Fix: Open PowerShell as Admin, run:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
"Git not found"
───────────────
Fix 1: Install Git for Windows: https://git-scm.com/download/win
Fix 2: Use Archive backup instead (no Git needed)
"Access denied"
───────────────
Fix: Right-click PowerShell → Run as Administrator
"Source path does not exist"
────────────────────────────
Fix: Verify ComfyUI is installed at:
%LOCALAPPDATA%\Programs\@comfyorgcomfyui-electron
╔══════════════════════════════════════════════════════════════════════════════╗
║ RECOMMENDED SETUP ║
╚══════════════════════════════════════════════════════════════════════════════╝
1. Run Install (RunBackup.bat → Option 5)
2. Choose Git backup (if you have Git) or Archive
3. Set time to 2:00 AM
4. Done!
Now you have:
✓ Daily automatic backups
✓ Start Menu shortcut
✓ Protection against accidents
╔══════════════════════════════════════════════════════════════════════════════╗
║ READY TO BEGIN? ║
╚══════════════════════════════════════════════════════════════════════════════╝
Double-click: RunBackup.bat
Choose option 5 for first-time setup!
═══════════════════════════════════════════════════════════════════════════════
Your ComfyUI installation is about to be much safer! 🎉
═══════════════════════════════════════════════════════════════════════════════