Skip to content

A bash script to stop a minecraft server and then restart it for an external backup process to take place.

License

Notifications You must be signed in to change notification settings

Packet-Swtchd/Minecraft-Server-Backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Minecraft-Server-Backup

A bash script to stop a minecraft server and then restart it for an external backup process to take place.

Set-up

  1. Set file path, start command, and screen name.
  2. On Linux make sure the file is executable: use chmod +x /path/to/script
  3. Manually execute, or schedule execution.

Schedule Execution

  1. update Cron Job: crontab -e
  2. Syntax for cron job: i. ii. iii. iv. v. /path/to/script
    1. Minutes (0 - 59)
    2. Hour (0 - 23)
    3. Day of the Month (1 - 31)
    4. Month (1 - 12)
    5. Day of the Week (0 - 7)

About

A bash script to stop a minecraft server and then restart it for an external backup process to take place.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages