Graylog Upgrade to 5.1.4 page mistakes

On page: Prerequisites

Step 4 says: “Backup existing configuration file(s) of your Graylog server:”
and the command says: “- /etc/graylog/server/server.conf”

Seems to be incomplete!

Greetings! Are you asking if something is missing or suggesting an edit?

drewmiranda-gl I am suggesting that something was missing since “-” is not a command.

I was waiting to see if someone else commented.

If I make a suggestion it would be to make a directory for the backups then copy the config file.
sudo mkdir /etc/graylog/server/backups
sudo cp /etc/graylog/server/server.conf /etc/graylog/server/backups

Perhaps the backups should be in a loction that is not under the Graylog installation folder to avoid it getting deleted.

~Eric

So I decided to do this once:
sudo mkdir /var/backups/graylogbackups

Then each time I go to backup the Graylog config file do this:
sudo mkdir /var/backups/graylogbackups/date +"%m-%d-%y"
sudo cp /etc/graylog/server/server.conf /var/backups/graylogbackups/date +"%m-%d-%y"/