diff --git a/scripts/backup_garrus.sh b/scripts/backup_garrus.sh index 530bea3..aac6f07 100755 --- a/scripts/backup_garrus.sh +++ b/scripts/backup_garrus.sh @@ -9,12 +9,12 @@ shopt -s expand_aliases # make aliases work ### update local backup dir ### ############################### -# first part is still kind of manual for now... BACKUP_DIR=/sync/backup BACKUP_DIR_HOME=$BACKUP_DIR/home if [[ !($HOME/.bash_aliases_local -ef $BACKUP_DIR_HOME/.bash_aliases_local) ]]; then ln $HOME/.bash_aliases_local $BACKUP_DIR_HOME/.bash_aliases_local fi + BACKUP_DIR_ROOT=$BACKUP_DIR/root/etc rsync_backup --link-dest="/etc/ssh/" /etc/ssh/ $BACKUP_DIR_ROOT/ssh/ if [[ !(-d $BACKUP_DIR_ROOT/udev/rules.d) ]]; then