Instructor: So I just want to create some files
on this account, and I've given myself
Storage File Data Privileged Contributor
as well as SMB Share Contributor access.
And you go to the overview screen, say add directory,
and you can add a directory from here.
When I go to the browse section, I can see
that I've been able to create directories,
and obviously, I can upload files from here.
So I have chosen 16 sample files
from my local machine to upload.
Now, the purpose of this video
is really to show you about the concept of snapshots.
Now, snapshots are point-in-time, read-only versions
of your Azure file share.
This allows you to recover deleted or modified files.
And it's not a separate storage account,
it's actually gonna be your same storage account
that's going to store the snapshots as well.
So the snapshot is created manually,
or you can script it
so that you can run it at your own schedule.
These are stored as incremental backups,
so only when there's changes to those files,
then the snapshot gets updated.
The data can be retained for as long as you need.
And again, this is not a separate storage account;
it's all contained within the same snapshot here.
And once you have a snapshot,
then what you can do is restore
from a specific point in time.
So you can browse the snapshot contents,
copy files back to the active file share.
And there is such a thing
as a previous versions tab supported in operating systems
such as Windows.
So again, this is only for general-purpose v2 accounts
or for premium file shares.
So let's create a snapshot.
I'm in the snapshots operation under the file share,
and I'm gonna say add snapshot.
And I'm gonna say this is going to be previousversions.
And so now that we've created a snapshot,
we can actually go into the snapshot.
We can see the storage account file share
as it existed at the time the snapshot was created.
And if I wanted to restore this version of this file,
I can click this restore and it becomes the recent version.
So if this file has changed, has been deleted,
it's been updated since then,
I just navigate into the snapshot and I can then restore it
or download the specific version.
Now, I should point out that another way to get snapshots
is through backups.
So we'll see under operations it says backup.
Now, Azure Backup backs up its data
to a Recovery Services vault,
and I can even navigate into the Recovery Services vault.
Go under backup.
I can see backup items, Azure Storage,
Azure Files, one item.
But it's not a regular backup.
It's actually backing up as a snapshot.
So you'll see it even says Snapshot
within the Recovery Services vault.
If I go into the file share under Snapshots,
I can see the snapshot that I created manually,
as well as one that automatically kicked off
to do AzureBackup.
Now, the advantage of the automated backup
is that there's a policy,
and so the policy can say
that every day at 7:30 UTC in this example,
it's going to make a backup of anything
that's changed in the file share,
and it's gonna retain those backups for 30 days.
So I have a backup policy to automatically create snapshots
so that I can do the point-in-time recovery,
not only the ones when I can manually create a snapshot,
but I can also have it scheduled through backup.
So definitely a convenient way to keep copies
of your file share over time.
Play Stop information alert Schedule learning time Learning a little each day adds up. Research shows that students who make learning a habit are more likely to reach their goals. Set time aside to learn and get reminders using your learning scheduler.