qmetrics.net

PHPBU

PHP command-line backup and sync utility

Backup & RecoveryDesktop/CLI app
PHPBU screenshot

PHPBU creates, compresses, encrypts, and validates backups for databases and directories, then syncs them to remote servers or cloud storage from XML or JSON config.

Overview

PHPBU is a PHP-based backup utility that orchestrates creation, protection, and distribution of backups from configuration files. It can target MySQL, PostgreSQL, MongoDB, Redis, Elasticsearch, InfluxDB, ArangoDB, LDAP, directories, and Percona XtraBackup among its source types.

After backup creation it supports compression with bzip2, gzip, xz, or zip, validation such as minimum size checks and comparison with prior runs, and encryption via mcrypt or openssl. Sync adapters push copies to Amazon S3, Azure Blob, Dropbox, FTP, Google Drive, Google Cloud Storage, OpenStack, rsync, SFTP, Softlayer, and similar destinations.

Local retention rules can delete backups older than a threshold, cap total megabytes stored, keep only the latest N copies, or apply tiered retention over time. Reporting can write text or JSON logs, send mail, expose Prometheus metrics, post to Telegram, or call webhooks. Runs support dry simulation, partial job limits, and restore guidance via CLI flags.

Distribution is primarily through a single PHAR archive, PHIVE, or Composer, requiring PHP with curl, dom, json, spl extensions plus POSIX shell, tar, and gzip or bzip2 on the host.

Key features

  • Multi-database backup sources
  • Compression and encryption
  • Cloud and remote sync targets
  • Backup validation rules
  • Local cleanup and retention
  • XML or JSON configuration
  • Reporting and monitoring hooks
  • Simulate and restore CLI modes

Use cases

  • Scheduled database backups
  • Offsite backup replication
  • Encrypted backup archives
  • Backup size monitoring
  • PHP cron backup jobs

Tags

Similar software

Rclone

Command-line sync tool for cloud storage

Rclone copies and syncs files between local disks and many cloud backends. It mirrors familiar Unix-style file operations for remote storage.

★ 61.3k⟳ todayMIT
Backup & RecoveryDesktop/CLI app

restic

Encrypted incremental backup program for files and snapshots

restic is a command-line backup tool for Linux, macOS, Windows, and BSD systems that deduplicates data, encrypts repositories, and restores only changed content

★ 37.5k⟳ 3 days agoBSD-2-Clause
Backup & RecoveryDesktop/CLI app

ArchiveBox

Self-hosted web archiving in durable readable formats

ArchiveBox captures website content into HTML, PDF, WARC, and other standard formats you control. Use a web UI, CLI, APIs, or a browser extension to build a personal or organizational archive.

★ 29.1k⟳ todayMIT
Backup & RecoverySelf-hostable

Duplicati

Encrypted incremental backups to cloud storage

Duplicati is an open-source backup client that stores encrypted, compressed, incremental backups on remote cloud storage and file servers. It runs on Windows, macOS, and Linux.

★ 15.2k⟳ todayMIT · open core
Backup & RecoveryDesktop/CLI app

Kopia

Cross-platform encrypted backup with deduplication and compression

Creates encrypted snapshots of selected files and folders, then stores them locally or on remote backends you configure. Offers both command-line and desktop interfaces on major desktop OSes.

★ 14.8k⟳ 3 days agoApache-2.0
Backup & RecoveryDesktop/CLI app

Litestream

Background SQLite WAL replication to files or cloud storage

Standalone process that streams SQLite write-ahead log changes to local paths or remote storage for incremental disaster recovery. Integrates without modifying application code.

★ 14.7k⟳ todayApache-2.0