* Add user option for docker exec
* Add test for user option
* Return test version for image
* remove gitea config file
* refactor tests
* remove comments & fix image name
* add docs
* cleanup
* Update README.md with suggested correction
Co-authored-by: Frederik Ring <frederik.ring@gmail.com>
* fix backup command & bind folder instead of volume
---------
Co-authored-by: tao <generaltao.md@gmail.com>
Co-authored-by: Frederik Ring <frederik.ring@gmail.com>
* Run tests in GitHub actions
* Do not try to allocate a pseudo TTY when running compose commands
* Try hard disabling TTY allocation
* Use compose plugin
* Test scripts shall not try to allocate a TTY
* Pass correct base version
* Check whether env var is even needed
* Stop running tests in CircleCI
* Run releases from GitHub actions as well
* Manually construct tags to be pushed on release
* Scaffold Azure storage backend that does nothing yet
* Implement copy for Azure Blob Storage
* Set up automated testing for Azure Storage
* Implement pruning for Azure blob storage
* Add documentation for Azure Blob Storage
* Add support for remote path
* Add azure to notifications doc
* Tidy go.mod file
* Allow use of managed identity credential
* Use volume in tests
* Auto append trailing slash to endpoint if needed, clarify docs, tidy mod file
* Add test case for extending image and calling through to rsync
* Keep backup file location env var
* Add documentation
* Work against untared content in test
* Simplify logging, fix WebDAV spelling
* Define options types per package
* Move util functions that are not used cross package
* Add per file license headers
* Rename config type
* Added abstract helper interface and implemented it for all storage backends
* Moved storage client initializations also to helper classes
* Fixed ssh init issue
* Moved script parameter to helper struct to simplify script init.
* Created sub modules. Enhanced abstract implementation.
* Fixed config issue
* Fixed declaration issues. Added config to interface.
* Added StorageProviders to unify all backends.
* Cleanup, optimizations, comments.
* Applied discussed changes. See description.
Moved modules to internal packages.
Replaced StoragePool with slice.
Moved conditional for init of storage backends back to script.
* Fix docker build issue
* Fixed accidentally removed local copy condition.
* Delete .gitignore
* Renaming/changes according to review
Renamed Init functions and interface.
Replaced config object with specific config values.
Init func returns interface instead of struct.
Removed custom import names where possible.
* Fixed auto-complete error.
* Combined copy instructions into one layer.
* Added logging func for storages.
* Introduced logging func for errors too.
* Missed an error message
* Moved config back to main. Optimized prune stats handling.
* Move stats back to main package
* Code doc stuff
* Apply changes from #136
* Replace name field with function.
* Changed receiver names from stg to b.
* Renamed LogFuncDef to Log
* Removed redundant package name.
* Renamed storagePool to storages.
* Simplified creation of new storage backend.
* Added initialization for storage stats map.
* Invert .dockerignore patterns.
* Fix package typo
* Refactor label command mechanism to be more flexible
* Run all steps wrapped in labeled commands
* Rename methods to be in line with lifecycle
* Deprecate exec-pre and exec-post labels
* Add documentation
* Use type alias for lifecycle phases
* Fix bad imports
* Fix command lookup for deprecated labels
* Use more generic naming for lifecycle phase
* Fail on erroneous post command
* Update documentation