Copy Folder from Remote to Local in Ubuntu Linux using scp, rsync, SFTP

Sometimes you need to take a backup of the directory/folder or file from the remote server to the local server. When you have to copy directories/folders or files from the remote server to the local