Changes

Jump to: navigation, search

stoney backup: Server set-up

218 bytes added, 12:21, 12 June 2014
/* snapshot.pl */
*** Account UID: 4000000
*** Interval: daily
*** Resulting rsnapshot command: /usr/bin/nice -n 19 /usr/bin/rsnapshot -c /etc/rsnapshot/rsnapshot.conf.4000000 daily (if you use the [[#snapshot.pl_Configuration | configuration]] below)
* Execute all these commands
** Use controlled parallel execution, you can specify how many commands can be executed in parallel (see [[#snapshot.pl_Configuration | configuration]] below)  === Configuration ===There are two things to do in this step: * Configure the rsnapshot root directory* Configure the snapshot.pl script itself ==== rsnaphot configuration directory ====
The users individual rsnapshot configurations are stored under <code>/etc/rsnapshot</code>. Please make sure, that the directory exists:
ls -al /etc | grep rsnapshot
chmod 700 /etc/rsnapshot
==== snapshot.pl Configuration ====
The snapshot.pl script is responsible for the execution of rsnapshot according to the users settings.
/etc/backup-utils/snapshot.conf
</pre>
Legend:At runtime the following placeholders are replaced as follows
* '''%uid%''': The backup account and login uid as a numeric number. For example: 4000205.
* '''%interval%''': The backup level to be executed. Possible values are hourly, daily, weekly, monthly and yearly.
486
edits