This guy is amazing. I learned a lot from Eli before I started my journey in the IT industry back in 2017. I have been jobless for about three years now, but I’m about to apply again for an IT staff position. Several companies require qualifications for a better understanding of Linux or more advanced knowledge. It took me about 4-5 hours to finish all of his 9 video tutorials to wakeup and refresh the learnings i had before. Even though the videos are old, they are still very effective. Thanks Eli! the best!
Eli is the first source of information when I want to learn something new or just review things I have not worked with in a while. He is clear, easy to understand and the material he uses to show you something is easy to get.
Einstein said that any intelligent fool can make things bigger, more complex. But it takes a touch of genius and lots of courage to move something in the opposite direction. Thank You for this tutorial
Two questions: 1) How to exclude more than one path? Like: I don't want to keep /mnt and /media and /tmp 2) How to create a backup file for more than one path? Like: I want to create an archive file, and I want it to include /usr/share and /bin and /var/www. BWT sir, you're awesome. Keep do this. :)
Thank you so much for making Linux so simple to understand. You are the best teacher ever! I watched all the 9 videos from introduction to the end, every class was very easy to understand and I would be glad to watch all your classes. You just earned a subscriber.
Here we are, some 10 years later, and THIS is still the best way I could find to back up my Linux systems (maintaining permissions and symlinks) to a NFS mounted NAS drive and AWS S3 bucket.
Best Video, your narration is too good to keep track of and your recap actually makes it hard to forget! Thank you soo much! Look forward for more videos :)
There is lot more to tell about tar. t - option/switch/argument for me is the sugar when I use tar . Width a "t" option/switch/argument You can look inside tar archive :) Also its possible to extract one file after You had a look with a "t" option. About sudo - I belive Eli has configured sudo to be used without a password for certain non authoritative user to operate with system as a root. It's wrong - sudo loses the concept why it was made :) Also using sudo in cron - it's wrong for most of us, in case of Eli - as I said, I believe he has made one non authoritative user to be used without password. Also - sudo - it is not in all Linux flavours / distributions. Eli I would enchant this video course. But!!! Even for me it was great to listen - You are great orator. Good Job.
Linux has a very helpful command called "file". This command can tell you what a file contains based on the contents of the file. It can tell you that a file is a compressed file, tar file, mp3 file, python file, etc. etc. So if you do create a compressed tar file called "Bob", you can identify it years later!
hi Eli, I have an idea for part two of this tutorial - I intend to do backup of my system, so that once it will get corrupt (after update/upgrade), I could go back to previous working Linux before corruption of the system. That's something I am missing in this tutorial. BTW - your tutorials are amazing! I've seen around 20 to date and they are so easy to understand! thank you for sharing with your knowledge with us publicly. cheers!
LOL, Dang it ELI!!! I watched this video trying to remember if its: ....--exclude=/mnt.... or ....--exclude = /mnt... with spaces Eli: "I'm not going to exclude anything, just to make life easier..." LOL that was funny
All very good! Except using wordpress :-) Thank you for sharing! Just wanna add that performing the tar -c.. command is NOT adding new nor updating old files inside the tar.gz file, every time it overwrite them, just take it into consideration! Also you can recover a single file from the tar, by using the --file option.
I like Your Channel So much You are the best teacher i ever had ! You are amazing Guy Too bad I can't join you in real Classroom With my laptop :) have a nice Day Greeting from Algeria
Woow AWESOME course! You are taking time explaining every single thing, + you are speaking at a perfect pace for a non-native English speaker Thumb up + Subscribed Are the 19 who disliked your video, tried it on Windows?
# With this you can type tard and untar as shortcuts for the tar commands with handles. alias tard "tar -cvpzf" >> .bashrc alias untar "tar -xvpzf" >> .bashrc
The way you presented Linux videos were really fantastic and it was very crystal clear.Can you share me the link if you have complete Linux Courses Videos....
I've been enjoying these tutorials and find them very helpful. Three questions: 1. when extracting from a tar ball, why must you tell tar the file is compressed. Can't it figure that out itself? 2. If I want to schedule a cron job to be performed every Tuesday and Thursday would I enter "24" in the day-of-week location? 3.Suppose I want to schedule a backup once per day with cron, but I don't want the tar ball created today overwritten by the tar ball created tomorrow. I assume there's a way of avoiding that.
I haven't researched these questions yet, so I'm sure that there's an answer out for this but it would have been nice if they had been covered in the video: 1) When running these scheduled cron jobs, is there a way for it to check to see if hardware is active and above a certain level first (say, CPU above 95% and the fans are going nuts), or if some specific program is already running, wait for that task to finish before proceeding with the backup? It sure would suck if you suddenly had cron trying to do a full / backup when you're running some extremely intensive program. 2) When a new cron job backup is run, will it overwrite the existing tarball in that directory, or does it automatically increment the tarball filenames in some fashion? I.e. backup.tar.gz1, backup.tar.gz2, etc. I'm assuming that it just overwrites the old file. Does anyone happen to know how you would get cron to avoid overwriting previously created backups? 3) This is really great tutorial for full backups, but how would you go about performing differential or incremental backups? My guess is that the answer is going to be "Just always do Full backups", but there have to be at least *some* cases out there where doing full backups, even with compression, simply wouldn't be acceptable (think 20TB backup when only a 1kb txt file has been modified).
Hi Eli ! Great videos ! just for you to know. There is a problem (at least for my view) on 11:17. It does not show you type the commands for the tar...only shows when it's finishing !. Best regards !
Sorry Eli, I know your video is good.. but in the video how did you get wwwbackup.tar.gz? Did you just go through vi and make that empty file or what? Whenever I enter the same command, it says it's not a file or directory or permission denied..
Eli thanks for all this videos Small problem on this: In the Lesson „Linux Backup with TAR und Cron Jobs“ something with the order oft the virtual sessions is messed up. The terminal sessions are starting in the middle and later from begin.
ty this helped but for some reason the commands don't work with cron. I've added date codes so that it puts the date. The syntax works outside of cron but no in the cron tab. Not sure why. Instead I created a bash script and just had it handle it and then cron tabbed the bash script.
hi Eli, I watched the video again and you explain a bit how to backup parts or the whole system and how to recover tar ball file, but I was thinking about step-by-step backup of the whole sytem and especially detailed guide how to recover that system, so that it will not have to be re-installed, but just recovered from the tar ball file. for me it looks kind of rocket science, but you probably would say that all was explained already... . anyway, if I will find out somewhere on google.:)
I don't have a server, just a laptop that I'm wanting a simple way to backup and restore. Can I use this lesson to backup my laptop or is there a better method for my laptop then this lesson dealing with servers? Thanks.
Your video is so helpful and informative. Can post another video for how to automatically backup files for all users home directory using tar and shell scripting?
Hello Eli Thanks for the sharing knowledge . I have a query , how can we restore the data to same directory where the data is missing instead of creating a recover directory and moving to it . thanks Satish
What if you want to use cron to create an additional backup file instead of overwriting the existing one? So, after an hour you'd have 60 backups, each with a unique name... obviously.
I like your lessons - very clear and simple. I am learning a lot from your lessons. I have one question. How can we backup to external hard drive from the command line. I am new to linux and I would appreciate if you teach us about this. Thanks.
Hey Eli I have a question, im running linux mint 19 and I was wanting to add a custom desktop environment from the web, ive already got the file and its a .tar.gz but I cant figure out how to add it
Hi, i want to schedule a cron entry which run a videos at particular time, how can i do it. i tried below one but didn't work. i'm sure about timings and date but missing sometime else 28 20 31 * * cd /home/mr-surya/Downloads; DISPLAY=:0 vlc; /usr/bin/xdg-open Chilakamma.mp4 2>/tmp/errorra
This guy is amazing. I learned a lot from Eli before I started my journey in the IT industry back in 2017. I have been jobless for about three years now, but I’m about to apply again for an IT staff position. Several companies require qualifications for a better understanding of Linux or more advanced knowledge. It took me about 4-5 hours to finish all of his 9 video tutorials to wakeup and refresh the learnings i had before. Even though the videos are old, they are still very effective. Thanks Eli! the best!
Eli is the first source of information when I want to learn something new or just review things I have not worked with in a while. He is clear, easy to understand and the material he uses to show you something is easy to get.
ELI IS TEACHER WHO CAN TEACH
Einstein said that any intelligent fool can make things bigger, more complex.
But it takes a touch of genius and lots of courage to move something in the opposite direction.
Thank You for this tutorial
you are a star after this many years, no one has such a great description
Two questions:
1) How to exclude more than one path?
Like: I don't want to keep /mnt and /media and /tmp
2) How to create a backup file for more than one path?
Like: I want to create an archive file, and I want it to include /usr/share and /bin and /var/www.
BWT sir, you're awesome.
Keep do this. :)
tar -xvpzf your_backup.tar.gz --exclude={"/home/*/Downloads/","/home/*/Documents"}
Thank you so much for making Linux so simple to understand. You are the best teacher ever! I watched all the 9 videos from introduction to the end, every class was very easy to understand and I would be glad to watch all your classes. You just earned a subscriber.
what a king you are! That is how things should be explained. I run into many tutorailas that skip points that make people confusing..Thank you
Great instruction. Just moved a website to a dedicated server and plan on using this to perform backups. Thanks dude!
Eli you have by far the best tutorials on RUclips! I've learned so much from these linux videos and I love how you focus on what matters!
I just went through your whole Linux course tonight, massively appreciated, very clearly presented.
You can backup /
If you need a bare metal backup you can just use a piece of backup software.
you made my life a lot easier with this video.....keep posting these kind of videos...you are too good in teaching eli
wOw!!!!!!
I never thought I would learn Linux this fast.... 2 Days and i know hell lot of things....
.
THUMBS UP ELI !!!! U R AWESOME
Thx Eli you are the bomb!! I've watched about 35 of your videos so far and haven't been disappointed yet, thanks for making it easy to grasp!
Excellent Teacher I have seen in my life Since I started the school on 1978
Watching in 2022. Eleven years later this is still very useful. thank you.
I wish I would have found you weeks ago! Thank you for explaining this down to the meaning of each character. Much appreciated!
Here we are, some 10 years later, and THIS is still the best way I could find to back up my Linux systems (maintaining permissions and symlinks) to a NFS mounted NAS drive and AWS S3 bucket.
Can't wait for tom to watch this so i'm watching it now... watched your whole Linux class straight and i loved it.. THANKS ALOT!
Sir,can you please do a video on Shell scripting(Bash and Perl)?
Thank you for your efforts to share your knowledge to everyone who wants. These are very helpful me.
Best Video, your narration is too good to keep track of and your recap actually makes it hard to forget! Thank you soo much! Look forward for more videos :)
Thanks Eli for your patient and clear class. I learned a lot from you.
God bless you Eli! Your videos are lifesavers! Thank you ! I wish I could replace my current teacher with you.
Nano is an excellent editor for those finding Vim too difficult.
Fantastic tutorial. I am so happy that I found your channel. Keep up the great work.
There is lot more to tell about tar. t - option/switch/argument for me is the sugar when I use tar . Width a "t" option/switch/argument You can look inside tar archive :) Also its possible to extract one file after You had a look with a "t" option. About sudo - I belive Eli has configured sudo to be used without a password for certain non authoritative user to operate with system as a root. It's wrong - sudo loses the concept why it was made :) Also using sudo in cron - it's wrong for most of us, in case of Eli - as I said, I believe he has made one non authoritative user to be used without password. Also - sudo - it is not in all Linux flavours / distributions. Eli I would enchant this video course. But!!! Even for me it was great to listen - You are great orator. Good Job.
Awesome I was searching for a linux backup program .... but this is so simple ... thanks!
Linux has a very helpful command called "file". This command can tell you what a file contains based on the contents of the file. It can tell you that a file is a compressed file, tar file, mp3 file, python file, etc. etc. So if you do create a compressed tar file called "Bob", you can identify it years later!
hi Eli, I have an idea for part two of this tutorial - I intend to do backup of my system, so that once it will get corrupt (after update/upgrade), I could go back to previous working Linux before corruption of the system.
That's something I am missing in this tutorial.
BTW - your tutorials are amazing! I've seen around 20 to date and they are so easy to understand! thank you for sharing with your knowledge with us publicly. cheers!
Yes you can, everything you can do with the server can be done with the desktop using the terminal
thank you sir for your valuable videos. I learned lots of thing from basic to advance from your tutorials.
thanks a lot
Awesome job Eli! I had so much fun and boosted my confidence. Cheers!
LOL, Dang it ELI!!!
I watched this video trying to remember if its:
....--exclude=/mnt.... or
....--exclude = /mnt... with spaces
Eli: "I'm not going to exclude anything, just to make life easier..."
LOL that was funny
It depends on what you want to compress. Video/Audio/Image files aren't really cut for compressing. Text-Files profit the most probably.
Excellent Video. Thanks for helping me understand Linux a little better!
All very good! Except using wordpress :-) Thank you for sharing! Just wanna add that performing the tar -c.. command is NOT adding new nor updating old files inside the tar.gz file, every time it overwrite them, just take it into consideration! Also you can recover a single file from the tar, by using the --file option.
I like Your Channel So much You are the best teacher i ever had !
You are amazing Guy Too bad I can't join you in real Classroom With my laptop :)
have a nice Day Greeting from Algeria
You forgot to mention that you have to start the cron daemon with /etc/init.d/cron start
i did not start cron daemon with that and it works - Kubuntu 18.4
Eli, you are great, nice video and presentation. I enjoy watching all of your video.
whole day i had struggled and got this video thank u very much , please some video of apache and mysql thanks eli
Best video yet, you saved my brain thank you!
Thank you kind brother. You are a gentleman and a scholar.
Eli you are a awesome teacher
appreciate your videos lessons and logical well expressed manner 👍
This was so well explained. Thanks a lot ETCG.
how we can save every backup by date like 2-3-2017 8:30
Great video. Question. What if you wanted to transmit that backup off site to another Linux machine on a schedule? How would you do that?
Woow AWESOME course!
You are taking time explaining every single thing, + you are speaking at a perfect pace for a non-native English speaker
Thumb up + Subscribed
Are the 19 who disliked your video, tried it on Windows?
Parameters can always be mixed for example ls doesn't care if you type "ls -RQ1" or "ls -1QR" :)
thanks.. Happy to say u are my Linux teacher ..
# With this you can type tard and untar as shortcuts for the tar commands with handles.
alias tard "tar -cvpzf" >> .bashrc
alias untar "tar -xvpzf" >> .bashrc
Excellent tutorial series on Ubuntu Linux !
The way you presented Linux videos were really fantastic and it was very crystal clear.Can you share me the link if you have complete Linux Courses Videos....
tq eli, u r making my life easy
I've been enjoying these tutorials and find them very helpful. Three questions: 1. when extracting from a tar ball, why must you tell tar the file is compressed. Can't it figure that out itself? 2. If I want to schedule a cron job to be performed every Tuesday and Thursday would I enter "24" in the day-of-week location? 3.Suppose I want to schedule a backup once per day with cron, but I don't want the tar ball created today overwritten by the tar ball created tomorrow. I assume there's a way of avoiding that.
dear when i take the backup..where is the backup path command?,thanks for your lesson
I haven't researched these questions yet, so I'm sure that there's an answer out for this but it would have been nice if they had been covered in the video:
1) When running these scheduled cron jobs, is there a way for it to check to see if hardware is active and above a certain level first (say, CPU above 95% and the fans are going nuts), or if some specific program is already running, wait for that task to finish before proceeding with the backup? It sure would suck if you suddenly had cron trying to do a full / backup when you're running some extremely intensive program.
2) When a new cron job backup is run, will it overwrite the existing tarball in that directory, or does it automatically increment the tarball filenames in some fashion? I.e. backup.tar.gz1, backup.tar.gz2, etc. I'm assuming that it just overwrites the old file. Does anyone happen to know how you would get cron to avoid overwriting previously created backups?
3) This is really great tutorial for full backups, but how would you go about performing differential or incremental backups? My guess is that the answer is going to be "Just always do Full backups", but there have to be at least *some* cases out there where doing full backups, even with compression, simply wouldn't be acceptable (think 20TB backup when only a 1kb txt file has been modified).
1) yes you can. there are two ways of doing it. the first using ps aux | grep crontab. and the other is with top
Hi Eli ! Great videos ! just for you to know. There is a problem (at least for my view) on 11:17. It does not show you type the commands for the tar...only shows when it's finishing !. Best regards !
Adrian Sandol he does show the command afterwards.
another thought I has as well to off site backups. What there were multiple off site storage area's? I have 3.
cron job abort 60 seconds after starting with 'exit code 141' ... thoughts?
Many thanks buddy. You got yourself a subscriber
Still so much powerful videos
Sorry Eli, I know your video is good.. but in the video how did you get wwwbackup.tar.gz?
Did you just go through vi and make that empty file or what? Whenever I enter the same command, it says it's not a file or directory or permission denied..
Great series...Thank you Eli.
Thanks for All lectures
Eli thanks for all this videos
Small problem on this:
In the Lesson „Linux Backup with TAR und Cron Jobs“ something with the order oft the virtual sessions is messed up. The terminal sessions are starting in the middle and later from begin.
Excellent video again!!
ty this helped but for some reason the commands don't work with cron. I've added date codes so that it puts the date. The syntax works outside of cron but no in the cron tab. Not sure why.
Instead I created a bash script and just had it handle it and then cron tabbed the bash script.
I miss this Eli
thank you very much. You are a really great trainer.
Thanks for the video....I was struggling with this.This video helped me to solve my problem.
just realized that your description has the file .taz.gz in your extension. It won't affect the file at all, just something I realized.
I typed "sudo crontabs" by mistake. Now, I lost my sudo crontab page - its all blank. How can I recover that page???
Love your videos - educational while entertaing :)
What's the best (easiest) way to tar to a host machine over SSH?
How we set backup file destination as windows sharing folder in same network???
What happens if you are trying to extract from a tar as a tarball by using 'z' in the command?
OMG, Thank you. This is the one of the most useful tut
Thank you for the detailed explanations of it all.
Can anyone tell me if I want take backup only at 18:00 pm then how can set time, please tell me
With cron job
hi Eli,
I watched the video again and you explain a bit how to backup parts or the whole system and how to recover tar ball file, but I was thinking about step-by-step backup of the whole sytem and especially detailed guide how to recover that system, so that it will not have to be re-installed, but just recovered from the tar ball file. for me it looks kind of rocket science, but you probably would say that all was explained already... . anyway, if I will find out somewhere on google.:)
I don't have a server, just a laptop that I'm wanting a simple way to backup and restore. Can I use this lesson to backup my laptop or is there a better method for my laptop then this lesson dealing with servers? Thanks.
Can I cron a tarball to a storage server? What is the command to add the address and the port?
IT's very easy to understand, thanks very much.
Thanks a lot Eli
Your video is so helpful and informative. Can post another video for how to automatically backup files for all users home directory using tar and shell scripting?
Can you do one with Rsync? They way you convey everything is great!
Hello Eli
Thanks for the sharing knowledge .
I have a query , how can we restore the data to same directory where the data is missing instead of creating a recover directory and moving to it .
thanks
Satish
superb sir thanks for upload
HI Eli I have a doubt. How do i schedule crontab to create file names dynamically so that my previous backups are not overwritten?
What if you want to use cron to create an additional backup file instead of overwriting the existing one? So, after an hour you'd have 60 backups, each with a unique name... obviously.
same question here ???
I like your lessons - very clear and simple. I am learning a lot from your lessons.
I have one question. How can we backup to external hard drive from the command line. I am new to linux and I would appreciate if you teach us about this. Thanks.
Can you make an Endian Firewall tutorial with DNS and Zimbra?
No incremental and differential backups .-.
You are awesome sir
Hey Eli I have a question, im running linux mint 19 and I was wanting to add a custom desktop environment from the web, ive already got the file and its a .tar.gz but I cant figure out how to add it
hi, if I wanna exclude more than one folder? what should I type? "exclude=/video /audio" am I correct? thx
Hi, i want to schedule a cron entry which run a videos at particular time, how can i do it.
i tried below one but didn't work. i'm sure about timings and date but missing sometime else
28 20 31 * * cd /home/mr-surya/Downloads; DISPLAY=:0 vlc; /usr/bin/xdg-open Chilakamma.mp4 2>/tmp/errorra
also teach how to do incremental backups and how to restore them