Upgrading the Agent
Checking Your Current Version
jokowipe-agent version
# jokowipe-agent v1.1.0 (linux/amd64)
Check if a newer version is available:
jokowipe-agent version --check
# Current: v1.1.0
# Latest: v1.2.0
# Upgrade available: https://get.jokowipe.id/changelog#v1.2.0
Upgrade Methods
Automatic (Recommended)
Enable automatic upgrades in the config:
agent:
auto_upgrade:
enabled: true
channel: stable # stable, beta
check_interval: 24h # Check for updates daily
upgrade_window: # Only upgrade during this time window
start: "02:00"
end: "04:00"
timezone: "Asia/Jakarta"
The agent downloads and verifies the new binary, then performs a graceful restart.
Manual Upgrade via Install Script
# This upgrades in-place
curl -fsSL https://get.jokowipe.id/install.sh | bash
Manual Upgrade (apt)
sudo apt-get update
sudo apt-get install --only-upgrade jokowipe-agent
sudo systemctl restart jokowipe-agent
Manual Upgrade (rpm)
sudo yum update jokowipe-agent
sudo systemctl restart jokowipe-agent
Manual Upgrade (Binary)
# Download new binary
curl -fsSL https://packages.jokowipe.id/releases/v1.2.0/jokowipe-agent-linux-amd64 \
-o jokowipe-agent-new
# Verify signature
curl -fsSL https://packages.jokowipe.id/releases/v1.2.0/jokowipe-agent-linux-amd64.sha256 \
-o jokowipe-agent-new.sha256
sha256sum -c jokowipe-agent-new.sha256
# Make executable and replace
chmod +x jokowipe-agent-new
sudo mv jokowipe-agent-new /usr/local/bin/jokowipe-agent
# Restart the service
sudo systemctl restart jokowipe-agent
Zero-Downtime Upgrade
The agent supports graceful shutdown — it completes any in-progress backup jobs before stopping. When upgrading:
- The installer signals the running agent to stop
- The agent completes the current job (if any)
- The agent exits cleanly
- The new version starts
- Jobs scheduled during the downtime are dispatched immediately
For multiple agents, upgrade them one at a time to ensure continuous backup coverage.
Rollback
If you need to roll back to a previous version:
# List installed versions (if using apt)
apt-cache showpkg jokowipe-agent | grep "1\."
# Install a specific version
sudo apt-get install jokowipe-agent=1.1.0
sudo systemctl restart jokowipe-agent
Or download a specific binary:
curl -fsSL https://packages.jokowipe.id/releases/v1.1.0/jokowipe-agent-linux-amd64 \
-o /usr/local/bin/jokowipe-agent
chmod +x /usr/local/bin/jokowipe-agent
sudo systemctl restart jokowipe-agent
Changelog
See the full release notes at docs.jokowipe.id/docs/reference/changelog or GitHub Releases.
Version Compatibility
| Agent Version | API Version | Supported Until |
|---|---|---|
| v1.2.x | v1 | Current |
| v1.1.x | v1 | 2024-12-31 |
| v1.0.x | v1 | 2024-06-30 |
| v0.x.x | v0 | EOL |
Keep Your Agent Updated
Running an outdated agent may result in missing features or broken compatibility with the API. We recommend enabling automatic upgrades or upgrading monthly.