diff options
| author | David Arthur <mumrah@gmail.com> | 2013-11-13 13:29:08 -0500 |
|---|---|---|
| committer | David Arthur <mumrah@gmail.com> | 2013-11-13 13:29:08 -0500 |
| commit | bda24be00314f7146bc5064193497f640004faa4 (patch) | |
| tree | e7a3d2f601eb16aa4ec99fbf282cc604b9c0cbad | |
| parent | 8a2e91813b0ccd8989870a87e36ec3b609942afa (diff) | |
Add a "latest" symlink when backup is successful
| -rw-r--r-- | rsync_tmbackup.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rsync_tmbackup.sh b/rsync_tmbackup.sh index 754189f..ea5fb8f 100644 --- a/rsync_tmbackup.sh +++ b/rsync_tmbackup.sh @@ -226,6 +226,7 @@ while [ "1" ]; do fi if [ "$RSYNC_EXIT_CODE" != "0" ]; then + ln -s $DEST $DEST/../latest fn_log_error "Exited with error code $RSYNC_EXIT_CODE" exit $RSYNC_EXIT_CODE fi |
