# SMTP機能なしでバックアップファイルをダウンロードする方法

**URL:** https://meta.discourse.org/t/how-to-download-the-backup-file-without-smtp-function/204469
**Category:** Self-hosting
**Created:** [2021 年 9 月 26 日午前 7:49 UTC](https://meta.discourse.org/t/how-to-download-the-backup-file-without-smtp-function/204469 "2021-09-26T07:49:54Z")
**Posts on this page:** 1
**Showing post:** 14

<div class="post-metadata">

### Author: ![Benjamin\_D](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/benjamin_d/32/277831_2.png) [@Benjamin\_D](https://meta.discourse.org/u/Benjamin_D)
#### Post date: [2021 年 9 月 26 日午前 9:26 UTC](https://meta.discourse.org/t/how-to-download-the-backup-file-without-smtp-function/204469/14 "2021-09-26T09:26:56Z")

</div>

以下に適切な手順を示します：

> [@techAPJ](#):
>
> ### バックアップの転送
> 
> 移行先のサーバーに SSH で接続するか、またはそこでバックアップフォルダを作成してください：
> 
> `mkdir -p /var/discourse/shared/standalone/backups/default`
> 
> バックアップファイルを移行先のサーバーにアップロードします。
> 
> `scp /path/to/backup/backup.tar.gz root@192.168.1.1:/var/discourse/shared/standalone/backups/default`
> 
> もちろん、上記のパス、ファイル名、サーバー名は実際に使用しているものに置き換えてください。ただし、バックアップファイルが以下の場所に保存されるようにする必要があります。

---

_[View the full topic](https://meta.discourse.org/t/how-to-download-the-backup-file-without-smtp-function/204469)._
