Difference between revisions of "Rsnapshot"

From ArchWiki
Jump to: navigation, search
(Configuration)
(Configuration)
Line 58: Line 58:
 
# All snapshots will be stored under this root directory.
 
# All snapshots will be stored under this root directory.
 
#
 
#
snapshot_root  /.snapshots/
+
snapshot_root  /mnt/backups
 
}}
 
}}

Revision as of 18:44, 28 May 2013

Summary help replacing me
Instructions on using rsync.
Related
Full System Backup with rsync
Backup Programs

Rsnapshot is an open source utility that provides incremental back ups.

Installation

Install the rsnapshot package using pacman:

# pacman -S rsnapshot

Configuration

In the install process, the config file is created. It is recommended you make a back up of this file in case you need to reconfigure the file again.

# cp /etc/rsnapshot.conf /etc/rsnapshot.conf.default

The rsnapshot.conf config file is well commented, and much of it should be fairly self-explanatory. For a full reference of all the various options, please consult the rsnapshot man page. Type:

# man rsnapshot

Choose the directory where you want to store the file system back ups, in this case I will store the back ups in /mnt/backups/

/etc/rsnapshot.conf
#################################################
# rsnapshot.conf - rsnapshot configuration file #
#################################################
#                                               #
# PLEASE BE AWARE OF THE FOLLOWING RULES:       #
#                                               #
# This file requires tabs between elements      #
#                                               #
# Directories require a trailing slash:         #
#   right: /home/                               #
#   wrong: /home                                #
#                                               #
#################################################

#######################
# CONFIG FILE VERSION #
#######################

config_version  1.2

###########################
# SNAPSHOT ROOT DIRECTORY #
###########################

# All snapshots will be stored under this root directory.
#
snapshot_root   /mnt/backups