I have a Linux 9.0 box. I'd like to perform the backup for some directory of the box. I have an external hard drive that is recognized by the Linux Red Hat . This external hard drive is connected with the Linux box via a USB 2.0 port. I was able to mount the external hard drive and access it, writing to it manually.
Now, I'd like to periodically backup some directory of the Linux box to the external hard drive. For example, make backup once every 12 hours. I heard that we need to write some unix shell script to make it work automatically, i.e. every 12 hours, the box automatically write the data of the specified dirs to the external hard drive.
If you know how which steps need to be done, including how to write the unix shell cript, to make the linux box automatically perform the backup, please give some help,