xBit Backups
xBit on-prem deployments provide two backup options:
- On-demand backups — Manual backups triggered before updates or as needed
- Automated backups — Scheduled weekly backups handled by the backup container
Backup Locations
| Backup Type | Linux | Windows |
|---|---|---|
| On-demand | $HOME/teel_tech/backups/xbit_backups/ondemand |
C:\teel_tech\backups\xbit_backups\ondemand |
| Automated | $HOME/teel_tech/backups/xbit_backups/automated |
C:\teel_tech\backups\xbit_backups\automated |
On-Demand Backups
On-demand backups can be used for taking xBit backups prior to version updates or whenever a manual backup is needed.
This requires the xBit backup utility to be deployed.
Backup script: Download the xBit Backup Script
Linux Installation and Usage
Installation:
- Place
xbit-onprem-backup.zipin$HOME/teel_tech/backups/and extract it. - Update the
BACKUP_DIRvariable in$HOME/teel_tech/backups/xbit-onprem-backup/linux/conf/backup.conf - Default:
$HOME/teel_tech/backups/xbit_backups/ondemand
Usage:
cd $HOME/teel_tech/backups/xbit-onprem-backup/linux/bin
bash xbit_onpremise_backup.sh
Backup files will be located at
$HOME/teel_tech/backups/xbit_backups/ondemand
Windows Installation and Usage
Installation:
- Place
xbit-onprem-backup.zipinC:\teel_tech\backups\and extract it. - Update the
BACKUP_DIRvariable inC:\teel_tech\backups\xbit-onprem-backup\windows\conf\backup.conf - Default:
C:\teel_tech\backups\xbit_backups\ondemand
Usage:
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
cd C:\teel_tech\backups\xbit-onprem-backup\windows\bin
.\xbit_onpremise_backup.ps1
Backup files will be located at
C:\teel_tech\backups\xbit_backups\ondemand
Automated Backups
The xBit backup container performs automatic scheduled backups.
Schedule
- Every Sunday at 02:30 AM (server time)
| Platform | Location |
|---|---|
| Linux | $HOME/teel_tech/backups/xbit_backups/automated |
| Windows | C:\teel_tech\backups\xbit_backups\automated |
Retention policy: - Keeps 2 weeks of backups - Old backups are automatically removed - No manual cleanup required
External Backup Recommendations
On-demand and automated backup files are stored on the same host as the xBit services. We recommend transferring these backups to an external location to protect against data loss in the event of host server failures.
Consider using: - SFTP/FTP server - Network-attached storage (NAS) - Remote backup servers via rsync or similar tools