My personal collection of handy scripts. Mostly bash.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
david 89e5a2a948 added 2 weeks ago
archive removed gitorious install script 9 years ago
cisco_snippets setup zsh updates 3 years ago
clonebackup added clonebackup files 9 years ago
db repo cleanup, moved alot of stuff to wiki 9 years ago
ftpsftp added old ftpsftp scripts 8 years ago
kvm-tools added old kvm-tools scripts 8 years ago
monitoring added system check (draft) 11 months ago
thinkpad_x131e added various scripts (thinkpad, cisco) 5 years ago
vmware added and moved to a subfolder 1 year ago
LICENSE updated date in license file 1 year ago Added v0.1 of 8 months ago changed 6 years ago added check_glue_records 5 years ago added scripts from other places 10 years ago added start_vmware and flash 4 years ago repo cleanup, moved alot of stuff to wiki 9 years ago added 2 weeks ago added a script for installing the moka icon theme 8 years ago added more dependencies to yaourt install script 8 years ago added 4 months ago renamed lifesaver 8 years ago added and 9 years ago added lomount script for mounting partitions from within a diskdump 9 years ago added first version of minecraft server hosting tool 4 years ago added 3 weeks ago added various scripts (thinkpad, cisco) 5 years ago added which is a wrapper script for from 2 years ago removed server tips package from ubuntu prep script 7 years ago added two perl learing scripts 8 years ago recreate ssh host keys 8 years ago added two perl learing scripts 8 years ago added 9 years ago fixed a bug where the password file and repo were given twice 7 months ago put some scripts from in there and moved to archive 9 years ago working on zsh setup script 3 years ago added speedtest script 2 years ago start_vmware 4 years ago moved mbots in here and renamed a couple of scripts to more speaking names 9 years ago


My personal collection of handy scripts. mostly bash.

This script is my very simple take on how to perform restic backups.

First you need to download the script from this Git repository. I usually just put it in root's home.

# Download
sudo curl -o /root/
sudo chmod +x /root/

In the config section at the top of the script you can change various options to your liking.

# ****  CONFIG  ****

You can run directly from the command line

# Usage
/root/ /local/path <additional flags for the backup subcommand>

# Example
/root/ /home -x -e ./.snapshots

or using cron.

# Cronjob
47 0 * * * /root/ /home

# Cronjob (with healthchecks notification)
47 0 * * * /root/ /home && curl -fsS -m 10 --retry 5 -o /dev/null

Happy backuping! :-)

One-line installer for zsh, oh-my-zsh and various zsh plugins.

curl -fsSL | bash

It is still highly experimental and will probably fail on your system.