rsnapshot

from Wikipedia, the free encyclopedia
rsync
Basic data

Maintainer David Cantrell
Current  version 1.4.3
(December 4, 2019)
operating system Unix , Linux
programming language Pearl
category Backup
License GPL ( Free Software )
www.rsnapshot.org

rsnapshot ( English snapshot = snapshot ) is software for creating data backups from local or remote computers.

rsnapshot makes incremental data backups using rsync and hardlinks . This ensures that (because of rsync) only the changes are transferred, and the hard links allow a space-saving multi-level backup . The file system on the backup disk must allow hard links. Data backups from remote computers are made using rsync via ssh or via rsync server via the network , NFS is also possible.

rsnapshot runs on all common UNIX- based operating systems and is available as free software under the terms of the GPL in the source code.

functionality

rsnapshot can be configured so that it creates a certain number of hourly, daily, weekly and monthly backups, whereby the smallest interval always serves as the basis for the next largest interval. For example, an hourly backup serves as the basis for the daily and a daily one as the basis for the weekly backup.

The automation itself is via a cron - Daemon reached.

Each time the program is executed, directories based on the names of the intervals are created in the following scheme:

Daily.0
Daily.1
Daily.2
Hourly.0
Hourly.1
Hourly.2
Hourly.3
Hourly.4
Weekly.0
Weekly.1
Weekly.2
Weekly.3
...

The latest backups of the respective intervals always have the extension .0 . During execution, the current content of the .0 directory is copied to the .1 directory via a hard link. Then rsync (in mirror mode) searches for new or modified files, only they are copied to directory .0 . All files that have not been changed keep their hard link to the "higher" directory.

The data is not packed and therefore every file of every backup can be accessed directly with simple means.

Because of the hard links, a multi-level backup i. A. only about double to triple that of a single fuse. rsync allows certain files and directories (e.g. "rotating" log files, /tmpdirectory) not to be backed up.

It can be backed up to the same file system as well as to another local file system (e.g. another hard drive) or to a remote file system (on another computer) via SSH.

See also

literature

Individual evidence

  1. Releases
  2. The rsnapshot Open Source Project on Open Hub: Languages ​​Page . In: Open Hub . (accessed on July 18, 2018).
  3. Make backups with Rsnapshot from Kristian Kißling in LinuxUser , edition 08/2006