Managing the AMASS File System

Practical Application

The following example uses this command to back up files, in optimized order, from a volume to a tape. AMASS backs up entire files, even if they span media. Both scenarios assumes the AMASS mount point is /archive.

Using cpio Command

Step 1. Log in as either amass or root.

#su root

Step 2. Enter the commands as shown in the following example.

Lists all files on volume 2.

 

Numerically sorts files based

 

 

first upon volume, then based

 

 

 

 

upon logical block address.

#cd /archive

#volfilelist 2 -n +1 +2 awk ’{print $1}’ \ cpio -oc >/dev/rmt/0m

Backs up the files to a tape

 

Prints just the file names.

 

loaded in drive /dev/rmt/0m.

 

 

Step 3. When AMASS backs up partialfile, which starts on volume 2 and is appended onto volume 3, AMASS switches the media in the drive to back up the remainder of partialfile on volume 3. AMASS then reloads Volume 2 so it can continue the backup process.

3-156

Command Reference

6-00028-01 Rev A