ONTAP Discussions

Snapshots, does it ever do a full snapshot?

thesextantgroup_com
6,888 Views

I'm new to Netapp and the whole Snapshot thing.

I understand the hourly snapshots are incremental, but what about the weekly and nightly snapshots?

Is there a way to do a full backup?

Any documentation on this somewhere maybe?

Thank you

1 ACCEPTED SOLUTION

rrikard
6,888 Views

Every snapshot is a full backup. A snapshot takes a picture of the active file system and marks all the active blocks at the time of the snapshot as read-only so that those blocks cannot be overwritten. You can restore an entire volume from a snapshot or you can mount a snapshot on a host and access the file system as it was at the time of the snapshot. When snapshots are made, no files are copied since a snapshot just "freezes" the active blocks and this is why full backups can be taken quickly and frequently. SnapVault and SnapMirror are products that allow you to store or copy snapshots to a different physical controller in the same data center or in a different geographical location.

I hope this explanation helps a little. Here is the official introduction sheet on snapshots, http://media.netapp.com/documents/snapshot.pdf

Robbie Rikard

Technical Marketing Engineer

Data Protection Group

NetApp

919.672.8968 Direct

rrikard@netapp.com<mailto:rrikard@netapp.com>

From: "thesextantgroup.com" <xdl-communities@netapp.com<mailto:xdl-communities@netapp.com>>

Reply-To: <jive-756308269-1x35-2-1g3z@netapp-community.hosted.jivesoftware.com<mailto:jive-756308269-1x35-2-1g3z@netapp-community.hosted.jivesoftware.com>>

Date: Thu, 10 Nov 2011 10:35:15 -0800

To: Robert Rikard <robert.rikard@netapp.com<mailto:robert.rikard@netapp.com>>

Subject: "Snapshots, does it ever do a full snapshot?"

<http://communities.netapp.com/index.jspa>

Snapshots, does it ever do a full snapshot?

created by thesextantgroup.com<http://communities.netapp.com/people/thesextantgroup.com> in NetApp Integrated Data Protection - View the full discussion<http://communities.netapp.com/message/67535#67535>

I'm new to Netapp and the whole Snapshot thing.

I understand the hourly snapshots are incremental, but what about the weekly and nightly snapshots?

Is there a way to do a full backup?

Any documentation on this somewhere maybe?

Thank you

Reply to this message by replying to this email -or- go to the message on NetApp Community<http://communities.netapp.com/message/67535#67535>

Start a new discussion in NetApp Integrated Data Protection by email<mailto:message-community-products_and_solutions-netapp_integrated_data_protection@netapp-community.hosted.jivesoftware.com> or at NetApp Community<http://communities.netapp.com/choose-container!input.jspa?contentType=1&containerType=14&container=2020>

Stay Connected: <http://www.facebook.com/NetApp> Facebook<http://www.facebook.com/NetApp> <http://twitter.com/NetApp> Twitter<http://twitter.com/NetAppCommunity> <http://www.linkedin.com/groups?about=&gid=111681> LinkedIn<http://www.linkedin.com/groups?about=&gid=111681> <http://www.youtube.com/user/NetAppTV> YouTube<http://www.youtube.com/user/NetAppTV> <http://communities.netapp.com/index.jspa> Community<http://communities.netapp.com/index.jspa>

© 2011 NetApp<http://www.netapp.com/us/site/copyright.html> | Privacy Policy<http://www.netapp.com/us/site/privacy.html> | Unsubscribe<http://communities.netapp.com/user-notification-preferences!input.jspa> | Contact Us<mailto:xdl-communities@netapp.com>

495 E. Java Drive, Sunnyvale, CA 94089 USA

View solution in original post

2 REPLIES 2

rrikard
6,889 Views

Every snapshot is a full backup. A snapshot takes a picture of the active file system and marks all the active blocks at the time of the snapshot as read-only so that those blocks cannot be overwritten. You can restore an entire volume from a snapshot or you can mount a snapshot on a host and access the file system as it was at the time of the snapshot. When snapshots are made, no files are copied since a snapshot just "freezes" the active blocks and this is why full backups can be taken quickly and frequently. SnapVault and SnapMirror are products that allow you to store or copy snapshots to a different physical controller in the same data center or in a different geographical location.

I hope this explanation helps a little. Here is the official introduction sheet on snapshots, http://media.netapp.com/documents/snapshot.pdf

