Skip to content

Instantly share code, notes, and snippets.

View RusAlex's full-sized avatar

Alexander Pletnev RusAlex

View GitHub Profile
@RusAlex
RusAlex / incremental-backups-percona-xtrabackup.sh
Created July 9, 2016 11:53 — forked from etagwerker/incremental-backups-percona-xtrabackup.sh
Bash script to perform MySQL incremental backups with Percona xtrabackup with Cron, starting with a full backup.
STAMP=`date +%Y%m%d%H%M`
echo "Iniciando backup @ $STAMP"
mkdir -p /var/backups/$STAMP
LAST_DIR=`ls /var/backups/inc | sort -n | tail -1`
xtrabackup --use-memory=1G --backup --target-dir=/var/backups/inc/$STAMP --incremental-basedir=/var/backups/inc/$LAST_DIR --user=root --password=<root-password>
echo "Fin backup @ $STAMP"
@RusAlex
RusAlex / README.md
Last active January 27, 2016 06:38 — forked from jmarceli/README.md
React errors explained

1

You will get one of these:

Uncaught (in promise) TypeError: Cannot read property 'toUpperCase' of undefined(…)

ReactCompositeComponent.js:870 Uncaught TypeError: Cannot read property 'displayName' of undefined

if you try to:

@RusAlex
RusAlex / about.md
Created August 21, 2011 18:24 — forked from jasonrudolph/about.md
Programming Achievements: How to Level Up as a Developer