Jim Paris
35c72e7ce6
backup: calculate size only once
We need to calculate size so we get an idea of actual used disk space
(which is closer to how much maximum space will be used in the backup,
in case files have huge holes). Calculate it once to avoid errors.
9 months ago
Jim Paris
27213033a2
backup: use decorated paths for matching patterns
By ensuring that directory names end in '/', the behavior of
"match only directories if the pattern ends with /" comes for
free based on how wcmatch.glob works, so we don't need to run
the regex match twice.
9 months ago
Jim Paris
5152a316c6
backup: use helper to format binary paths as strings
9 months ago
Jim Paris
46195daaaa
Improve borg process spawning and result checking
9 months ago
Jim Paris
ffe13a45e6
Add --debug option
9 months ago
Jim Paris
34817890b2
Update README cheat sheet
9 months ago
Jim Paris
0af42b8217
Fix shebang line after setup
9 months ago
Jim Paris
738573a292
Fix type issue
9 months ago
Jim Paris
4a707968ab
Spawn borg and pass input
9 months ago
Jim Paris
356f6db2ca
Remove debug prints
9 months ago
Jim Paris
e72564436c
Update git setup
9 months ago
Jim Paris
74e9e82117
Change to borg dir for setup
9 months ago
Jim Paris
e82d40bbfb
Fix some exclude/include path issues; misc setup improvements
9 months ago
Jim Paris
22b663fa61
Rework how exclude/include pattern matching works a bit
9 months ago
Jim Paris
863b7acc9b
Add arg to specify borg program
9 months ago
Jim Paris
0f56415493
Use actual file blocks rather than apparent size; doc updates
10 months ago
Jim Paris
0039ca1ee0
Implement filesystem scanning with configurable filters
10 months ago
Jim Paris
6978cfc012
Continue reworking towards local copy of borg, etc
10 months ago
Jim Paris
883f984aef
Restructure things; we will clone this repo directly on each client
10 months ago
Jim Paris
2dd60aaf28
Add initial version of backup file lister
11 months ago
Jim Paris
552e929247
Fix apt commandline
11 months ago
Jim Paris
de53a0c11d
Add README, remove useless mount.sh
11 months ago
Jim Paris
0f82c74aaa
Fix some issues in generated scripts; make passphrase non-executable
11 months ago
Jim Paris
a0a9b70fd7
Finish first version of script
11 months ago
Jim Paris
cec72d0dcb
Initial commit
1 year ago