Giter VIP home page Giter VIP logo

astroneer-offsite-backups's Introduction

astroneer-offsite-backups

Astroneer Logo

Build Status GitHub issues GitHub forks GitHub stars GitHub license GitHub All Releases GitHub contributors

This module is capable of moving the astroneer server files to an offsite location.

Did I save you some time? Buy me a โ˜•๐Ÿ˜„

Initial setup

  1. Download the latest release, and extract the files.
  2. Open a powershell session and cd to the folder you extracted to, eg cd C:\Users\Administrator\Downloads\astroneer-offsite-backups\
  3. Setup rclone for an offsite location: .\rclone\rclone.exe config

Configuration

Scheduled Task

  1. Execute the script with all Required parameters, and the -install 1 parameter.
  2. Check your online target for backups

One-Time Execution

  1. Execute the script with all Required parameters

Parameters

  • -sourceDirectory "C:\Path\To\Astroneer\Files\" Required The directory of your astroneer backups directory.
  • -onlineTarget "gdrive:/ASTRO" Required Sets the online target to use in rclone.
  • -retentionInDays 7 Default: 7 Sets the number of days to hold backups for. Backups will be expired locally and remotely after the rentention time is exceeded.
  • -install 1 If set, will install a scheduled task to run every 15 minutes or every -frequencyInMinutes
  • -frequencyInMinutes 15 Default: 15, Requires -install 1 Sets the number of minutes to run the installed scheduled task. A value of 5 will run the job every 5 minutes. This only has effect if you're using the -install 1 parameter.

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Troubleshooting

  • rclone doesn't recognize the online target given to the script

You can debug your online target like this: .\rclone\rclone.exe ls gdrive:/ASTRO

If you're having trouble using rclone, the documentation will be of significant help.

astroneer-offsite-backups's People

Contributors

alex4108 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.