Giter Club home page Giter Club logo

rsnapshot's Introduction

rsnapshot installation and configuration for CentOS

with interactive host adding/removing Python script ;)

Please, download all files before executing any script. There are several dependencies between them. You can use:

wget https://github.com/simplyjarod/rsnapshot/archive/master.zip
unzip master.zip
cd rsnapshot-master
chmod u+x *.sh -R && chmod u+x *.py -R

Initial setup

1. Debemos crear/obtener las claves RSA en el servidor
Necesitamos la clave pública del servidor donde se vayan a almacenar los backups.
Para ello:

ssh-keygen -t rsa
#(dejaremos el lugar donde se almacenen con la opción por defecto)   
#(si ya existiesen nos preguntará si queremos sobreescribirlas. Diremos que NO)
#(NO escribiremos ninguna passphrase para crearlas)

La clave pública estará ubicada en /home/user_name/.ssh/id_rsa.pub (o el nombre que le hayas dado).
Es necesario copiar la clave pública al directorio donde se encuentre el fichero set-host.py y nombrarla como backup.pub  

2. Installation (rsync and rsnapshot)
Run ./setup.sh as root from the folder this file is placed.

3. Configuration
Editaremos el fichero /etc/rsnapshot.conf
Atención a los requisitos del fichero: Finalizar directorios con '/' y usar tabuladores en vez de espacios.

Adding or removing a backup

Run ./set-host.py as root from the folder this file is placed.
Please, follow the interactive dialog asking you what you want to do ;)

rsnapshot's People

Contributors

simplyjarod avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.