﻿---
title: copy_aliases
description: The default value of this setting is False.  If True, after an index has been successfully shrunk, any aliases associated with the source index will be...
url: https://www.elastic.co/elastic/docs-builder/docs/2620/reference/elasticsearch/curator/option_copy_aliases
products:
  - Elasticsearch
  - Elasticsearch Curator
---

# copy_aliases
<note>
  This setting is only used by the [shrink](https://www.elastic.co/elastic/docs-builder/docs/2620/reference/elasticsearch/curator/shrink) action.
</note>

```yaml
action: shrink
description: >-
  Shrink selected indices on the node with the most available space.
  Reimplement source index aliases on target index after successful shrink.
options:
  shrink_node: DETERMINISTIC
  copy_aliases: True
filters:
  - filtertype: ...
```

The default value of this setting is `False`.  If `True`, after an index has been successfully shrunk, any aliases associated with the source index will be copied to the target index.