Installs and configures rsnapshot server and clients
- Ubuntu
- Red Hat Enterprise Linux (CentOS/Amazon/Scientific/Oracle) 5.X, 6.X
-
cron
-
openssh
-
rsync
-
sudo
-
yum-epel (under review for RHEL systems)
-
node['authorization']['sudo']['include_sudoers_d']
must betrue
for clients.
-
default['rsnapshot']['server_role'] = "rsnapshot_server"
-
default['rsnapshot']['client_role'] = "rsnapshot_client"
-
default['rsnapshot']['client']['username'] = "rsnapshot"
-
default['rsnapshot']['client']['paths'] = []
-
default['rsnapshot']['server']['config_file'] = "/etc/rsnapshot.conf"
-
default['rsnapshot']['server']['snapshot_root'] = "/backup"
-
default['rsnapshot']['server']['keydir'] = '/etc/rsnapshot/.ssh'
-
default['rsnapshot']['server']['keyname'] = 'rsnapshot_dsa'
-
default['rsnapshot']['server']['ssh_key'] = ''
-
default['rsnapshot']['server']['intervals']['hourly'] = 2
-
default['rsnapshot']['server']['intervals']['daily'] = 7
-
default['rsnapshot']['server']['intervals']['weekly'] = 2
-
default['rsnapshot']['server']['intervals']['monthly'] = nil
-
default['rsnapshot']['server']['clients'] = {}
- Author:: Joshua Sierles [email protected]
- Author:: Holger Just [email protected]
- Author:: Ian Blenke [email protected]
- Author:: Nico Kadel-Garcia [email protected]
Copyright 2009, Joshua Sierles
Copyright 2010-2012, Holger Just
Copyright 2013-2014, Ian Blenke
Copyright 2014-2015, Nico Kadel-Garcia
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.