Skip to content

APet99/OneDrive-Auto-Backup-to-Github

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Automatically Backup OneDrive Files to GitHub

Contributors Forks Stargazers Issues LinkedIn

Buy Me A Coffee


Automatically Backup Important OneDrive Documents to GitHub

Effortlessly create backup versions in-case file become corrupt, or issues arise. Potential Usecase is backing up specified files every night, weekly, etc.


Table of Contents
  1. Getting Started
  2. Contributing
  3. Contact

Getting Started

To get the OneDrive Auto Backup to Github working; follow the steps below.

Prerequisites

  • Note: Only works on Windows Machines.

Installation

  1. Clone the repo
    git clone https://github.com/APet99/OneDrive-Auto-Backup-to-Github

First Time Set-up

  1. Complete all steps under Getting Started

  2. Set the bat file up to execute on a desired interval:

    • Open the Window's Task Scheduler
    start taskschd.msc
    • Click "Create Task"
    • General:
      • Add a name for the task
    • Triggers:
      • New > Set the frequency you prefer
    • Actions:
      • Select the bat file
      • Add Arguements:
        • Parameter 1 (Required): File Path to the git Repository
        • Parameter 2+: The file name of the file in OneDrive that should be backed up.
        • Example:
        myFile1.docx myFile2.xlsx myFile3.pdf


  3. Optionally, The script can be ran from a command line:

    OneDriveBackup.bat C:\my\github\dir\ myFile1.docx myFile2.xlsx myFile3.pdf

Contributing

Want to help? Contributions foster 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

Contact

Alex Peterson - Discord: You12boo_#6682 Email: Petersonalex99@gmail.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published