Giter Site home page Giter Site logo

aessing / unifi-udm-backup Goto Github PK

View Code? Open in Web Editor NEW
33.0 1.0 3.0 3.61 MB

A Docker container which copies automatic backups from the Unifi Dream Machine to a FTP server

Home Page: https://github.com/aessing/udm-backup-ftp

License: MIT License

Shell 55.09% Dockerfile 44.91%
unifi ubiquiti dream-machine unifi-dream-machine backup ftp container docker udm backups

unifi-udm-backup's Introduction

Banner that says Andre Essing - Cloud Solution Architect, alongside a cartoon illustration of Andre

πŸ‘‹ Hi there, I'm Andre

Data, Cloud, Azure & Azure Cosmos DB Enthusiast, Community Addict and Cloud Solution Architect @ Microsoft

πŸ¦Έβ€β™‚οΈ About Me

In my role as Cloud Solution Architect, I advise customers in topics all around the Microsoft Data Platform.

Since version 7.0 I am gathering experience with the SQL Server product family, where I had a focus on infrastructure topics, mission-critical systems and security. Today I concentrate on working with data in the cloud, like Modern Data Warehouse architectures and Azure Synapse Analytics, Artificial Intelligence and new scalable database systems like Azure Cosmos DB.

In my spare time I am speaking at user groups and at international conferences, teaching about cloud data services and how to use them in the best possible manner. Also, I am working on different small community and open-source projects.

🧭 Find me on the web

If you have a question, or you just want to contact me, you can find and follow me on:

Link to Andres website Link to Andres employer
Link to the GitHub profile of Andre Link to the LinkedIn profile of Andre Link to the Twitter profile of Andre

πŸ‘¨β€βš–οΈ Disclaimer

THE CONTENT OF THIS REPOSITORY IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE CONTENT OF THIS REPOSITORY OR THE USE OR OTHER DEALINGS BY CONTENT OF THIS REPOSITORY.

unifi-udm-backup's People

Contributors

aessing avatar dependabot[bot] avatar gtrabanco avatar thib3113 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

hexamus net47 tvhggg

unifi-udm-backup's Issues

Test for stability

Test the actual release of the container for stability issues or problems.

Allow to skip "protect" backup

In some cases (my case), unifi protect is not used . So, not backuped, and the folder /mnt/data_ext/unifi-os/unifi-protect/backups:/backups/protect: doesn't exist

Context

  • UDM-pro
  • unifi protect disabled (because use of another solution)

Possible Implementation

check if $PROTECT_MOUNT is empty


Because of your contributing, I doesn't open a pull request, for the moment, but here is how I update the on_boot.d/80-udm-backup-ftp.sh
https://github.com/thib3113/udm-backup-ftp/commit/e2af2c3e53d9ff3a14b8acaa987298db564238d4

I've just move some informations in vars, and checking if $SDN_MOUNT / $PROTECT_MOUNT is filled or not, and add the -v option depending .

My only concerns is : for the moment, the only problem I saw (not sure), is "what about if I empty SDN_MOUNT" ?
I'm not sure, if the -v order is important, and correspond of the dockerFile VOLUME order ... In the worst case, the protect backup will be in unifi folder

Find a better way to store the password

The FTP password is stored in the script and will be written to the cron.d-file. From a security point of view, the password should be encrypted and stored in a separate file.

  • Investigate a solution
  • Implement a better way to store the FTP password

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.