Back Up
A Back Up is a copy of the files required to Restore GRiMbot on the same kind of packaged install. Copy those files while GRiMbot is stopped when you can. If you must copy while it is running, copy data/grimbot.db twice and keep both timestamps.
What to copy
Copy the whole set. A partial copy is not a verified Back Up.
| Item | Required |
|---|---|
.env |
Yes |
data/grimbot.db |
Yes for SQLite packaged installs |
data/media-clips/ |
Yes if you use Media Library |
data/ plugin and game JSON |
Yes if you use plugins or Chat Games |
| Plugin zip originals | Recommended. Runtime copies live under data/plugins/installed/ |
Do not copy runtime/ from a packaged Core unless you are cloning the entire install. The database and .env are the recovery core.
Procedure
- Note the GRiMbot version from About or the package name.
- Stop GRiMbot if the operator can take a short outage.
- Copy
.envand the entiredata/directory to offline storage you control. - Confirm the copy sizes match the source.
- Store the copy away from the install disk.
- Record the date and GRiMbot version with the copy.
SECURITY
Encrypt the Back Up if it leaves the host. Anyone with
.envand the database can impersonate the bot.
Verification
A Back Up is verified only after a Restore test on a spare folder or spare machine. File copy success is not Restore success.