PRIMECLUSTER Global File Services Configuration and Administration Guide 4.1 (Solaris(TM) 10 Operating System)
Contents Index PreviousNext

Chapter 13 File System Backing-up and Restoring> 13.2 Backing-up by Standard Solaris OS commands

13.2.1 Backing-up file by file

To backup a single file or all files under the directory while it is mounted, use cpio(1) or tar(1).

For details about cpio(1) and tar(1), see the "Solaris X Reference Manual Collection".

The following are examples of backing-up on tape using cpio(1) and tar(1).

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

# cd /userdata <Enter>
# tar cvf /dev/rmt/0 . <Enter>

Tapes used for data backup should be labeled for identifying the backing-up method.
cron(1M) can schedule backing-up startup.

Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2006