How to restore data by ssh?

I know there are two ways to restore the data from webpage view.

  • But downloading such file seems to be not a very good idea for poor internet conditions. Because we will get a download link from email, the link can only be clicked once.

    • By clicking, the browser will begin downloading the zip file. But for poor web condition and big zip file, the browser doesn’t support break point downloading, some times the downloading process would end up with a failure.

I know there is a .tar.gz file in

/var/discourse/shared/standalone/backups/default

which is just the restoring data.


I’m wondering how I can restore the whole data in ssh?

4 Likes