summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-07-31syncrepo.sh: Be quiet when running as cronFlorian Pritz1-0/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-07-31syncrepo.sh: Follow http redirectsFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-07-30syncrepo.sh: Disable bwlimit by defaultFlorian Pritz1-2/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-07-30syncrepo.sh: Improve documentation and remove likely useless defaultsFlorian Pritz1-8/+22
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-07-29syncrepo.sh: Unify configuration sectionFlorian Pritz1-6/+9
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-07-29syncrepo.sh: Use function instead of array for rsync commandFlorian Pritz1-9/+18
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-07-29syncrepo.sh: Add missing quotesFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-07-29syncrepo.sh: Move lockfile to /var/lock/Florian Pritz1-1/+1
I'm not sure if a symlink race is possible with lockfiles, but better safe than sorry. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-07-29syncrepo.sh: Merge changes from script deployed on arch serversFlorian Pritz1-4/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-07-26syncrepo.sh: Update lastsync file when lastupdate shows no changesFlorian Pritz1-7/+10
This helps keep the statistics on the Arch Linux website up to date. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-07-08park-disk: Fix error when running as rootFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-07-08Make park-disk executableFlorian Pritz1-0/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-07-08Add park-diskFlorian Pritz1-0/+6
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-07-08Add reset-usb-dev.shFlorian Pritz1-0/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-06-13miscFlorian Pritz3-0/+26
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-06-07Move borg-restore.pl to dedicated projectFlorian Pritz1-859/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-05-11add verify-pacman-repo-db.pl from pacmanFlorian Pritz2-0/+318
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2017-04-29miscFlorian Pritz2-0/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
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>