Veritas-bu

[Veritas-bu] Backing up ZFS snapshots

2007-03-08 11:46:53
Subject: [Veritas-bu] Backing up ZFS snapshots
From: mlv03 at healthresearch.org (Mike L. Varney)
Date: Thu, 8 Mar 2007 11:46:53 -0500
NetBackup would happily backup the symlink as if it were an individual 
file.  It would not follow the link.

What if you started the backup as a User Backup from the client at the end 
of your script which created the snapshot?  You could even then schedule 
the script via NetBackup rather than cron with a SCRIPT file mask.  The 
Sybase backups work very similar - - NetBackup runs a script which runs an 
Application Backup.

-- M




Karl.Rossing at federated.ca 
Sent by: veritas-bu-bounces at mailman.eng.auburn.edu
03/08/2007 11:39 AM

To
Alexander Skwar <listen at alexander.skwar.name>
cc
veritas-bu at mailman.eng.auburn.edu
Subject
Re: [Veritas-bu] Backing up ZFS snapshots







Have you tried a symlink into the snapshot dir? 

Karl 

veritas-bu-bounces at mailman.eng.auburn.edu wrote on 03/08/2007 10:27:42 AM:

> Hello.
> 
> On one of the servers which are backed up with NBU 6.0 MP4,
> we're using Solaris 10 and also ZFS. To keep the backup window
> as short as possible, I'm creating ZFS snapshots just before
> the backup policy gets run. I do that "manually" with a script,
> eg. like this: "zfs snapshot pool/Teamcenter at backup". This
> creates a snapshot, which is accessible over /pool/Teamcenter/.
> zfs/snapshot/backup.
> The .zfs directory is completely invisible:
> 
> askwar at winds06 /opt $ sudo zfs snapshot pool/Teamcenter at backup
> askwar at winds06 /opt $ ls -la /pool/Teamcenter/
> total 116
> drwxr-xr-x  22 root     root          22 Feb 27 14:33 .
> drwxr-xr-x   5 root     sys            5 Mar  8 17:15 ..
> drwxr-xr-x   2 root     root          12 Nov 14 15:51 TT_DB
> drwxrwxr-x  21 dev1     pdmusers      62 Jan 11 20:11 dev1
> [...]
> askwar at winds06 /opt $ ls -la /pool/Teamcenter/.zfs
> total 3
> dr-xr-xr-x   3 root     root           3 Jan 12 18:50 .
> drwxr-xr-x  22 root     root          22 Feb 27 14:33 ..
> dr-xr-xr-x   2 root     root           2 Jan 12 18:50 snapshot
> 
> How do you guys actually backup ZFS snapshots? I don't really
> want to go the route of having to add 
/pool/Teamcenter/.zfs/snapshot/backup
> to the Backup Selections of a policy, as this would mean, that
> the Backup Selections would have to be updated, when a new
> zfs is created. I don't like this.
> 
> How do you do that?
> 
> Alexander Skwar
> 
> _______________________________________________
> Veritas-bu maillist  -  Veritas-bu at mailman.eng.auburn.edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
> 
> _______________________________________________
Veritas-bu maillist  -  Veritas-bu at mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://mailman.eng.auburn.edu/pipermail/veritas-bu/attachments/20070308/8846602d/attachment.htm