Changes

stoney backup: Server set-up

1,012 bytes added, 07:14, 31 August 2013
/* Snapshot Tool */
# There is '''no need for quota file(s)''' in the root of the XFS filesystem.
== Snapshot Tool Snapshots ==We use rsnapshot - remote filesystem snapshot utilityfor the actual snapshots and a handful of wrapper scripts, that do things like:* Read the users and their settings from the LDAP directory.* Execute rsnapshot according to the users settings.* Write the backup quotas backup (incoming), iterations (.snapshots) and free space to the users local backupSize file and update the LDAP directory.* Inform the reseller, customer or user (depending on the settings in the LDAP directory) via mail, if the quota limit has been reached.* Depending on the users settings in the LDAP directory, warning mail will be sent to the reseller, customer or user, if a backup was not executed on time.
=== Configuration File Directory rsnaphot configuration directory ===Make sure, that the The users individual rsnapshot configurations are stored under <code>/etc/rsnapshot</code> configuration file . 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. vi /var/worketc/backup-util/etcutils/snapshot.conf
<pre>
[General]
Host = ldaps://ldapm.tombstone.ch
Port = 636
User = cn=Manager,dc=fossstoney-cloud,dc=org
Password = <Password>
CA_Path = /etc/ssl/certs
Accounts_Base = ou=accounts,ou=backup,ou=services,dc=fossstoney-cloud,dc=org
</pre>
 
Legend:
* '''%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.
=== Cronjobs ===
SLB, editor, reviewer
3,391
edits