How to back directories in Linux

* Open your favorite text editor and create a file under: /usr/local/bin/backup.sh Copy and paste the script into the backup.sh file # What to backup. backup_files="/var/www /etc /root /home/ubuntu" # Where to backup to. dest="/mnt/backup" # Create archive filename. ho…