~longbow/percona-xtrabackup/fix664986

« back to all changes in this revision

Viewing changes to doc/source/innobackupex/remote_backups_ibk.rst

  • Committer: Alexey Kopytov
  • Date: 2011-07-19 07:15:08 UTC
  • mfrom: (290.2.1 staging)
  • Revision ID: akopytov@gmail.com-20110719071508-lxkx7tgghohnevkn
MergeĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
=====================================================
 
2
 Sending Backups to Remote Hosts with |innobackupex|
 
3
=====================================================
 
4
 
 
5
Besides of using the :option:`--stream` for sending the backup to another host via piping (see :doc:`streaming_backups_innobackupex`), |innobackupex| can do it directly with the :option:`--remote-host` ::
 
6
 
 
7
  $ innobackupex --remote-host=REMOTEUSER@REMOTEHOST /path/IN/REMOTE/HOST/to/backup/
 
8
 
 
9
|innobackupex| will test the connection to ``REMOTEHOST`` via :command:`ssh` and create the backup directories needed as the ``REMOTEUSER`` you specified.
 
10
 
 
11
.. warning:: The path you provide for storing the backup will be created at ``REMOTEHOST``, not at the local host.
 
12
 
 
13
Then all the log files will be written to a temporary file (you can choose where to store this file with the :option:`--tmpdir` option) and will be copied via :command:`scp`. The options for :command:`scp` can be specified with :option:`--options-scp` (``-Cp -c arcfour`` by default), for example::
 
14
 
 
15
  $ innobackupex --remote-host=REMOTEUSER@REMOTEHOST /path/IN/REMOTE/HOST/to/backup/ \
 
16
     --tmpdir=/tmp --options-scp="-Cp -c arcfour"
 
17
 
 
18