Giter Site home page Giter Site logo

unraid-scripts's Introduction

Unraid-Scripts

Welcome to the Unraid-Scripts repository! This repository contains a collection of scripts designed to enhance the functionality and automation of your Unraid server.

Scripts Included

1. Veeam VM and Docker Shutdown and Reboot Script

This script safely shuts down the Veeam VM and all running Docker containers, then schedules a server reboot. It ensures that the VM and containers are properly stopped before rebooting to prevent data loss or corruption.

Features

  • Safely shuts down the Veeam VM
  • Stops all running Docker containers
  • Logs all actions with timestamps
  • Schedules a server reboot with a 2-minute warning

Usage

  1. Place the script in your Unraid server, preferably under /boot/config/plugins/user.scripts/scripts/ (If you are using 'User Scripts').
  2. Ensure the script is executable:
    chmod +x /boot/config/plugins/user.scripts/scripts/unraid_reboot.sh
  3. Schedule the script to run at your desired time using 'User Scripts' cron or by editing the crontab:
    0 2 * * 3 /boot/config/plugins/user.scripts/scripts/unraid_reboot.sh
    
    This example schedules the script to run every Wednesday at 2:00 AM.

Contributing

Feel free to contribute to this repository by submitting issues or pull requests. If you have any useful scripts for Unraid, you are welcome to share them here.

License

This project is licensed under the MIT License - see the LICENSE file for details.

unraid-scripts's People

Contributors

glennigen avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.