summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-04-29cj: detect cczeFlorian Pritz1-1/+5
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-03-25backup.sh: Use $(hostname) instead of env variableFlorian Pritz1-2/+1
This way we don't have to worry about zsh and bash Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-03-21ch: Delete /var/lib/machines if it existsFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-02-26borg-restore.pl: Allow + and : in archive namesFlorian Pritz1-4/+9
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-02-20backup.sh: Add configuration file supportFlorian Pritz1-28/+53
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-02-20backup.sh: Only display stats on consoleFlorian Pritz1-2/+1
Keep cronjob mails or logfiles clean of stats. They can be viewed on demand with borg info. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-02-20backup.sh: Add email to copyrightFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-02-20backup.sh: Add licenseFlorian Pritz1-0/+17
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-02-20borg-restore.pl: Add GPL licenseFlorian Pritz2-0/+689
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-02-20borg-restore.pl: Move SYNOPSIS to the topFlorian Pritz1-13/+17
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-02-19borg-restore.pl: Untaint config fileFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-02-19borg-restore.pl: Allow to set BORG_REPO in configFlorian Pritz1-0/+9
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-02-19borg-restore.pl: Add config fileFlorian Pritz1-8/+80
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-02-19borg-restore.pl: Move untaint to Helper packageFlorian Pritz1-25/+19
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-02-19borg-restore.pl: Untaint archive name in restore()Florian Pritz1-1/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-02-19borg-restore.pl: Remove unused modulesFlorian Pritz1-4/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-02-05Add lines-per-secondFlorian Pritz1-0/+5
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-01-22vpn-connect: misc fixesFlorian Pritz1-5/+8
No idea what I did there. Fixed some time ago... Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-01-22ch: Improve list outputFlorian Pritz1-0/+6
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-01-22ch: Add clean-single; improve cbuildFlorian Pritz1-2/+19
cbuild now works with multiple builds running in parallel (hopefully) Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-01-22borg-restore.pl: Use taint mode with DBIFlorian Pritz1-2/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-01-22borg-restore.pl: Fix perlcritic warningsFlorian Pritz1-10/+9
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-01-09borg-restore.pl: Fix time output formatFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-01-09borg-restore.pl: Fix undefined variableFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-01-09borg-restore.pl: Drop some unused dependenciesFlorian Pritz1-3/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-01-09borg-restore.pl: Switch to sqlite dbFlorian Pritz1-143/+232
Rather massive rewrite, but it should be more stable now. Also it looks like the new db is smaller (at least in my case). Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-12-26check_le_expiry.sh: Fix modeFlorian Pritz1-0/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-12-26Add grep-groupFlorian Pritz1-0/+31
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-12-26Add check_le_expiry.shFlorian Pritz1-0/+15
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-12-01Add new scriptsFlorian Pritz4-0/+57
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-12-01miscFlorian Pritz5-12/+9
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-12-01find-inodes: Sort outputFlorian Pritz1-2/+8
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-09-06syncrepo.sh: Improve descriptionFlorian Pritz1-2/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-09-01borg-restore.pl: Remove = from short optsFlorian Pritz1-2/+2
With a short opt it apparently is treated as part of the value rather than a separator. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-26ch: Force umask 022Florian Pritz1-0/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-26ch: Inline chroot creation codeFlorian Pritz1-8/+20
This removes a confusing error message from archbuild which was caused by it being run in an empty directory. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-26ch: Fix shellcheck warningsFlorian Pritz1-6/+8
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-26ch: Return early on errorFlorian Pritz1-2/+2
Fixes an issue with gzip waiting forever when there are no files to be compressed and mv throwing an error. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-26ch: Stop ch kill from initializing a chrootFlorian Pritz1-8/+12
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-23syncrepo.sh: Add some documentationFlorian Pritz1-1/+10
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-19masterkey-sign.sh: Force gpg key ID and gnupg homeFlorian Pritz1-1/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-19Moving shaping scripts to dedicated repoFlorian Pritz2-588/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-19ch: Only compress logs onceFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-16borg-restore.pl: Remove reorganize output when nut running with --debugFlorian Pritz1-1/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-15borg-restore.pl: Support multiple backup prefixesFlorian Pritz1-2/+11
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-15borg-restore.pl: Remove unused Devel::Size moduleFlorian Pritz1-1/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-15borg-restore.pl: Improve documentationFlorian Pritz1-7/+11
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-15backup.sh: Improve prune command to reduce number of archivesFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-15borg-restore.pl: Fix remove_tree not honoring prior chdir()Florian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2016-08-15borg-restore.pl: Fix taint warning, remove debug outputFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>