# How to backup an extra copy

**URL:** https://forums.percona.com/t/how-to-backup-an-extra-copy/2350
**Category:** Percona XtraBackup
**Created:** [March 22, 2013, 11:19am UTC](https://forums.percona.com/t/how-to-backup-an-extra-copy/2350 "2013-03-22T11:19:28Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![tdelnatte](https://avatars.discourse-cdn.com/v4/letter/t/edb3f5/32.png) [@tdelnatte](https://forums.percona.com/u/tdelnatte)
#### Post date: [March 22, 2013, 11:19am UTC](https://forums.percona.com/t/how-to-backup-an-extra-copy/2350/1 "2013-03-22T11:19:28Z")

</div>

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

---

<div class="post-metadata">

### Author: ![davidchilders](https://avatars.discourse-cdn.com/v4/letter/d/bbce88/32.png) [@davidchilders](https://forums.percona.com/u/davidchilders)
#### Post date: [March 27, 2013, 6:57am UTC](https://forums.percona.com/t/how-to-backup-an-extra-copy/2350/2 "2013-03-27T06:57:26Z")

</div>

Hello Geoffrey -

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

[http://www.perconaforum.com/index.php?t=msg&th=3238&](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 -

---

<div class="post-metadata">

### Author: ![tdelnatte](https://avatars.discourse-cdn.com/v4/letter/t/edb3f5/32.png) [@tdelnatte](https://forums.percona.com/u/tdelnatte)
#### Post date: [April 2, 2013, 7:39am UTC](https://forums.percona.com/t/how-to-backup-an-extra-copy/2350/3 "2013-04-02T07:39:24Z")

</div>

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