Can I package the running Discourse instance as an image and import it into a new VPS while ensuring it runs successfully? It has been hacked, so the backup cannot be exported from the panel. Will using docker commit cause issues with the database?
If your VM has been hacked you have to assume that your Discourse container was hacked too.
Your backups are in /var/discourse/shared/standalone/backups/default. See Restore a backup from the command line. What I would do is Move a Discourse site to another VPS with rsync
2 Likes
Wanna get the latest backup from panel though.
There is no backup on the panel. The back up is on the hard drive (or SSD) in /var/discourse/shared/standalone/backups/default
. The panel is a way to download the file, except you can’t use it now, so you can copy it from the VM via SCP or something like it.
2 Likes