# Copy backups to another server with rsync and cron

**URL:** <https://meta.discourse.org/t/copy-backups-to-another-server-with-rsync-and-cron/124346>\
**Category:** Sysadmins\
**Tags:** how-to\
**Created:** [July 30, 2019, 1:17am UTC](https://meta.discourse.org/t/copy-backups-to-another-server-with-rsync-and-cron/124346 "2019-07-30T01:17:44Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Bathinda](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bathinda/32/135888_2.png) [@Bathinda](https://meta.discourse.org/u/Bathinda)\
**Post date:** [August 17, 2024, 8:59am UTC](https://meta.discourse.org/t/copy-backups-to-another-server-with-rsync-and-cron/124346/2 "2024-08-17T08:59:59Z")

</div>

Wow!!  
Though I’d appreciate much more if you had explain the below given steps in a bit detail so that novice users like me couldn’t do anything wrong (and also get the idea what each step is doing).

> [@johncs](#):
>
> Edit `/etc/passwd` and replace `www-data`’s shell with `/bin/bash` rather than `/usr/sbin/nologin`.

What the above does?

> [@johncs](#):
>
> Add the backup server’s SSH key to `/home/www-data/.ssh/authorized_keys`.

Do you mean Public key here?

---

_[View the full topic](https://meta.discourse.org/t/copy-backups-to-another-server-with-rsync-and-cron/124346)._
