GithubHelp home page GithubHelp logo

admin-scripts's People

Contributors

dontneedgithubaccount avatar mrramam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

admin-scripts's Issues

xtrabackup_51: not found

I tried your script "xtrabackup.sh". The backup works like expectet but I get a problem with the restore prodedure. The call

xtrabackup.sh restore 2015-06-30_09-12-47 tmp/xxx

results in the error

sh: 1: xtrabackup_51: not found

And indeed: my xtrabackup package (openSUSE) doesn't contain a program called "xtrabackup_51" anymore. In the next step I changed your script

from:

$INNOBACKUPEX_COMMAND --apply-log --ibbackup=xtrabackup_51 $DESTINATION  &>> $LOG_FILE || fail

To:

$INNOBACKUPEX_COMMAND --apply-log  $DESTINATION  &>> $LOG_FILE || fail 

After this change the restore prodedure works like expected.

The versions:

mysql --version
mysql  Ver 15.1 Distrib 10.1.5-MariaDB, for Linux (i686) using  EditLine wrapper

xtrabackup --version
xtrabackup version 2.2.11 based on MySQL server 5.6.24 Linux (i686) (revision id: )

Would it be a good idea to check the xtrabackup version inside your script and modify the restore call? Thanks in advance.

...Rolf

Parameter SOCKET

I suggest an additional parameter "SOCKET" for the config file (.xtrabackup.config) defaults to
/tmp/mysql.sock. The reason is the following innobackupex's error:

Failed to connect to MySQL server: Can't connect to local MySQL server 
through socket '/tmp/mysql.sock' (2).

My actual socket is /var/run/mysql/mysql.sock.

cant load duplicity.sh

Loading configuration from /root/.duplicity.config.
Command line error: Expected 2 args, got 0
Enter 'duplicity --help' for help screen.

basically its running this:
/usr/bin/nice -n 15 /usr/bin/ionice -c2 -n7 /usr/bin/duplicity

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.