System Administration Guide: Devices and File Systems

ProcedureHow to Back Up a UFS Snapshot (tar)

If you are using the tar command to back up the snapshot, mount the snapshot before backing it up.

  1. Become superuser or assume an equivalent role.

  2. Create a mount point for the snapshot.

    For example:

    # mkdir /backups/home.bkup
  3. Mount the snapshot.

    # mount -F ufs -o ro /dev/fssnap/1 /backups/home.bkup
  4. Change to the mounted snapshot directory.

    # cd /backups/home.bkup
  5. Back up the snapshot with the tar command.

    # tar cvf /dev/rmt/0 .