Upload
khadeer-mohammed
View
219
Download
0
Embed Size (px)
Citation preview
8/6/2019 10 Snapshots
1/19
Snapshots
Data ONTAP Fundamentals
8/6/2019 10 Snapshots
2/19
Objectives
Upon completion of this module you will be
able to: Describe how snapshots function
Recognize and perform snapshot commands Set and modify snapshot options
Create a snapshot schedule
8/6/2019 10 Snapshots
3/19
Snapshot Overview
8/6/2019 10 Snapshots
4/19
Snapshot Overview
Snapshots are scheduled on the Storage Appliance
Weekly, nightly, hourly
Administrators can do backups without taking the system offline
8/6/2019 10 Snapshots
5/19
Snapshot Overview
8/6/2019 10 Snapshots
6/19
Snapshot Overview
8/6/2019 10 Snapshots
7/19
Snapshot Overview
8/6/2019 10 Snapshots
8/19
Snapshot Overview
8/6/2019 10 Snapshots
9/19
Snapshot Commands
snap create [volume_name] [snapshot_name]
snap list [volume_name]
snap delete [volume_name] [snapshot_name]
snap delete -a [volume_name]
snap rename [volume_name] [old_file_name] [new_file_name]
snap reserve [volume_name] [percent]
snap sched [volume_name [weekly [nightly [ hourly[@list]]]]]
8/6/2019 10 Snapshots
10/19
8/6/2019 10 Snapshots
11/19
Snap List Command
8/6/2019 10 Snapshots
12/19
8/6/2019 10 Snapshots
13/19
Snapshot Options
Disable automatic snapshots vol options volname nosnap [on|off]
Make .snapshot directory invisible to clients,
and turn off access to .snapshot directory vol options volname nosnapdir [on|off]
Make ~snapshot directory visible to CIFS
clients
options cifs.show_snapshot [on|off]
8/6/2019 10 Snapshots
14/19
Snapshot Options
8/6/2019 10 Snapshots
15/19
# pwd
/filer /.snapshot
# ls -l
total 240
drwxrwxrwx 9 root other 12288 Jan 29 16:19 hourly.0
drwxrwxrwx 9 root other 12288 Jan 29 16:19 hourly.1drwxrwxrwx 9 root other 12288 Jan 29 16:19 hourly.2
drwxrwxrwx 9 root other 12288 Jan 29 16:19 hourly.3
drwxrwxrwx 9 root other 12288 Jan 29 16:19 hourly.4
drwxrwxrwx 9 root other 12288 Jan 29 16:19 hourly.5
drwxrwxrwx 9 root other 12288 Jan 29 16:19 nightly.0
drwxrwxrwx 9 root other 12288 Jan 29 16:19 nightly.1
drwxrwxrwx 9 root other 12288 Jan 29 16:19 weekly.1
drwxrwxrwx 9 root other 12288 Jan 29 16:19 weekly.2
#
Snapshot View from a UNIX Client
8/6/2019 10 Snapshots
16/19
Snapshot View from a Windows Client
Note: Snapshots are visible to
Windows clients that have File
Manager configured to display
hidden files
Note: Snapshots are visible to
Windows clients that have File
Manager configured to display
hidden files
8/6/2019 10 Snapshots
17/19
Topic Review
How do snapshots function?
What are some of the snapshot commands?
What are some of the snapshot options?
Describe the snapshot schedule syntax.
8/6/2019 10 Snapshots
18/19
Topic Review
How do snapshots function? When a snapshot is created, it identifies all the blocks in the
active file system.
What are some of the snapshot commands? snap create, snap delete,snap list, snap sched,snap reserve
What are some of the snapshot options? vol options volname nosnap
vol options volname nosnapdir options cifs.show_snapshot
Describe the snapshot schedule syntax snap sched vol0 2 6 8@8,12,16,20
8/6/2019 10 Snapshots
19/19
Exercises