How to download the backup file without SMTP function?

/var/discourse/shared/web_only/backups/default: No such file or directory

:thinking:
my bad :sweat_smile: that was for a two containers setup, could you try:
/var/discourse/shared/app/backups/default

edit: nope, standalone instead of app

/var/discourse/shared/app/backups/default: No such file or directory

Is there something in the /var/discourse/shared directory ?
Could you have enabled S3 uploads and backups ?

no, I just want download my discourse backup and restore it on a new server.
Because the old one doesn’t support mail ports.

What do you have there: /var/discourse/shared ?

I can visit it with ssh, but I don’t know what’s in there.

sudo ls /var/discourse/shared

root@C20210920172461:~# sudo ls /var/discourse/shared
standalone
root@C20210920172461:~#

Ah that was standalone, my bad again, sorry, sudo ls /var/discourse/shared/standalone/backups/default

edit: third times a charm !

root@C20210920172461:~# sudo ls /var/discourse/shared/standalone/backups/default
lowendhost-2021-09-22-033652-v20210915222124.tar.gz lowendhost-2021-09-26-034900-v20210915222124.tar.gz
root@C20210920172461:~#

Then here you’ll find the appropriate instructions:

2 Likes

Thanks! I will try later!

1 Like

Can I download the backup file to local directly through SSH?

Sure, assuming Windows, with a client like WinSCP for instance

1 Like

scp /path/to/backup/backup.tar.gz

what is this path? local path on my computer or on my server?

root@192.168.1.1:/var/discourse/shared/standalone/backups/default
Is this ip address my new server’s ip or the old one?

My computer is macOS.

that is the path on your (soon to be replaced) server so:
/var/discourse/shared/standalone/backups/default/lowendhost-2021-09-26-034900-v20210915222124.tar.gz

for you mac, I don’t know, should be a native scp server

that’s the ip of the new one, the directory has to be made (mkdir) beforehand

1 Like

Thanks so much!
I have downloaded the backup files through Filezilla, then I restored it to the new site and succeeded!

:sweat_smile:

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.