Git Product home page Git Product logo

Comments (5)

ShahriyarR avatar ShahriyarR commented on August 23, 2024

The first of all changed backup_tool=/usr/bin/xtrabackup in /etc/bck.conf
Failed with:

sudo autoxtrabackup --backup -v -l DEBUG
<pid.PidFile object at 0x7f78f5791ea8> entering setup
<pid.PidFile object at 0x7f78f5791ea8> create pidfile: /tmp/autoxtrabackup.pid
<pid.PidFile object at 0x7f78f5791ea8> check pidfile: /tmp/autoxtrabackup.pid
Warning: Using a password on the command line interface can be insecure.
Server is Up and running+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+OK
/usr/bin/mysql exists+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-+-++-OK
/usr/bin/mysqladmin exists+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-OK
MySQL configuration file exists+-+-+-+-+-+-+-+-+-++-+-+-+-+-+OK
Xtrabackup/Innobackupex exists+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-OK
Main backup directory exists+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-OK
Full Backup directory exists.+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+OK
Increment directory exists+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-OK
Check status: STATUS+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-+-+-+-OK
###############################################################
#You have no backups : Taking very first Full Backup! - - - - #
###############################################################
Flushing Binary Logs
Starting /usr/bin/xtrabackup
FULL BACKUP FAILED!
xtrabackup: Error: unknown argument: '/home/backup_dir/full'
<pid.PidFile object at 0x7f78f5791ea8> closing pidfile: /tmp/autoxtrabackup.pid
<pid.PidFile object at 0x7f78f5791ea8> closing pidfile: /tmp/autoxtrabackup.pid

from mysql-autoxtrabackup.

ShahriyarR avatar ShahriyarR commented on August 23, 2024

The result after very first fix:

sudo autoxtrabackup --backup -v -l DEBUG
<pid.PidFile object at 0x7f73f6148f48> entering setup
<pid.PidFile object at 0x7f73f6148f48> create pidfile: /tmp/autoxtrabackup.pid
<pid.PidFile object at 0x7f73f6148f48> check pidfile: /tmp/autoxtrabackup.pid
Warning: Using a password on the command line interface can be insecure.
Server is Up and running+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+OK
/usr/bin/mysql exists+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-+-++-OK
/usr/bin/mysqladmin exists+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-OK
MySQL configuration file exists+-+-+-+-+-+-+-+-+-++-+-+-+-+-+OK
Xtrabackup/Innobackupex exists+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-OK
Main backup directory exists+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-OK
Full Backup directory exists.+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+OK
Increment directory exists+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-OK
Check status: STATUS+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-+-+-+-OK
###############################################################
#You have no backups : Taking very first Full Backup! - - - - #
###############################################################
Flushing Binary Logs
Starting /usr/bin/xtrabackup
<pid.PidFile object at 0x7f73f6148f48> closing pidfile: /tmp/autoxtrabackup.pid
<pid.PidFile object at 0x7f73f6148f48> closing pidfile: /tmp/autoxtrabackup.pid

Seems to be worked but, backup was created not in timestamped folder but directly. This should be fixed as well.

from mysql-autoxtrabackup.

ShahriyarR avatar ShahriyarR commented on August 23, 2024

Failed incremental backup as well with:

sudo autoxtrabackup --backup -v -l DEBUG
<pid.PidFile object at 0x7f48797c6f48> entering setup
<pid.PidFile object at 0x7f48797c6f48> create pidfile: /tmp/autoxtrabackup.pid
<pid.PidFile object at 0x7f48797c6f48> check pidfile: /tmp/autoxtrabackup.pid
Warning: Using a password on the command line interface can be insecure.
Server is Up and running+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+OK
/usr/bin/mysql exists+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-+-++-OK
/usr/bin/mysqladmin exists+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-OK
MySQL configuration file exists+-+-+-+-+-+-+-+-+-++-+-+-+-+-+OK
Xtrabackup/Innobackupex exists+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-OK
Main backup directory exists+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-OK
Full Backup directory exists.+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+OK
Increment directory exists+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-OK
Check status: STATUS+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-+-+-+-OK
################################################################
You have a full backup that is less than 86400 seconds old. - -#
We will take an incremental one based on recent Full Backup - -#
################################################################
Installed Server is MySQL, will continue as usual.
INCREMENT BACKUP FAILED!
xtrabackup: Error: unknown argument: '/home/backup_dir/inc'
<pid.PidFile object at 0x7f48797c6f48> closing pidfile: /tmp/autoxtrabackup.pid
<pid.PidFile object at 0x7f48797c6f48> closing pidfile: /tmp/autoxtrabackup.pid

from mysql-autoxtrabackup.

ShahriyarR avatar ShahriyarR commented on August 23, 2024

Backup prepare stage failed as:

sudo autoxtrabackup --prepare -v -l DEBUG
<pid.PidFile object at 0x7fdc21296ea8> entering setup
<pid.PidFile object at 0x7fdc21296ea8> create pidfile: /tmp/autoxtrabackup.pid
<pid.PidFile object at 0x7fdc21296ea8> check pidfile: /tmp/autoxtrabackup.pid
Installed Server is MySQL, will continue as usual.
There is no /usr/lib/systemd/system folder, Continue
There is no /usr/lib/systemd/system folder, Continue
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

Preparing full/inc backups!
What do you want to do?
1. Prepare Backups and keep for future usage. NOTE('Once Prepared Backups Can not be prepared Again')
2. Prepare Backups and restore/recover/copy-back immediately
3. Just copy-back previously prepared backups
Please Choose one of options and type 1 or 2 or 3: 1

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
####################################################################################################
You have Incremental backups. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -#
Preparing Full backup 1 time. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -#
Final prepare,will occur after preparing all inc backups - - - - - - - - - - - - - - - - -  - - - -#
####################################################################################################
One time FULL BACKUP PREPARE FAILED!
xtrabackup: Error: unknown argument: '/home/backup_dir/full/2017-01-18_16-59-17'
####################################################################################################
The end of Prepare Process. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -#
Preparing FULL backup Again: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
####################################################################################################
Full BACKUP PREPARE FAILED!
xtrabackup: Error: unknown argument: '/home/backup_dir/full/2017-01-18_16-59-17'
<pid.PidFile object at 0x7fdc21296ea8> closing pidfile: /tmp/autoxtrabackup.pid
<pid.PidFile object at 0x7fdc21296ea8> closing pidfile: /tmp/autoxtrabackup.pid

from mysql-autoxtrabackup.

ShahriyarR avatar ShahriyarR commented on August 23, 2024

Implemented. Closing.

from mysql-autoxtrabackup.

Related Issues (20)

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.