GET 24/7 LIVE HELP NOW

Announcement

Announcement Module
Collapse
No announcement yet.

How to backup an extra copy

Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to backup an extra copy

    Hi,

    I used this command to backup MySQL database and I am looking for a way to backup locally an extra copy.
    Please could you help me?

    innobackupex --user=Backupmysql --password=***** --stream=xbstream --compress /var/backup/ --compress-threads=2 --parallel=2 --no-lock --tmpdir=/tmp | pv -q -L50m | ssh ****** "xbstream -x -C /var/backupdst"

    Geoffrey

  • #2
    Hello Geoffrey -

    Wow - this is similar to a question I just answered here:

    http://www.perconaforum.com/index.php?t=msg&th=3238& start=0&

    You could include a copy of the final backup over to another directory or even a copy to another host using the cp command in a bash script.

    I hope this helps -

    Comment


    • #3
      extra copy was to avoid a sequential rsync linux command but anyway.

      Comment

      Working...
      X