# Remote Backup using innobackupex

**URL:** <https://forums.percona.com/t/remote-backup-using-innobackupex/2726>\
**Category:** Percona XtraBackup\
**Created:** [May 29, 2013, 10:33am UTC](https://forums.percona.com/t/remote-backup-using-innobackupex/2726 "2013-05-29T10:33:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![J\_Grieb](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@J\_Grieb](https://forums.percona.com/u/J_Grieb)\
**Post date:** [May 29, 2013, 10:33am UTC](https://forums.percona.com/t/remote-backup-using-innobackupex/2726/1 "2013-05-29T10:33:43Z")

</div>

Please pardon me if this is a stupid question - I’m very new to Percona.  
I need to perform a backup of a database from a central server.

I thought the command to use was:

innobackupex-1.5.1 --user=root --password=xxxxxx --host=dtcs-clalcpm01-mgt /data/percona\_backups

This seems to connect to the remote database server but it still attempts to backup a local instance of the database.

---

<div class="post-metadata">

**Author:** ![revin](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/revin/32/824_2.png) [@revin](https://forums.percona.com/u/revin)\
**Post date:** [May 29, 2013, 8:36pm UTC](https://forums.percona.com/t/remote-backup-using-innobackupex/2726/2 "2013-05-29T20:36:34Z")

</div>

J\_Grieb,

XtraBackup has to be run from the server where MySQL is running because it will need to copy the files. You can create a wrapper script for the innobackupex command to be called remotely instead.

---

<div class="post-metadata">

**Author:** ![leafonsword](https://avatars.discourse-cdn.com/v4/letter/l/85f322/32.png) [@leafonsword](https://forums.percona.com/u/leafonsword)\
**Post date:** [July 21, 2014, 12:43am UTC](https://forums.percona.com/t/remote-backup-using-innobackupex/2726/3 "2014-07-21T00:43:17Z")

</div>

> [@revin;10401](#):
>
> J\_Grieb,
> 
> XtraBackup has to be run from the server where MySQL is running because it will need to copy the files. You can create a wrapper script for the innobackupex command to be called remotely instead.

Since innobackup just run in local machine， why innobackup has option ‘–host’？
