# Pull backup through rsync to local

**URL:** <https://discourse.mailinabox.email/t/pull-backup-through-rsync-to-local/6011>\
**Category:** uncategorized\
**Created:** [February 14, 2020, 10:55pm UTC](https://discourse.mailinabox.email/t/pull-backup-through-rsync-to-local/6011 "2020-02-14T22:55:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![openletter](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/o/f1d935/32.png) [@openletter](https://discourse.mailinabox.email/u/openletter)\
**Post date:** [February 14, 2020, 10:55pm UTC](https://discourse.mailinabox.email/t/pull-backup-through-rsync-to-local/6011/1 "2020-02-14T22:55:37Z")

</div>

I’m wanting to pull backups through `rsync` from MiaB to my local computer.

However, the files cannot be read by my user and I don’t want to give `root` login privileges.

Is there any other way for `rsync` to access the backups?

Is `rsync` the wrong tool for what I want to do?

---

<div class="post-metadata">

**Author:** ![alento](https://discourse.mailinabox.email/user_avatar/discourse.mailinabox.email/alento/32/1371_2.png) [@alento](https://discourse.mailinabox.email/u/alento)\
**Post date:** [February 15, 2020, 2:39am UTC](https://discourse.mailinabox.email/t/pull-backup-through-rsync-to-local/6011/2 "2020-02-15T02:39:31Z")

</div>

> [@openletter](#):
>
> Is `rsync` the wrong tool for what I want to do?

No, not at all.

Set MiaB user `user-data` to allow logins. Don’t ask me how, I use webmin to accomplish this… and set a password for this user.

I do not use PKA, so if you do, turn it off temporarily in `/etc/sshd_config` so that you can log in to copy your PKA public key over with `ssh-copy-id`.

Then log in with the user `user-data@box.mydomain.tld` to do your rsync.

Easy. If you understand what I just said … if not … well then maybe rsync isn’t for whomever is reading this.

---

<div class="post-metadata">

**Author:** ![openletter](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/o/f1d935/32.png) [@openletter](https://discourse.mailinabox.email/u/openletter)\
**Post date:** [February 15, 2020, 12:04pm UTC](https://discourse.mailinabox.email/t/pull-backup-through-rsync-to-local/6011/3 "2020-02-15T12:04:53Z")

</div>

Thanks. I failed to notice that `/home/user-data/backup/encrypted/` and its contents are owned by `user-data`.
