This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Backup scriptlet. Public Domain. Made by Bjarni, https://bre.klaki.net/ | |
# | |
# This will look in any device mounted on /media/$USER/, and if it has a directory | |
# named home-00000000 or data-00000000, it will use one of two rsync-based strategies | |
# to create a backup snapshot. To start using new media, just create one of those | |
# directories and run the script. | |
# | |
# I have two strategies because some of my backup disks are too small for my "Data" |