Robbie Rikard

Technical Marketing Engineer

Data Protection Group

NetApp

919.672.8968 Direct

rrikard@netapp.com<mailto:rrikard@netapp.com>

From: "thesextantgroup.com" <xdl-communities@netapp.com<mailto:xdl-communities@netapp.com>>

Reply-To: <jive-756308269-1x35-2-1g3z@netapp-community.hosted.jivesoftware.com<mailto:jive-756308269-1x35-2-1g3z@netapp-community.hosted.jivesoftware.com>>

Date: Thu, 10 Nov 2011 10:35:15 -0800

To: Robert Rikard <robert.rikard@netapp.com<mailto:robert.rikard@netapp.com>>

Subject: "Snapshots, does it ever do a full snapshot?"

<http://communities.netapp.com/index.jspa>

Snapshots, does it ever do a full snapshot?

created by thesextantgroup.com<http://communities.netapp.com/people/thesextantgroup.com> in NetApp Integrated Data Protection - View the full discussion<http://communities.netapp.com/message/67535#67535>

I'm new to Netapp and the whole Snapshot thing.

I understand the hourly snapshots are incremental, but what about the weekly and nightly snapshots?

Is there a way to do a full backup?

Any documentation on this somewhere maybe?

Thank you

Reply to this message by replying to this email -or- go to the message on NetApp Community<http://communities.netapp.com/message/67535#67535>

Start a new discussion in NetApp Integrated Data Protection by email<mailto:message-community-products_and_solutions-netapp_integrated_data_protection@netapp-community.hosted.jivesoftware.com> or at NetApp Community<http://communities.netapp.com/choose-container!input.jspa?contentType=1&containerType=14&container=2020>

Stay Connected: <http://www.facebook.com/NetApp> Facebook<http://www.facebook.com/NetApp> <http://twitter.com/NetApp> Twitter<http://twitter.com/NetAppCommunity> <http://www.linkedin.com/groups?about=&gid=111681> LinkedIn<http://www.linkedin.com/groups?about=&gid=111681> <http://www.youtube.com/user/NetAppTV> YouTube<http://www.youtube.com/user/NetAppTV> <http://communities.netapp.com/index.jspa> Community<http://communities.netapp.com/index.jspa>

© 2011 NetApp<http://www.netapp.com/us/site/copyright.html> | Privacy Policy<http://www.netapp.com/us/site/privacy.html> | Unsubscribe<http://communities.netapp.com/user-notification-preferences!input.jspa> | Contact Us<mailto:xdl-communities@netapp.com>

495 E. Java Drive, Sunnyvale, CA 94089 USA

deckard
6,888 Views

I hope this helps you out.

NetApp snapshots (and ZFS snapshots, incidentally) do things differently. Instead of copying the old data out of the way before it gets overwritten, the NetApp just writes the new information to a special bit of disk reserved for storing these changes, called the SnapReserve. Then, the pointers that tell the system where to find the data get updated to point to the new data in the SnapReserve.

That’s why the SnapReserve fills up when you change data on a NetApp. And remember that deleting is a change, so deleting a bunch of data fills up the SnapReserve, too.

This method has a bunch of advantages. You’re only recording the deltas, so you get the disk savings of copy-on-write snapshots. But you’re not copying the original block out of the way, so you don’t have the performance slowdown. There’s a small performance impact, but updating pointers is much faster, which is why NetApp performance is just fine with snapshots turned on, so they’re on by default.

It gets better.

Because the snapshot is just pointers, when you want to restore data (using SnapRestore) all you have to do is update the pointers to point to the original data again. This is faster than copying all the data back from the snapshot area over the original data, as in copy-on-write snapshots.

So taking a snapshot completes in seconds, even for really large volumes (like, terabytes) and so do restores. Seconds to snap back to a point in time. How cool is that?

But wait, there’s more.

Snapshots Are Views

It’s much better to think of snapshots as a View of your data as it was at the time the snapshot was taken. It’s a time machine, letting you look into the past.

Because it’s all just pointers, you can actually look at the snapshot as if it was the active filesystem. It’s read-only, because you can’t change the past, but you can actually look at it and read the data.

This is incredibly cool.

Seriously. It’s amazing. You get snapshots with almost no performance overhead, and you can browse through the data to see what it looked like yesterday, or last week, or last month. Online.

Public