Setup Auto Reboot / Auto Backups for a curseforge modpack server
So I just created a server for the first time. I am hosting it on an oracle vm instance and it is running a modpack that I installed. The server is working, but I want to setup auto backups daily and reboots every 2 hours. I assume I need to setup a cronjob and use a bash script somehow, but I'm not exactly sure the best way to go about it and can't find much online. Does anyone do this and would be able to help me out?
13 Replies
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by nrnj#0
Do you have any Linux knowledge?
yes I work with linux pretty often
consider installing a web panel like Pterodactyl.
Their schedules feature allows you to do such things like run commands and restart the server
What OS did you install
please don’t tell me it was oracle Linux
i believe so, i just followed a guide i havent done server stuff before
:pain:
oh no what did i do LOL
Oracle Linux just… isn’t great
Ubuntu is miles better
i was going to do ubuntu since i used to use that often on my raspberry pi but the guide said oracle so i listened
:pain:
You can try install crafty controller instead
as afaik ptero doesn’t support oracle Linux but crafty does
just not as feature rich and a subjectively worse ui
gotcha, ill definitely give that a go thanks! i dont need anything crazy its just a small server with friends but backups and daily reboots always make things run smoother
:ThumbsUp: