When rclone updates its config it first tries a rename - that fails if
the file itself is bind-mounted and as a fallback rclone creates a
unique backup file (rclone.conf.old-<epoch>). After a few days
filesystem contains millions of these zero-byte files that can exhaust
the inode budget on small filesystems.
Update all Docker examples to follow the rclone manual and bind-mount
the entire /config/rclone directory rather than the single rclone.conf
file.
Signed-off-by: Michal Wojcik <michal.t.wojcik@gmail.com>
* Updated poetry dependencies to remove optional flags on dev/test
* file fixups from running poetry run tox
* Updated to Python 3.10
* Switched to UI Protect library
* Updated changelog
* Fix docker permissions
- Make scripts executable by everyone
- Correct XDG variable name to fix incorrect config path being used
* Revert "Updated poetry dependencies to remove optional flags on dev/test" and regenerated lock file
This reverts commit 432d0d3df7.
---------
Co-authored-by: Sebastian Goscik <sebastian.goscik@live.co.uk>
* Added optional argument string to pass directly to the `rclone delete` command used to purge video files. This will allow for immediate deletion of files on destinations where the file might otherwise go to a recycle bin by default.
---------
Co-authored-by: Igor Wolbers <igor@sparcobv.onmicrosoft.com>
Co-authored-by: Sebastian Goscik <sebastian.goscik@live.co.uk>
- Each task is now its own class
- Added a database to track backed up events and their destinations
- Added task to check for and backup missed events
Add in the capability to pass extra arguments through to rclone. These
are passed verbatim, and are set to '' by default. They can be passed
either with --rclone-args or by setting the environment variable
RCLONE_ARGS.
For example. the expectation is that the end user can use these for
setting a bandwidth limit so that rclone uploading doesn't saturate
their internet bandwidth.