Skip to content

Instantly share code, notes, and snippets.

View DocCyblade's full-sized avatar

Ken Robinson DocCyblade

View GitHub Profile
@DocCyblade
DocCyblade / auto-pool-assign.sh
Last active October 29, 2022 17:28
Proxmox Backup script to auto assign tapes to media pools
#!/bin/bash
# --------------------------------------------------------------------------------
# Copyright (C) 2022 Kenneth R. Robinson (DocCyblade)
# https://github.com/doccyblade
# --------------------------------------------------------------------------------
# GNU GPLv3
# --------------------------------------------------------------------------------
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@DocCyblade
DocCyblade / format-all-tapes.sh
Last active December 7, 2023 17:01
Script for Proxmox Backup to quick format all tapes in a library with a prefix. Will also remove it from the media pools
#!/bin/sh
# format-all-tapes.sh
# v2.0
# by Ken R. Robinson (DocCyblade)
# https://github.com/doccyblade
#
# Tested on PBS v2.2-7
#
# Source:
@DocCyblade
DocCyblade / keybase.md
Created May 17, 2017 03:03
My keybase.io sign

Keybase proof

I hereby claim:

  • I am DocCyblade on github.
  • I am doccyblade (https://keybase.io/doccyblade) on keybase.
  • I have a public key whose fingerprint is 7F0B A65F AEFC FBA3 2A4C 5C18 BEA0 2382 8FD6 4046

To claim this, I am signing this object:

@DocCyblade
DocCyblade / mayan-edms
Last active October 30, 2016 23:49
TurnKey Linux Mayan EDMS TKLBAM hook
#!/bin/bash -e
# -----------------------------------------------------------------
# TurnKey Mayan EDMS Backup/Restore TKLBAM Hook Script
# -----------------------------------------------------------------
# THIS SCRIPT IS PART OF TURNKEY LINUX MAYAN EDMS
#
# Script by Ken Robinson (https://github.com/DocCyblade)
# SOURCE:https://gist.github.com/DocCyblade/ba70f04450c21c54f015d695b12522f1
#
@DocCyblade
DocCyblade / tklbam-hook-sample.sh
Last active October 27, 2016 22:33
Sample TKLBAM bash hook script using functions
#!/bin/bash -e
# ------------------------------------------------------
# Script by Ken Robinson(https://github.com/DocCyblade)
#
# THIS SCRIPT IS COVERED UNDER THE GNU/V3 LICENSE.
# (https://www.gnu.org/licenses/gpl-3.0.txt)
# ------------------------------------------------------
# This is a disabled hook example.
@DocCyblade
DocCyblade / tkldev-refresh.sh
Last active August 31, 2015 21:54
Script to reset your TKLDev tool chain
#!/bin/bash
# Script to reset your TKLDev tool chain
# This will force a re-download of all TKLDev stuff
# that is downloaded on firstbook
#
# We also clear the proxy cache as well
# Clear turnkey dir / They will be re-created later
echo "Clear turnkey directories"