Difference between revisions of "Rsnapshot"

From ArchWiki
Jump to: navigation, search
(Configuration)
(Configuration)
Line 32: Line 32:
  
 
{{hc|/etc/rsnapshot.conf|
 
{{hc|/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.
 
# All snapshots will be stored under this root directory.
 
#
 
#
 
snapshot_root  /mnt/backups
 
snapshot_root  /mnt/backups
 
}}
 
}}

Revision as of 18:46, 28 May 2013

Template:Article summary start Template:Article summary text Template:Article summary heading Template:Article summary wiki Template:Article summary wiki Template:Article summary end

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
# All snapshots will be stored under this root directory.
#
snapshot_root   /mnt/backups