Appendix A: Backing Up and Restoring Solaris ZFS

Table of contents
No headers

Version as of 01:36, 27 Apr 2024

to this version.

Return to Version archive.

View current version

When Solaris is the file system type selected  in the Backup What page, the Advanced Options displayed after clicking the link include an Extended Attributes checkbox, which selects the archive program used for backing up the ZFS file system.

When the option is disabled (the default), Amanda Enterprise uses (and requires) amgtar as the archive program.

When the option is enabled amsuntar is used for backup. The amsuntar (8) man page describes the supported archive options. The amandabackup user should be set with the Media backup profile. The profile is set correctly if the amandabackup user is created by the installation program; if user exists prior to installation the profile should be manually set with the following command:

usermod -P "Media Backup" amandabackup

amsuntar supports only level 0 (in other words, full) backups, as there is no support for incrementals in the native archive tool. Also the native tools only restore in raw mode. The result after restoring through the ZMC is a compressed raw tar ball in the specified destination location. To complete the restore, you must manually run the native tar extract utility to retrieve the desired files and directories.  For example:

tar xvf RestoredRawTarBallName

If ZFS ACLs are part of the tarball, they are restored by default.