Added missing command.

dev
Franco Masotti 3 years ago
parent 3c6b9b7373
commit 7212801928
  1. 3
      _posts/2019-02-23-my-backup-system.md

@ -1,7 +1,7 @@
---
title: My backup system
tags: [bash, shell, backup, rsync, LUKS, cryptsetup, sync]
updated: 2019-05-01 15:17
updated: 2019-05-01 17:30
description: A detailed exaplanation of my backup system which is both encrypted and unencrypted for different purposes.
---
@ -155,6 +155,7 @@ DST="${2}"
&& printf "%s\n" 'check inputs' 2>&1 && exit 1
[ ${UID} -ne 0 ] && printf "%s\n" 'user must be root' 2>&1 && exit 1
START=$(date +%s)
if [ "${SRC}" = '/*' ]; then
# Use the exclude option to avoid infinite loops due to symlinks and to
# avoid backing up the /data mountpoint.

Loading…
Cancel
Save