# BACKUP DATABASE is not permitted on child aggregators

**URL:** <https://www.singlestore.com/forum/t/backup-database-is-not-permitted-on-child-aggregators/6785>\
**Category:** Security\
**Created:** [May 15, 2023, 4:10pm UTC](https://www.singlestore.com/forum/t/backup-database-is-not-permitted-on-child-aggregators/6785 "2023-05-15T16:10:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DataSleek](https://www.singlestore.com/forum/user_avatar/www.singlestore.com/datasleek/32/402_2.png) [@DataSleek](https://www.singlestore.com/forum/u/DataSleek)\
**Post date:** [May 15, 2023, 4:10pm UTC](https://www.singlestore.com/forum/t/backup-database-is-not-permitted-on-child-aggregators/6785/1 "2023-05-15T16:10:06Z")

</div>

Running Singlestore CIAB (Cluster in a box) on Ubuntu.  
Trying to backup DB to S3 and I’m getting:

_This instance is not the master aggregator. BACKUP DATABASE is not permitted on child aggregators without SYNC\_PERMISSIONS_

I tried to use SET GLOBAL sync\_permissions = ON;  
But I’m getting

This instance is not the master aggregator. SETTING SYNC SETTINGS is not permitted on child aggregators without SYNC\_PERMISSIONS being enabled.

---

<div class="post-metadata">

**Author:** ![mmanthena](https://www.singlestore.com/forum/letter_avatar_proxy/v4/letter/m/cc9497/32.png) [@mmanthena](https://www.singlestore.com/forum/u/mmanthena)\
**Post date:** [May 17, 2023, 5:38am UTC](https://www.singlestore.com/forum/t/backup-database-is-not-permitted-on-child-aggregators/6785/2 "2023-05-17T05:38:33Z")

</div>

Hi, Thank you for reaching out to us. Have you checked if you are currently connected to the MA? To do this, you can use the command “SHOW AGGREGATORS;” which will show you if you are connected to the MA or CA. Look for the aggregator with the value “1” for MA. This way, you can use the IP address, port, and hostname of that aggregator to connect. Here is the [docs link](https://docs.singlestore.com/managed-service/en/reference/sql-reference/workspace-management-commands/show-aggregators.html#show-aggregators)

To connect, use the following command:

```auto
singlestore -h <master_hostname_or_ip> -P <port> -u <username> -p

```

Alternatively, you may want to try promoting a CA to MA. This way, you can ensure that you are connected to the MA while performing the backup operation.

Please let us know if this is helpful.

Thank You,
