From ArchWiki
Revision as of 18:46, 28 May 2013 by Mann138 (talk | contribs) (Configuration)
Jump to: navigation, search

zh-CN:Rsnapshot 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.


Install the rsnapshot package using pacman:

# pacman -S rsnapshot


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/

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