How to take back up in linux using tar and gzip? part 1 | tar | gzip | RHEL | Linux | back up

Published: 24 July 2020
on channel: Red hat Linux Training for beginners
319
12

To backup the file using tar
 To backup the file using tar the syntax is
#tar -cvf (destination and name to be) source file
#tar -cvf /temp/opt.tar /opt
Apply gzip on tar file and check the size.
 To apply gzip on a tar file, the syntax is
#gzip file name
#gzip /temp/opt.tar

To gunzip a file the syntax is
#gunzip file name
#gunzip opt.tar.gz

 To untar a file the syntax is
#tar -xvf file name
#tar -xvf opt.tar


Watch video How to take back up in linux using tar and gzip? part 1 | tar | gzip | RHEL | Linux | back up online, duration hours minute second in high quality that is uploaded to the channel Red hat Linux Training for beginners 24 July 2020. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 319 times and liked it 12 visitors.