🤖

BorgBackup

Object Storage & Backups

Deduplicating backup program with compression and authenticated encryption

Deployment Info

Penyebaran: 2-5 min
kategori: Object Storage & Backups
Mendukung: 24/7

Share this guide

Overview

BorgBackup (short: Borg) is a deduplicating backup program with compression and authenticated encryption, designed to efficiently back up data daily without consuming excessive storage space. It's a powerful, space-efficient solution that's particularly well-suited for system administrators and power users who need reliable, automated backup systems.

What makes Borg exceptional is its deduplication technology. At the chunk level, Borg identifies duplicate data segments across all backups and stores them only once, dramatically reducing storage requirements. This means you can keep dozens or even hundreds of daily backups without proportionally increasing storage costs.

Borg employs strong authenticated encryption using AES-256 in counter mode with HMAC-SHA256 for authentication, ensuring that your backups are secure both in transit and at rest. This makes it ideal for storing backups on untrusted remote servers or cloud storage, where data confidentiality is paramount.

The backup process is fast and efficient, using content-defined chunking to identify and eliminate duplicate data at the block level. Borg supports compression with multiple algorithms (lz4, zstd, zlib, lzma), allowing you to balance between backup speed and storage efficiency. The backup format is designed for reliability, with checksums to detect corruption and self-healing capabilities.

BorgBackup works seamlessly with remote repositories over SSH, making it perfect for off-site backups. You can back up to a remote server, NAS, or cloud storage provider that supports SSH/SFTP. The prune command intelligently manages backup retention policies, automatically deleting old backups based on configurable rules while maintaining the deduplication benefits.

Key Features

Space-Efficient Deduplication

Content-defined chunking identifies duplicate data blocks across all backups, storing each unique chunk only once

Strong Authenticated Encryption

AES-256-CTR with HMAC-SHA256 ensures backups are secure, with client-side encryption for untrusted storage

Compression Support

Multiple compression algorithms (lz4, zstd, zlib, lzma) to optimize storage space and backup speed

Remote Backups Over SSH

Native support for backing up to remote servers, NAS devices, or cloud storage via SSH/SFTP

Efficient Incremental Backups

Only modified data chunks are transferred and stored, making daily backups fast and bandwidth-efficient

Flexible Retention Policies

Automated pruning with configurable rules (keep last N daily/weekly/monthly backups) while preserving deduplication

Gunakan Kasus

• **System Administrators**: Automated daily backups of servers with efficient long-term retention
• **Developer Workstations**: Back up development environments, databases, and code repositories
• **File Servers & NAS**: Protect shared file storage with encrypted remote backups
• **Database Backups**: Efficiently store database dumps with deduplication
• **Cloud & Remote Backups**: Secure encrypted backups to untrusted cloud storage providers

Installation Guide

**Installation on Ubuntu:**
```bash
sudo apt update
sudo apt install borgbackup -y
borg init --encryption=repokey /path/to/repo
```

Configuration Tips

**Essential Configuration:**
- Choose encryption mode (repokey, keyfile)
- Configure compression (lz4, zstd, zlib)
- Set up SSH for remote repositories
- Configure retention policies with prune
- Export and store repository keys securely

Beri Nilai Artikel Ini

-
Loading...

Siap untuk Meluncurkan Aplikasi Anda? ?

Get started in minutes with our simple VPS deployment process

Tidak perlu kartu kredit untuk pendaftaran • Implementasi dalam 2-5 menit