Using Borg Backup for your backups

Procédure

Introduction

Borg Backup is a deduplicated backup program that provides data compression and authenticated encryption. It is designed to provide an efficient and secure way of backing up data, with a deduplication technique that makes it suitable for everyday backups.

Requirements

  • A Linux/Unix operating system.
  • Python 3.8.0 or higher.
  • Administrator rights on the machine where the backup will be performed.

Installation

Via the package manager

# On Debian/Ubuntu apt install borgbackup # On Fedora dnf install borgbackup # On Arch Linux pacman -S borg

For other distributions, please consult the official Borg documentation for specific commands.

Standalone installation

Download the binary compatible with your system from the Borg GitHub releases page and follow the instructions to make it executable.

From source

  1. Install the necessary dependencies such as Python, OpenSSL and development headers.
  2. Use pip to install Borg Backup.

Initial configuration

Initialise your backup repository with the following command:

borg init -e repokey /path/to/depot

Creating backups

Create a backup archive by running :

borg create /path/vers/depot::ArchiveName /path/vers/data

Restore

To restore from a backup archive :

borg extract /path/to/depot::ArchiveName

Automating backups

Use cron or systemd to schedule your backups regularly.

Maintenance

Clean up old backups with the borg prune command and check the integrity of archives with borg check.

Conclusion

For detailed instructions and to resolve common problems, please consult the official Borg Backup documentation and FAQ.

Rate this article :

This article was useful to you ?

Article utileYes

Article non utileNo

Vous souhaitez nous laisser un commentaire concernant cet article ?

Si cela concerne une erreur dans la documentation ou un manque d'informations, n'hésitez pas à nous en faire part depuis le formulaire.

Pour toute question non liée à cette documentation ou problème technique sur l'un de vos services, contactez le support commercial ou le support technique

MerciMerci ! N'hésitez pas à poser des questions sur nos documentations si vous souhaitez plus d'informations et nous aider à les améliorer.


Vous avez noté 0 étoile(s)

Similar articles

0mn reading

Backing up your PC with Cobian Backup

0mn reading

Windows mount point

2mn reading

Using the Duplicity restoration utility


Ask the LWS team and its community a question