← Back to all services
Backup

BorgBackup Deduplicating Backup Configuration

borgbackup systemctl: N/A (command-line tool)

Deduplicating backup with compression and encryption. Space-efficient incremental backups.

🔌 Default Port

22
tcp
SSH (for remote repos)

📦 Installation Command

apt install borgbackup

⚙️ Configuration Files

  • ~/.config/borg/
  • Repo config within repo

📂 Default Directories

  • config: Per-repo
  • data: User-defined repo location
  • logs: User-defined
  • cache: ~/.cache/borg

🔐 Default Credentials

Username:N/A
Password:Repository passphrase (set at init)
💡 Set BORG_PASSPHRASE env var or use key file. Passphrase required for encrypted repos.

⚠️ Conflicts

N/A Port: N/A

✅ Works With

borgmatic (wrapper)sshrclone (for cloud)

🛡️ Security Notes

Always use encryption, store passphrase securely, test restores regularly, use append-only mode for ransomware protection

❓ Frequently Asked Questions

What port does BorgBackup use?
BorgBackup uses SSH (port 22) for remote backups. No dedicated port.
What is BorgBackup deduplication?
Borg identifies duplicate data across backups, storing it only once to save space.
How to create Borg repository?
Run: borg init --encryption=repokey /path/to/repo