Coder Social home page Coder Social logo

genql's Introduction

This script is called genQL, I started developping it at the start of 2010 to backup our websites and mysql databases.

Written by JuPiTeR (Nelson-Jean Gaasch), thanks to the precious help of Nuxien (Johan Roussel) and grosboulet.

Please be sure you don't email us telling this script is sh*t without mentioning
why and how you would improve it better (precise code example wanted) :) thank you ^^

This script has the following dependencies:
 * usual binutils, rsync, wget, mailx.
 * apache2-utils sharutils (debian packages for htpasswd and uuencode)


####
# dat file specifications: Each line represents a site to backup 
# dns;active;protocol;l0gin;ftpassword;sshkeyname;loginhtacces;passhtaccess;altdns;port;rpath;timesite;daysite;timedb;daydb;coef;GB;priority;pingtest
#  dns: Contains the dns of the site to save
#  active: 1 if site's backup is active ; 0 if it's inactive
#  protocol: ftp or ssh
#  login: Which login to use to login to the site
#  pass: Password for login (ONLY for FTP ; for ssh, RSA key-authentication is used)
#  sshkeyname; name of the ssh key to be used
#  loginhtaccess: login to be used for the site's htaccess
#  passhtaccess: pass to be used for the site's htaccess
#  altdns: Sometimes, the ftp to backup a site doesn't have the same address as the site itself, this is where you declare it
#  port: does the ftp/ssh service run on a particular port?
#  rpath: Where on the server is the directory? (important for the .htaccess)
#  timesite: Time where the site should be backed-up
#  daysite: Day the site should be backed up
#  timedb: time of the db backup
#  daydb: Day the DB should be backed up
#  coef: coeficient of space
#  GB: Allowed backup size
#  Priority: Allows to define which sites are the most important ones to backup
#  Pingtest: should we perform a pingtest with this site?
#####

genql's People

Contributors

jupiter126 avatar

Stargazers

Alican Toprak avatar  avatar

Watchers

 avatar James Cloos 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.