| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 | 
							- .. IMPORTANT: this file is auto-generated from borg's built-in help, do not edit!
 
- .. _borg_transfer:
 
- borg transfer
 
- -------------
 
- .. code-block:: none
 
-     borg [common options] transfer [options]
 
- .. only:: html
 
-     .. class:: borg-options-table
 
-     +-----------------------------------------------------------------------------+----------------------------------------------+---------------------------------------------------------------------------------------------------+
 
-     | **options**                                                                                                                                                                                                                    |
 
-     +-----------------------------------------------------------------------------+----------------------------------------------+---------------------------------------------------------------------------------------------------+
 
-     |                                                                             | ``-n``, ``--dry-run``                        | do not change repository, just check                                                              |
 
-     +-----------------------------------------------------------------------------+----------------------------------------------+---------------------------------------------------------------------------------------------------+
 
-     |                                                                             | ``--other-repo SRC_REPOSITORY``              | transfer archives from the other repository                                                       |
 
-     +-----------------------------------------------------------------------------+----------------------------------------------+---------------------------------------------------------------------------------------------------+
 
-     |                                                                             | ``--upgrader UPGRADER``                      | use the upgrader to convert transferred data (default: no conversion)                             |
 
-     +-----------------------------------------------------------------------------+----------------------------------------------+---------------------------------------------------------------------------------------------------+
 
-     | .. class:: borg-common-opt-ref                                                                                                                                                                                                 |
 
-     |                                                                                                                                                                                                                                |
 
-     | :ref:`common_options`                                                                                                                                                                                                          |
 
-     +-----------------------------------------------------------------------------+----------------------------------------------+---------------------------------------------------------------------------------------------------+
 
-     | **Archive filters** — Archive filters can be applied to repository targets.                                                                                                                                                    |
 
-     +-----------------------------------------------------------------------------+----------------------------------------------+---------------------------------------------------------------------------------------------------+
 
-     |                                                                             | ``-a PATTERN``, ``--match-archives PATTERN`` | only consider archive names matching the pattern. see "borg help match-archives".                 |
 
-     +-----------------------------------------------------------------------------+----------------------------------------------+---------------------------------------------------------------------------------------------------+
 
-     |                                                                             | ``--sort-by KEYS``                           | Comma-separated list of sorting keys; valid keys are: timestamp, name, id; default is: timestamp  |
 
-     +-----------------------------------------------------------------------------+----------------------------------------------+---------------------------------------------------------------------------------------------------+
 
-     |                                                                             | ``--first N``                                | consider first N archives after other filters were applied                                        |
 
-     +-----------------------------------------------------------------------------+----------------------------------------------+---------------------------------------------------------------------------------------------------+
 
-     |                                                                             | ``--last N``                                 | consider last N archives after other filters were applied                                         |
 
-     +-----------------------------------------------------------------------------+----------------------------------------------+---------------------------------------------------------------------------------------------------+
 
-     |                                                                             | ``--oldest TIMESPAN``                        | consider archives between the oldest archive's timestamp and (oldest + TIMESPAN), e.g. 7d or 12m. |
 
-     +-----------------------------------------------------------------------------+----------------------------------------------+---------------------------------------------------------------------------------------------------+
 
-     |                                                                             | ``--newest TIMESPAN``                        | consider archives between the newest archive's timestamp and (newest - TIMESPAN), e.g. 7d or 12m. |
 
-     +-----------------------------------------------------------------------------+----------------------------------------------+---------------------------------------------------------------------------------------------------+
 
-     |                                                                             | ``--older TIMESPAN``                         | consider archives older than (now - TIMESPAN), e.g. 7d oder 12m.                                  |
 
-     +-----------------------------------------------------------------------------+----------------------------------------------+---------------------------------------------------------------------------------------------------+
 
-     |                                                                             | ``--newer TIMESPAN``                         | consider archives newer than (now - TIMESPAN), e.g. 7d or 12m.                                    |
 
-     +-----------------------------------------------------------------------------+----------------------------------------------+---------------------------------------------------------------------------------------------------+
 
-     .. raw:: html
 
-         <script type='text/javascript'>
 
-         $(document).ready(function () {
 
-             $('.borg-options-table colgroup').remove();
 
-         })
 
-         </script>
 
- .. only:: latex
 
-     options
 
-         -n, --dry-run     do not change repository, just check
 
-         --other-repo SRC_REPOSITORY    transfer archives from the other repository
 
-         --upgrader UPGRADER    use the upgrader to convert transferred data (default: no conversion)
 
-     :ref:`common_options`
 
-         |
 
-     Archive filters
 
-         -a PATTERN, --match-archives PATTERN     only consider archive names matching the pattern. see "borg help match-archives".
 
-         --sort-by KEYS                           Comma-separated list of sorting keys; valid keys are: timestamp, name, id; default is: timestamp
 
-         --first N                                consider first N archives after other filters were applied
 
-         --last N                                 consider last N archives after other filters were applied
 
-         --oldest TIMESPAN                        consider archives between the oldest archive's timestamp and (oldest + TIMESPAN), e.g. 7d or 12m.
 
-         --newest TIMESPAN                        consider archives between the newest archive's timestamp and (newest - TIMESPAN), e.g. 7d or 12m.
 
-         --older TIMESPAN                         consider archives older than (now - TIMESPAN), e.g. 7d oder 12m.
 
-         --newer TIMESPAN                         consider archives newer than (now - TIMESPAN), e.g. 7d or 12m.
 
- Description
 
- ~~~~~~~~~~~
 
- This command transfers archives from one repository to another repository.
 
- Optionally, it can also upgrade the transferred data.
 
- Suggested use for general purpose archive transfer (not repo upgrades)::
 
-     # create a related DST_REPO (reusing key material from SRC_REPO), so that
 
-     # chunking and chunk id generation will work in the same way as before.
 
-     borg --repo=DST_REPO rcreate --other-repo=SRC_REPO --encryption=DST_ENC
 
-     # transfer archives from SRC_REPO to DST_REPO
 
-     borg --repo=DST_REPO transfer --other-repo=SRC_REPO --dry-run  # check what it would do
 
-     borg --repo=DST_REPO transfer --other-repo=SRC_REPO            # do it!
 
-     borg --repo=DST_REPO transfer --other-repo=SRC_REPO --dry-run  # check! anything left?
 
- The default is to transfer all archives, including checkpoint archives.
 
- You could use the misc. archive filter options to limit which archives it will
 
- transfer, e.g. using the -a option. This is recommended for big
 
- repositories with multiple data sets to keep the runtime per invocation lower.
 
- For repository upgrades (e.g. from a borg 1.2 repo to a related borg 2.0 repo), usage is
 
- quite similar to the above::
 
-     borg --repo=DST_REPO transfer --other-repo=SRC_REPO --upgrader=From12To20
 
 
  |