Solved How to update my server?

Discussion in 'Rust Discussion' started by Bebo50, Feb 13, 2018.

  1. How to update my server when a new update is available ?
    - I use SteamCMD
    and how to keep a backup ?
     
  2. In steamCMD:
    login anonymous
    force_install_dir C:{directory}
    app_update 258550

    Backups used to be automatically kept and updated in the backups folder of your server files but I don't think they exists any longer. However, I've heard that there are other alternatives such as Rust Server Manager which auto-backups every so timed tick.
     
  3. I already wrote this at the beginning of the server
    did i write it in every update ? and write it where ?
     
  4. If you have a dedicated server, you probably want to use 2 differents bat file, one for update and the other to start your server.

    in your Update.bat =>
    Code:
    cd steam
    steamcmd.exe +runscript ../update_script.txt
    cd ..
    and in your update.txt =>
    Code:
    @ShutdownOnFailedCommand 1
    @NoPromptForPassword 1
    login anonymous
    force_install_dir ../rustds
    app_update 258550 validate
    quit
    and your Start_server.bat =>
    Code:
    echo offcd rustds
    start RustDedicated.exe -batchmode +server.level HapisIsland +oxide.directory "server/{server.identity}/oxide" +server.hostname "My Server Name" +server.port 28015 +server.identity "my_server" -logFile "output.txt" -autoupdate +rcon.port 28016 +rcon.password "blabla"
    cd ../
    You must verify every path "steam" and "rustds"