≡ Menu

tar command

How do I make sure only authorized person access my backups stored on the tape drives (DAT, DLT, LTO-4 etc) under Linux or UNIX operating systems? How do I backup /array22/vol4/home/ to /dev/rmt/5mn or /dev/st0 in encrypted mode?
[click to continue…]

Linux: tar Extract Files

How can I extract or uncompress a file from tar ball downloaded from the Internet under Linux using bash command prompt?
[click to continue…]

How do I remove a directory from a tar ball under Unix / Linux operating systems?
[click to continue…]

I'd like to make / file system backup but the problem is there are other file systems mounted under / such as:

/mnt/cdrom
/mnt/nfs
/iscsi
/boot
/var

I'd like to skip all other file systems mounted at / and only make backup of local / and not /boot, /var, /iscsi, and /mnt/cdrom etc. How do I force tar to use a single file system under Linux / UNIX / BSD operating systems?
[click to continue…]

Ubuntu Linux: Compress files using tar Command

How do I compress and backup files using tar command to another directory on same computer or another Linux computer under Ubuntu Linux?
[click to continue…]

Tar Extract a Single File(s) From a Large Tarball

Q. I've couple of large tarballs such as www.tar and images.tar. Is it possible to extract a single file or a list of files from a large tarball such as images.tar instead of extracting the entire tarball? How do I extract specific files under Linux / UNIX operating systems?
[click to continue…]

Q. When I run tar command it fails with an error that read as follows:

tar: /dev/st0: Cannot write: Invalid argument

How do I fix this error under CentOS / Debian / Fedora / RHEL Linux HP server systems?
[click to continue…]