That's part of the U.S. model.
We are going to the details about managing files and folders in Linux at this time.
We are exploiting a command called other tool to take the backups.
Keep in mind that it can be used for other purposes also, but one of the common uses of bug command
is primarily to take the backup and also to restore if at all, we would like to stop.
In this lecture, let's go to the details about how to use that top commander to take the backup will
be taking the backup off for data for all the files and folders that are part of that folder will be
back up in the form of tarball.
That index will be like this, but then catalog it.
In this case to create the tarball, especially uncompressed tarball we can use the hyphen thief.
It will take enough creating the tarball for of the first argument to to recommend it nothing but the
tarball name.
In this case I'm naming it does the data not but because we are trying to take the backup data folder.
However, you can use any name you want even at the extension is just informational.
You don't need to specify the extension like this, but it is a better practice to actually specify
the extension for.
Were you not to add the extension?
Then we can actually specify the name of default for which we wanted to take the backup.
Now I can hit enter.
It'll take a moment and it will take the backup of this for local data using this name.
Let us wait until the backup is done.
Then we'll actually take it further.
Now the tag command either executed if it took some time to actually credit tarball.
That is on the side of this data folder you a little bit bigger.
Now let me a left open lda.
You can see that tar here.
You can see the side of it.
Now let's set a let's not a left but the you hyphen effort data and also data tab.
You can see the side of tarball, either madi or null folder.
That being said, even though it took time, we don't know whether it is actually building the tarball.
It is hung because there is not feedback in github.
If you would like to get the feedback as well, creating the table or even while restoring the tarball
to its null folder, we should be able to add we intellectually provide the feedback.
Now let me delete the tar.
Well, now that barbel is deleted.
Now let me go back to the task of command.
Now let me add the now you can see that there is feedback while tarball is being created, another tarball
is created.
Now let me take a look at hyphen LTL.
You can see that it is created successfully and we were able to see the feedback that it went off with
a primary to get the feedback while the tarball is being created.
Now the table is created successfully.
However, you might want to see what this iterable content if you exit it will directly extracted the
tarball and it restored the folder without expecting.
Although we should be able to review what this tarball content for that we how to use catalog called
USB.
I haven't covered it the earlier you should be using D to actually list the contents of your tarball.
Again, we typically use D and F to actually list the contents of the tarball, but in this case I can
that I want to if we doesn't make sense with respect to Ruti and hence you can see why when you title
list of the contents of the table, it would be know how to specify the name of the tarball and you
can see the contents of this tarball.
It happened to extract editable yet however it is actually storing the contents of the data.
Well, when we actually use the B now we have created uncomfortable and we have already reviewed this
type of data for A and also data not part of.
Well, both of them are.
Keep in mind that tarball is nothing but a file.
It is the backup of this folder and that's why we went with it.
Have an LDA when it comes to data, it held D at the beginning, whereas with respect to tarball they
are not at the beginning because it is just a file.
However, it is a special file which will have the backup of the null folder data.
That being said, many times when we want to create tarball for the backup, we typically compress compression
health outlet one.
One of them is nothing but reduction in the side of the tarball.
The way you can compress it like this you can tab and then instead of theory you can see vvf CVD.
If you can place this catalog once in any order, then you can split vegetable name when it comes to
compressor tarball.
We typically use this format either Pardot DC or did you just to convey the method thing that this is
a composite tarball, then we should be able to specify the folder file which we are going to build
editable.
Now I can hit enter.
You can see that it is taking a little bit more time to compress and editable will wait until it is
executed and then we'll review the size of the composite barbell and also uncomfortable to see the difference.
You can see that it is taking quite a lot of time when it comes to creating a composite.
Well, because it has to compress the files that are there as part of the bubble while creating the
tarball.
Now let me say let's have an LP.
Yet you can still decide to hit the tar ball, which is on campus to eat off this much rather elevated
campus.
But I've offered this much in this case.
We haven't got a significant amount of reduction with respect to two side of the composite well into
the record, most of the files in a data folder are composite already.
Let me go up and let me show the bigger files.
They are nothing but the ones you can see.
They are already compressed and they are already completed.
The saving through the spectre to say that is not significant in this case.
However, if all these files and folders are uncompressed, then the composite tarball will be much
less invasive compared to on composite.
But what you can see, all the big files are actually compressed already so they become unlimited you
to get the completed tarball to list of the files in the composite.
Well you just have to set hyphen to the F.
Now let me remove this holding them.
We have to specify the tarball name like this only data not PD is the name of the composite.
Well, now we can remove with respect to listing we just held with it be the f like this.
Now you can see the list of files in the composite part.
What?
Yeah.
They have gone to the details about using tar commander to take the backup off again folder in the form
of a tarball.
Now it is time for us to understand how to restart.
The restoration can be in the same location in which we have taken the backup order.
It can be in a different location within that interval or it can be in a different interval altogether.
In this case, I'll demonstrate the restoration process by copying the other tar files to temper folder.
Let's go to the details as part of the next lectures.