Coder Social home page Coder Social logo

jokay / docker-loxone-backup Goto Github PK

View Code? Open in Web Editor NEW
9.0 3.0 0.0 89 KB

Multi-platform Docker image for automated Loxone backups based on Alpine Linux.

Home Page: https://hub.docker.com/r/xjokay/loxone-backup

License: MIT License

Dockerfile 24.06% Shell 75.94%
backup docker docker-container docker-image hacktoberfest loxone loxone-backup loxonebackup

docker-loxone-backup's Introduction

Greetings

Welcome to my GitHub profile.

"Perfection is attained not when there is nothing more to add, but when there is nothing more to remove."
Antoine de Saint Exupéry

docker-loxone-backup's People

Contributors

jokay avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

docker-loxone-backup's Issues

No longer existing files won't be deleted

Describe the bug

No longer existing files won't be deleted.

To Reproduce

Steps to reproduce the behavior:

  1. Delete file
  2. Start the container
  3. File is not removed on backup

Expected behavior

Files should be synced and therefore the file should be deleted.

Environment (please complete the following information):

  • Version: 1.1.0
  • OS: Debian
  • Docker version 20.10.21
  • Docker compose version 2.12.2

Command used to run the container

Default (as in the sample).

Including specific folders for backup

Is your feature request related to a problem? Please describe.

It's not possible to include specific folders for backup.

Describe the solution you'd like

Same as for excluding folders, by supporting INCLUDE_DIRS as environment param.

Describe alternatives you've considered

None.

Additional context

The lftp param -i should work for this.

Excluding folders from backup

Is your feature request related to a problem? Please describe.

It's not possible to exclude specific folders from the backup.

Describe the solution you'd like

Excluding specific folder(s) from the backup should be configurable.

Describe alternatives you've considered

None.

Option to increase verbosity for FTP transfer (ftp.log)

Is your feature request related to a problem? Please describe.

It can be helpful to have a more verbose log for the FTP transfer (ftp.log).

Describe the solution you'd like

There should be an environment variable (e.g. VERBOSE) to increase the verbosity level (-vvv).

Describe alternatives you've considered

None.

Change archive filename

Is your feature request related to a problem? Please describe.

Currently the archive filename lacks some information.

Describe the solution you'd like

The archive filename should contain the Loxone IP and the term "loxone backup".

e.g. loxone_backup_192.168.1.10_2022-12-03_11-47-29.tar.gz

Describe alternatives you've considered

None.

Support for cron

Is your feature request related to a problem? Please describe.

Not a problem, but some people may prefer using cron over an interval.

Describe the solution you'd like

Support for the default cronjobs by environment parameter.

# do daily/weekly/monthly maintenance
# min	hour	day	month	weekday	command
*/15	*	*	*	*	run-parts /etc/periodic/15min
0	*	*	*	*	run-parts /etc/periodic/hourly
0	2	*	*	*	run-parts /etc/periodic/daily
0	3	*	*	6	run-parts /etc/periodic/weekly
0	5	1	*	*	run-parts /etc/periodic/monthly

e.g. CRON={15min|hourly|daily|weekly|monthly}

Describe alternatives you've considered

None.

Additional context

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.