1.8.0
- Upgrade everything together. Servers, clients, and SDKs at 1.8.0 work only with each other and do not read a 1.6.0 server's data directory or bucket checkpoint, so set up 1.8.0 on a new server and join machines to it again.
- Run behind your firewall.
server run --url URL, as the container imageghcr.io/litebackup/serverruns it, works without internet access: it never contacts litebackup.com, sits behind your own proxy, signs people in with email and password, and runs under a license file you import (guide). - Licenses that end never stop backups. After a license's end date and a 14-day grace period, the server refuses only new databases; the console, the log, and
litebackup admincommands warn from 30 days before, except on a plan that renews, which warns only once its end date passes. - No machine limit. Plans limit only databases.
- License commands.
admin license showandserver license showprint the license and the plan's use,license importimports a license file, andserver reset-passwordsets a user's password on the server's host. - Changed. A server given
--urlwith no license yet answers client syncs and joins with 503license_required; clients wait and try again. - Changed. Retention policy settings are named for the versions they hold: the flags
--keep-all,--keep-hourly,--keep-daily, and--keep-monthlyofserver runand thepolicycommands are--every-version,--hourly-versions,--daily-versions, and--monthly-versions, and the API fieldskeep_all_millis,keep_hourly_millis,keep_daily_millis,keep_monthly_millis, andeffective_keep_all_millisareevery_version_millis,hourly_versions_millis,daily_versions_millis,monthly_versions_millis, andeffective_every_version_millis.
1.6.0
- Upgrade everything together. Servers, clients, and SDKs at 1.6.0 work only with each other and do not read a 1.5.0 server's data directory, so set up 1.6.0 on a new server and join machines to it again.
- Monitoring page. Admins see the server's throughput, requests, errors, replication and archive lag, and host load on the new Monitoring page in the console, with rates per minute, and the alerts its thresholds fired.
- Databases page. Folders show a
..row and breadcrumbs from All databases, and admins see totals for the whole server and a chart of total databases at the top. - Changed. A measure past its threshold now fires an alert, firing until the measure is back; the Monitoring page lists recent alerts.
- Changed. The failover event
refusedisdenied: listen fordeniedin TypeScript, and passOnDeniedin Go,on_deniedin Python and Ruby, andonDeniedin PHP; Rust'sFailoverNotice::RefusedisFailoverNotice::Denied. - Changed. The server counts requests answered with HTTP 429 and supports alerting on that count.
1.5.0
- Upgrade everything together. Servers, clients, and SDKs at 1.5.0 work only with each other and do not read a 1.4.0 server's data directory or bucket, so set up 1.5.0 on a new server with a new bucket and join machines to it again.
- Deleted databases free server disk.
admin database deletefrees the server's disk once the bucket holds the latest version, andadmin database undeletebrings the database back from the bucket until its purge date. - Delete and purge many databases.
admin database deleteandadmin database purgetake--idfor one exact database and--prefixfor every database under a prefix, which they show and ask about first unless you pass--yes. - Changed.
restoreandadmin database purgewait and try again when the server asks them to, and a server that is limiting requests now reportsrate_limited. - Changed. A restore of a damaged version reports
integrityand points to an earlier version. - Changed. A conflict suggests restoring the server's copy to a new file and comparing before
acquire --discard-local. - Changed.
statusshows how long each database has been syncing, retrying, or pending, andadmin statusshows the disk deleted databases still hold. - Changed. API and SDK fields are named for what they hold:
last_erroriserror,last_error_timeisfailed,first_unsynced_change_timeissyncing,acquired_timeislock_acquired, an API key'slast_twoandlast_usedareendingandused, and a drain'sfailedandreleasedarefailuresandreleased_count. - Changed.
--prefixaccepts a trailing/.
1.4.0
- Changed. The server sizes its memory use to its machine and keeps fewer databases open on small ones;
--maximum-open-copiesandGOMEMLIMITstill override it. - Fixed. Databases stay in sync when the server restarts during an upload.
- Fixed. Backups keep syncing when many databases change at once.
- Fixed. Uploads recover from dropped connections.
1.3.0
- Charts in the console. The Databases page charts syncs, uploads, unarchived versions, bucket and replica lag, free disk, CPU, memory, and pressure over 1 hour to 30 days; a database's page charts its versions and size.
- Load thresholds. The server checks CPU, memory, pressure, free disk, late archives, replica lag, refused requests, and integrity errors against thresholds admins edit on the Settings page, and the Databases page lists open and recent breaches, kept a year.
- New metrics.
litebackup_syncs_total,litebackup_archive_bytes_total,litebackup_databases,litebackup_unarchived_versions,litebackup_late_archive_databases,litebackup_replica_lag_seconds,litebackup_cpu_usage_ratio,litebackup_memory_usage_ratio,litebackup_pressure_some_ratio, andlitebackup_pressure_full_ratio. - Replica lag. A database's page shows its bucket lag and each replica's version, lag, and last poll.
- Ruby, PHP, and Rust SDKs.
gem install litebackup,composer require litebackup/sdk, andcargo add litebackup. - Changed. A database reads as backed up once the server holds its latest version; the bucket copy shows as a separate step, current, scheduled, or late.
- Changed. The slot pool gauge is
litebackup_pool_reserved_slots; dashboards that read its old name need the new one.
1.2.0
- Rate limits are per user. A user's keys and machines share one limit.
- New command.
litebackup admin user set-limitssets a user's limit. - Changed. Rate settings on a user's own keys no longer apply.
- Unchanged. Keys the server owns and their machines keep their own limits.
1.1.0
- First release.