[Solved] Backup bash script explain


This Bash script will:

  1. Set the source directory (SOURCE).
  2. Set the destination backup directory (BACKUP).
  3. Set the destination directory for latest full backup (LBACKUP).
  4. Get the current system date in Y-m-d-Time format (DATE).
  5. Sets the destination directory as BACKUP+/+DATE+-diff.
  6. Rsync/copy the files from the SOURCE to the DESTINATION folder by comparing the files from LBACKUP directory.
  7. Enters the destination folder (cd "$DESTINATION").
  8. Removes any empty folders (find).

1

solved Backup bash script explain