A collection of scripts I didn't know where else to put
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.
Dan Langille 07be0399a2 fix typos 1 month ago
Bacula fix typos 1 month ago
README.md Add zfs list 1 year ago
check-pkg-availability SC2086: Double quote to prevent globbing and word splitting. 4 months ago
check_pid_sudo Add check_pid_sudo 1 year ago
git-snapshots-for-backup.sh Don't mount things without a mount point. 3 months ago
jail-snapshots-for-backup.sh mention ZFSJAILROOT and how to obtain it from mkjail 1 month ago
list-certs * Format the license clause 9 months ago
rsync-backup-from-mysql01.sh Add details 1 year ago
rsyncer-backup.sh Add rsync-backup-from-mysql01.sh 1 year ago
svn-snapshots-for-backup.sh first commit 1 year ago
test-postgresql-backups.sh For jb33z 3 months ago


I wanted a place to share various scripts.

ZFS snapshot with Bacula

These scripts create ZFS snapshots and allow Bacula to back them up.

[dan@slocum:~] $ zfs list -r system/data/repos
NAME                           USED  AVAIL  REFER  MOUNTPOINT
system/data/repos             21.7G  12.9T   176K  none
system/data/repos/gitea       14.1G  12.9T  2.41G  /iocage/jails/git.langille.org/root/var/db/gitea
system/data/repos/subversion  7.60G  12.9T  7.57G  /iocage/jails/svn/root/usr/local/svn/repos
[dan@slocum:~] $ 


A script for use with Bacula to backup all the jails. Specific to iocage, but you can alter that


A script for use with Bacula to backup my subversion repo.


A script for use with Bacula to backup my git repo.


Some examples which use the above scripts