PRIMECLUSTER Global File Services Configuration and Administration Guide 4.1 (Linux) |
Contents
Index
![]() ![]() |
Chapter 11 File System Backing-up and Restoring | > 11.2 Backing Up by Linux Standard commands |
To back up a single file or all files under the directory while it is mounted, use cpio(1) or tar(1).
The following are examples of backing-up on tape using cpio(1) and tar(1).
# cd /userdata # find . -depth -print | cpio -oc > /dev/st0
# cd /userdata # tar cvf /dev/st0.
Tapes used for data backup should be labeled for identifying the backing-up method. cron(8) can schedule backing-up startup.
For details about cpio(1) and tar(1), see the online manual.
Contents
Index
![]() ![]() |