backup files and directories in Linux Command backup file localhsot login root # tar -cvpzf /BackupDirectory/backupfilename.tar.gz /ImportantData/directory/path