Changes between Version 1 and Version 2 of how-to/puppet/backups


Ignore:
Timestamp:
Jul 22, 2014, 4:31:18 PM (5 years ago)
Author:
Ross
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • how-to/puppet/backups

    v1 v2  
    66  m_backupninja::server::configure_node { "acholonu": }
    77}
     8}}}
     9
     10== specify backup time ==
     11Under most circumstances our cronjob for backups are randomly assigned to the servers.  However, in some cases it makes sense to have the backup occur at a specific time.  If you need to specify the time of backups for a server you can do that by adding `backup_start_hour => "NUMBER_BETWEEN_0_AND_23"` to the m_minimal declaration in the server's manifest. 
     12
     13 * Example from acholonu
     14{{{
     15  class { "m_minimal":                       
     16    location => "xo",                 
     17    backup_rdiff_target => "luisa.mayfirst.org",     
     18    backup_rsync_target => "banks.mayfirst.org",     
     19    backup_start_hour => "21",       
     20    caching_dns_ips => [ "209.234.253.224", "209.234.253.197" ]
     21  }   
    822}}}
    923