Backup System Files
To backup B2Win Suite system you need to go to B2Win Suite home directory (for example: c:\B2Win) and copy the following folders.
Folders to Backup
data
Contains all the data that was used in the system:
| Subfolder | Description | Backup Required |
|---|---|---|
db | The database files | Yes |
storage | All the files that were generated/saved in the database or used in the system | Yes |
thumbnails | The temporary thumbnails that were generated | Optional - can be regenerated on the fly when the system detects a missing thumbnail |
tmp | Temporary folder | No - can be excluded from backup |
conf
The configuration files. Backup this folder if you changed anything.
logs
If you wish to save the old logs you had.
Backup Procedure
-
Stop the Server (recommended): For consistent backups, stop the B2Win Suite server before backing up.
-
Create Archive: Zip these folders and save them in a safe storage location.
Example folder structure to backup:
c:\B2Win\
├── data\
│ ├── db\ ← Required
│ ├── storage\ ← Required
│ ├── thumbnails\ ← Optional
│ └── tmp\ ← Skip
├── conf\ ← If modified
└── logs\ ← Optional -
Store Safely: Save the backup archive in a secure location (external drive, cloud storage, etc.)
Restore Procedure
Using these files you can restore the same data you had before:
- Stop the B2Win Suite server
- Extract the backup archive to the B2Win Suite home directory
- Start the B2Win Suite server
- Verify the restoration by logging in and checking data
Best Practices
-
Regular Backups: Schedule regular backups (daily or weekly depending on usage).
-
Test Restores: Periodically test your backup restoration process.
-
Multiple Copies: Keep multiple backup copies in different locations.
-
Document Process: Document your backup and restore procedures.
-
Monitor Space: Ensure backup storage has sufficient space.