Backup Home Directories in Linux
A. Use tar command to backup /home directory. The GNU version of the tar archiving utility included with all Linux distributions. Following tar command also works with Solaris/HP-UX UNIX and FreeBSD/*BSD oses.
For example tar command to backup /home should be as follows:
# tar -czf /dev/st0 /home
Where,
- /dev/st0 : Linux SCSI Tape device name
- /home : Home directory name
No comments:
Post a Comment