12.07.2015 Views

A SOLARIS™ CONTAINER

A SOLARIS™ CONTAINER

A SOLARIS™ CONTAINER

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

12Solaris 10 Operating Systemsun.com/solarisHostAGLOBAL ZONEZFS Pool zone_rootsFilesystemzfszone1AnotherFilesystemzfszone1@Snap1Figure 10—A ZFS SnapshotThe ZFS 'send' sub-command packages all of the files and directories in a ZFS filesytem and archives them. For thisexample, simply put the archive into a file.3. To back up the ZFS snapshot, use the zfs command:hostA-global# zfs send zone_roots/zfszone1@Snap1 > /tmp/zfszone1.Backup1HostAGLOBAL ZONEZFS Pool zone_rootsFilesystemzfszone1AnotherFilesystemzfszone1@Snap1/tmp/zfszone1.Backup1Figure 11—A ZFS ArchiveMove the archived copy of the Container to the new system. Here is an example of the syntax for the scp command onproperly configured systems:4. To copy the archive, use the scp command:hostA-global# scp /tmp/zfszone1.Backup1 root@hostB:/tmp/zfszone1.Backup1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!