Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the new features of rdiff-backup 2.0

2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

In this issue, the editor will bring you about the new features of rdiff-backup 2.0. the article is rich in content and analyzes and narrates it from a professional point of view. I hope you can get something after reading this article.

In March 2020, rdiff-backup was upgraded to version 2.0, 11 years after the last major version. The abandonment of Python 2 in early 2020 was the driving force behind this update, but it provided an opportunity for the development team to integrate other features and advantages.

For about two decades, rdiff-backup has helped Linux users maintain full backups of their data locally or remotely without needlessly consuming resources. This is because this open source solution can perform reverse incremental backups, backing up only files that have been changed from the previous backup.

This revision (or rebirth) is thanks to the efforts of a new, self-organizing development team (led by Eric Zolf and Patrik Dufresne from IKUS Software and Otto Kek ä l ä inen from Seravo) who work together for the benefit of all rdiff-backup users.

New features of rdiff-backup

Under the leadership of Eric, with the migration to Python 3, the project was moved to a new, enterprise-free warehouse to welcome contributions. The team has also integrated all patches submitted over the years, including support for sparse files and fixes for hard links.

Realizing Automation with Travis CI

Another big improvement is the addition of a continuous integration / continuous delivery (CI/CD) pipeline using open source Travis CI. This allows rdiff-backup to be tested in a variety of environments to ensure that changes do not affect the stability of the solution. The CI/CD pipeline includes builds and binary releases that integrate all major platforms.

Easy installation using yum and apt

The new rdiff-backup solution can run on all major Linux distributions, including Fedora, Red Hat, Elementary, Debian, and so on. Frank and Otto have made painstaking efforts to provide open repositories for easy access and installation. You can install rdiff-backup using your package manager or follow the step-by-step instructions on the GitHub project page.

New home page

The team moved the site from Savannah to GitHub Pages and revamped the rdiff-backup.net website to add new content to make it look and feel better.

How to use rdiff-backup

If you are new to rdiff-backup, you may be surprised at its ease of use. Backup programs should make you comfortable with the backup and recovery process, not scary.

Start backup

To start backing up to a local drive, such as a USB-connected drive, enter the rdiff-backup command, and then enter the drive you want to back up and the destination directory where you want to store the files.

For example, to back up to a local drive named my_backup_drive, enter:

$rdiff-backup / home/tux/ / run/media/tux/my_backup_drive/

To back up data to remote storage, use the location of the remote server and point to the mount point of the backup drive after::

$rdiff-backup / home/tux/ tux@example.com::/my_backup_drive/

You may need to set the SSH key to make the process easier.

Restore a file

The reason for making backups is that sometimes files are lost. To make recovery as simple as possible, you don't even need rdiff-backup to recover files (although using the rdiff-backup command provides some convenience).

If you need to get a file from the backup drive, you can use cp to copy it from the backup drive to the local system, or use the scp command for the remote drive.

For local drives, use:

$cp _ run_media/tux/my_backup_drive/Documents/example.txt ~ / Documents

Or for remote drives:

$scp tux@example.com::/my_backup_drive/Documents/example.txt ~ / Documents

However, using the rdiff-backup command provides other options, including-- restore-as-of. This allows you to specify which version of the file you want to restore.

For example, suppose you want to restore the version of a file that was four days ago:

$rdiff-backup-restore-as-of 4D / run/media/tux/foo.txt ~ / foo_4D.txt

You can also use rdiff-backup to get the latest version:

$rdiff-backup-- restore-as-of now / run/media/tux/foo.txt ~ / foo_ 4D.txt`

It's that simple. In addition, rdiff-backup has many other options, for example, you can exclude files from the list, back up from one remote to another, and so on.

These are the new features of rdiff-backup 2.0 shared by the editor. If you happen to have similar doubts, please refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

  • How does Linux CentOS 7 install and configure the DHCP service?

    1. Configure DHCP server 1, install DHCP server software [root@centos01 ~] # mount / dev/cdrom / mnt/

    © 2024 shulou.com SLNews company. All rights reserved.

    12
    Report