Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cp2004/octoprint-onedrive-backup
Backup your OctoPrint install to OneDrive automatically
https://github.com/cp2004/octoprint-onedrive-backup
backup octoprint octoprint-plugin onedrive
Last synced: 15 days ago
JSON representation
Backup your OctoPrint install to OneDrive automatically
- Host: GitHub
- URL: https://github.com/cp2004/octoprint-onedrive-backup
- Owner: cp2004
- License: agpl-3.0
- Created: 2021-05-30T19:22:22.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-27T13:00:35.000Z (11 months ago)
- Last Synced: 2024-05-02T04:04:45.887Z (7 months ago)
- Topics: backup, octoprint, octoprint-plugin, onedrive
- Language: Python
- Homepage: https://plugins.octoprint.org/plugins/onedrive_backup
- Size: 1.37 MB
- Stars: 15
- Watchers: 1
- Forks: 1
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
# OneDrive Backup Plugin
Automatically upload OctoPrint backups to OneDrive when they are created.
## Installation
Install the plugin via the bundled Plugin Manager or manually using this URL:
```
https://github.com/cp2004/OctoPrint-OneDrive-Backup/releases/latest/download/release.zip
```**Warning**: This plugin requires Python 3.7 or newer to install. To find out more about upgrading your OctoPrint install
to use Python 3, you can take a look at [this post](https://community.octoprint.org/t/upgrading-your-octoprint-install-to-python-3/35158)**Warning 2**: Don't try installing this plugin from the source code on GitHub, since it has a separate build step for the
frontend code. If you are insterested in installing from source to contribute, please see the [contributing guidelines](CONTRIBUTING.md)## Configuration
Once the plugin is installed and loaded, you can set it up to connect to your Microsoft account.
### Adding your account
![Add account](images/config-1.png)
Select 'Add account' to generate a login code. Head to the URL linked to login with your account, entering the code
generated and logging in with your Microsoft account. Grant OctoPrint OneDrive Backup access to your files.Once this is done, return the plugin, and it should show your account name & a success message.
![Login done](images/config-2.png)
### Configuring the backup upload
![Select Folder](images/config-3.png)
You can then configure the folder to save backups to. Select 'Change Folder' and then you should be able to navigate
through your OneDrive folders to find somewhere for backups to be saved.![Backup upload progress](images/config-4.png)
Maybe give it a test after configuring it - head to the backup & restore tab and create a backup. Upload progress will
be shown in a notification in the UI.## Important Security Notice
Please be aware that this plugin stores its tokens for accessing your Microsoft account in OctoPrint's
configuration folder, as expected. As a result, if your OctoPrint install (or the server it is running on) is
compromised, your files in OneDrive are at risk.**It is not recommended to use this plugin on OctoPrint installs accessible directly from the
internet, or multi-user installs where you may not trust every user.**The author of this plugin is not responsible for any damage caused as a result of using this plugin.
## Contributing
Please see the [contributing guidelines](CONTRIBUTING.md) for more information.
## Sponsors
- [@KenLucke](https://github.com/KenLucke)
- [@CmdrCody51](https://github.com/CmdrCody51)As well as 2 others supporting me regularly through [GitHub Sponsors](https://github.com/sponsors/cp2004)!
## Supporting my efforts
![GitHub Sponsors](https://img.shields.io/github/sponsors/cp2004?style=for-the-badge&label=Sponsor!&color=red&link=https%3A%2F%2Fgithub.com%2Fsponsors%2Fcp2004)
I created this project in my spare time, and do my best to support the community with issues and help using it. If you have found this useful or enjoyed using it then please consider [supporting it's development! ❤️](https://github.com/sponsors/cp2004). You can sponsor monthly or one time, for any amount you choose.
## Check out my other plugins
You can see all of my published OctoPrint plugins [on the OctoPrint Plugin Repository!](https://plugins.octoprint.org/by_author/#charlie-powell) Or, if you're feeling nosy and want to see what else I'm working on, check out my [GitHub profile](https://github.com/cp2004).
## ☁️