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

|
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).
- Backing-up method with cpio(1)
# cd /userdata <Enter>
# find . -depth -print | cpio -oc > /dev/rmt/0 <Enter> |
- Backing-up method with tar(1)
# 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.
All Rights Reserved, Copyright(C) FUJITSU LIMITED 2006