PRIMECLUSTER Global File Services Configuration and Administration Guide 4.2 (Solaris(TM) Operating Environment)
Contents Index PreviousNext

Part 3 Global File Services Shared File System> Chapter 24 File System Backing-up and Restoring> 24.4 Backing Up using Standard Solaris OE commands

24.4.1 Backing up file by file

To backup a single file or all files under a directory, use cpio(1), tar(1) or sfccpio(1).

Extent attributes cannot be copied by using cpio(1) or tar(1). Use sfccpio(1) when extent attribute informationTerm may be included in the file to be backed up.

Below are examples of backing up onto tape using cpio (1), tar (1) and sfccpio(1)

# cd /userdata
# find . -depth -print | cpio -oc > /dev/rmt/0

# cd /userdata
# tar cvf /dev/rmt/0 .

# cd /userdata
# find . -depth -print | sfccpio -oc > /dev/rmt/0

The tapes used for backups must be labeled before storage so that the backup method can be identified. cron(1M) can be used to start backups at specific times.

For details on cpio(1) and tar(1), see the "Solaris X Reference Manual Collection" or the online manual.
For details on sfccpio(1), see Appendix F.3.2 "sfccpio(1)."

Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2004