How to download the backup file without SMTP function?
Because mail ports are blocked on my vps, I can’t use outgoing SMTP, so how do I download the backup file?
How to download the backup file without SMTP function?
Because mail ports are blocked on my vps, I can’t use outgoing SMTP, so how do I download the backup file?
Hi,
for a standard setup, the backup files are located here /var/discourse/shared/web_only/backups/default
edit: nope, standalone instead of web_only
/var/discourse/shared/web_only/backups/default: No such file or directory
my bad 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:
Thanks! I will try later!
Can I download the backup file to local directly through SSH?
Sure, assuming Windows, with a client like WinSCP for instance
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