Skip to content

pulling-strings/puppet-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intro

This module support multiple backup/storage setup including:

  • Dropbox, headless installation.
  • Copy.com, service and installation.
  • Syncthing, setup peers configuration and repository management.
  • Duply, backup jobs setup and scheduling.

Usage

Dropbox

  class{'backup::dropbox':
    headless => true
  }

Syncthing

  $repos = {
    appliances  => {
      directory => '~/appliances-1',
      ro        => false,
      nodes     => [
        'C56YYFN-U7QEMMU-2J3DVM4-RFHHNAT-FH7ATN6-VJSREZY-XKYXPOF-RSKC7QE',
      ]


    }
  }

  $nodes = {
    'C56YYFN-U7QEMMU-2J3DVM4-RFHHNAT-FH7ATN6-VJSREZY-XKYXPOF-RSKC7QE' => {name => 'foo' , address => 'foo:1234'},
  }


  class{'backup::syncthing':
    repos => $repos,
    nodes => $nodes,
    token => 'mhfu4ugmsauj6cgvsu68kvloa1gt3v'
  }

Copyright and license

Copyright [2018] [Ronen Narkis]

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.