# Can't upload backup

**URL:** https://meta.discourse.org/t/cant-upload-backup/212520
**Category:** Support
**Created:** [December 18, 2021, 1:54pm UTC](https://meta.discourse.org/t/cant-upload-backup/212520 "2021-12-18T13:54:29Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![daemon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/daemon/32/256632_2.png) [@daemon](https://meta.discourse.org/u/daemon)
#### Post date: [December 18, 2021, 11:50pm UTC](https://meta.discourse.org/t/cant-upload-backup/212520/5 "2021-12-18T23:50:12Z")

</div>

> [@pfaffman](#):
>
> So you put the file in the wrong place or for the filename wrong. If it’s the latter, then

No, I did it like it’s written here:

> [@Restore a backup from the command line](https://meta.discourse.org/t/restore-a-backup-from-command-line/108034#transfer-backup-1):
>
> bookmark This guide explains how to restore a Discourse backup from the command line without using the Discourse web UI. person_raising_hand Required user level: Administrator wrench Console access required Here’s how to restore a Discourse backup from the command line, without ever booting the Discourse web UI. This is handy when you’re moving servers. Prerequisites Before you start, make sure you complete the following steps: Download the latest backup file from the source Disco…

> [@Restore a backup from the command line](https://meta.discourse.org/t/restore-a-backup-from-the-command-line/108034/1):
>
> ### Transfer Backup
> 
> SSH into the destination server, or otherwise create the backup folder there:
> 
> `mkdir -p /var/discourse/shared/standalone/backups/default`
> 
> Upload your backup file to the destination server.
> 
> `scp /path/to/backup/backup.tar.gz root@192.168.1.1:/var/discourse/shared/standalone/backups/default`
> 
> Of course, replace the above paths, filenames, and server names with the ones you are using – but you do want the backup file to end up in
> 
> `/var/discourse/shared/standalone/backups/default`
> 
> > 📣 You can also upload and download your Discourse backup file from popular web storage sites such as Google Drive, Dropbox, OneDrive, etc – you’ll need to look up the specific command line instructions based on your preferred web storage provider.
> 
> > ⚠ **DO NOT CHANGE THE FILENAME OF THE BACKUP!** Discourse treats the backup filename as metadata, so if you change the filename, restoring will not work. Stick with the original file name.
> 
> Replace `/path/to/backup/discourse-xyz.tar.gz` with the local path of your backup file, and replace `<server_ip_address>` with the IP address of destination server.

So if this is the wrong path, the tutorial is wrong. That’s why I asked where to put the file.

---

_[View the full topic](https://meta.discourse.org/t/cant-upload-backup/212520)._
