Sebastian Goscik
00f1b675b7
Refactor upload into its own method
2022-02-19 21:43:33 +00:00
Sebastian Goscik
d69090ba72
Overhauled logging
...
- Better logging format
- More information logged
- Ability to show rclone logging
2022-02-19 19:36:31 +00:00
Sebastian Goscik
30557c1d40
Improved download logging
...
Added much more detail about the captured event
2022-02-19 12:43:53 +00:00
Sebastian Goscik
524a30d0a7
Import order tidy up
2022-02-19 12:03:51 +00:00
Sebastian Goscik
c481810c1e
Improved cmd debug logging
2022-02-19 12:03:51 +00:00
Sebastian Goscik
e63c36d100
Removed need for temp files
...
Download and upload now occur purely from memory
2022-02-19 12:03:51 +00:00
Sebastian Goscik
eebac2386a
Fix purge self reference + delete empty directories
...
The rclone pruge method needed access to self but wasnt called in such a way that it had it.
Previously it would leave empty directories once files were purged. This is no longer the case
by chaining a call to `rclone rmdirs`
2022-02-19 12:02:25 +00:00
Sebastian Goscik
cd96b80097
Initial implementation
...
- CLI + env var settings
- Backup via rclone
- Configurable retention
- Run purge nightly
- 4 levels of logging
2022-02-19 11:53:22 +00:00
Sebastian Goscik
cdd2161005
Ignore .envrc
...
Don't want to accidentally upload credentials to the repo
2022-02-18 22:35:16 +00:00
Sebastian Goscik
6590cd457a
Update lockfile
2022-02-18 22:35:16 +00:00
Sebastian Goscik
56ab585ea4
Remove docs
...
This project is not sufficiently complex to warrant a dedicated docs site.
Instead the readme can be used.
2022-02-18 22:35:16 +00:00
Sebastian Goscik
0202ddda2b
Add python package dependencies
2022-02-18 19:05:07 +00:00
Sebastian Goscik
b614424284
Fix package name in mkdocs config
2022-02-18 19:04:38 +00:00
Sebastian Goscik
7fa33a2551
Bumping minimum python support to python 3.9
...
Pyunifiprotect only supports >=3.9 so, this project must too.
2022-02-18 19:04:14 +00:00
Sebastian Goscik
fe57f626c0
Initial commit
2022-02-18 01:24:02 +00:00