similar to: tar with pipe

Displaying 20 results from an estimated 4000 matches similar to: "tar with pipe"

2004 Sep 03
2
From OCFS to tape via tar (and back again)
We're using RMAN to back up our 9.2 RAC database to an OCFS v1 volume. We have an existing shell script that we use for copying files from disk to tape via tar, one file at a time. (Don't ask why. It's a legacy script. Long story.) We're tweaking this script to use --o_direct when tarring the file to tape and that seems to be working fine: # tape device is /dev/nst0 $ tar
2007 Jun 07
1
tar question
Hi Using tar i normally create an archive etc and then unpack that archive, job done. But i am copying from one filesystem to another on the same host, they are 2 seperate nfs filesystems, and i wonder is it possible to use tar to do this as opposed to say rsync etc. tar -cvf /some/input/dir to/here etc ? thanks
2006 Mar 01
1
Problem with large tar file.
I have just completed installing CentOS 4.2 (I came over here from Fedora-Land (core-3)). I did this via a fresh install. I tar'd everything to an external drive reinstalled the new stuff and everything is working very well. I've just got one issue. I have a full system backup Backup.tar that has a size of 78,717,880,320. When I issue the command tar -xvf Backup.tar I get only about
2007 Sep 28
5
ZFS Boot Won''t work with a straight or mirror zfsroot
Using build 70, I followed the zfsboot instructions at http:// www.opensolaris.org/os/community/zfs/boot/zfsboot-manual/ to the letter. I tried first with a mirror zfsroot, when I try to boot to zfsboot the screen is flooded with "init(1M) exited on fatal signal 9" Than I tried with a simple zfs pool (not mirrored) and it just reboots right away. If I try to setup grub
2005 Sep 03
2
tar question
Basic tar question: I have created a ar file with tar -prvf /tmp/ib_backup.tar /opt/interbase/data/* The file has been copied to another box and I want to untar the file into /opt/interbase/data/ I am not sure about the syntax; how to specify where I want the data to be placed. Here is my start of the command: tar -xvf /tmp/ib_backup.tar #The tar file is in /tmp Todd --
2006 Jun 22
9
OT -- BASH
Can someone explain why this: find . -depth -print0 | cpio --null -pmd /tmp/test will copy all files in and below the current directory -and- this: find . -depth -print | grep -v .iso$ | wc -l will count all the non-iso files -and- this: find . -depth -print | grep .iso$ | wc -l will count *only* the iso files -but- this: find . -depth -print0 | grep -v .iso$ | cpio --null -pmd /tmp/test
2009 May 08
9
Bash Script help...
Hi All, I need to write a script that I will manually start (or a cron job in future) but I need it to do a number of things in order one after another. How do i do that so everything gets dont as the steps depend on each other. Example: cd /system_backups/ tar cvf apache-conf.tar /etc/httpd/conf/* gzip -v9 apache-conf.tar tar cvf apache-data.tar /var/www/* gzip -v9 apache-data.tar
2011 Nov 23
2
Windows P2V migration temporary recipe
These are the current steps we followed to set up and run Windows P2V migrations. Note that development is proceeding rapidly and the versions of all pieces below will likely be obsolete soon. ************************************************************* Windows RHEV P2V Cookbook 2011-1122 1. Install 32 bit Fedora 14 as a virtual machine or physical host. You will use this system to build
2008 Jan 08
3
tar bug in CentOS 4.6?
Since upgrading my server from CentOS 4.5 to 4.6 I've been getting the following error from amanda backups: mutilate /home lev 1 FAILED [compress got signal 11, /bin/tar got signal 13] I was away from the house for most of the end of December and had a couple of other issues that came up that could have been related but apparently weren't (why is it that several things all go wrong
2012 Jan 05
1
Corrupt mbr and disk directory map
We are running Centos 5.6. All was fine until yesterday. I attempted to tar a 14KB work file to a USB floppy (/dev/sdb) for transport to another server. Unfortunately, I keyed in 'tar cvf /dev/sda filename' instead of 'tar cvf /dev/sdb filename'. /dev/sda is our main (boot/root/apps) scsi hard drive. I realized my mistake, but it was too late. The system is still
2003 Jul 01
4
2GB limit in Samba?
Hi. Is there such a limit to 2GB in samba 2.2.8a-1? I get a "File imit exceeded" when I try to tar or cp smth to a smbmount. On both machines I can successfully do dd if=/dev/zero and create a file of 3GB, I can also tar -cvf it but no cp to smb. RH8 if it matters...
2012 Feb 26
3
spc restarts
I was wondering why scp didn't have a restart-in-the-middle option when transferring a large file. Isn't that something that is supported by the underlying ssh protocol? Is there some other program that can give me this functionality ?
2006 Apr 20
1
Own CentOS distribution
Hi All, I have my own distribution CD for RH 7.2 . and when i am i trying creted for CentOS i am facing some problem . I am not able to change the anaconda installer . Thanks in advance Regards juliet
2007 Aug 18
6
Help with backups
I've got a Redhat 5 server running Samba, and two dualboot CentOS 5 workstations. Until we get a better backup strategy, I'm backing up the workstations to the server via mounting a shared samba drive to /mnt. Trying tar cvf /mnt/samba_share/backup.tar /* eventually yields backing up /mnt, which produces an unwanted loop, including /mnt/samba_share I looked at tar with --exclude /mnt
2002 Jul 25
0
Réf. : Backing up both AIX and NT using Samba
Hi Joe, What you can do is to tell the tape drive to not rewind after the first backup. You have to select the dedicated device for that. If my memory serves me, the device which does not rewind at backup end is /dev/rmt{x}.4 or something like that. So, the batch could be like this: tar cvf /dev/rmt{x}.4 myfiles_from_AIX smbclient ... -Tcga /dev/rmt{x} #after the NT backup,
2005 Aug 12
2
CentOS] Remote archiving with tar over ssh
> On Fri Aug 12 17:14:00 UTC 2005 Paul Heinlein heinlein at madboa.com wrote: > > How about > > tar c $(find / -name \*.conf) | ssh host.com "gzip -c > file.tar.gz" Thank you very much, this worked. I have two supplementary questions. First, what is the significance of the $() construct in bash and how does it interact with tar? Does it take the place of
2009 Nov 11
4
About the tar extract signal directory~~
Hi,all: 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? Thanks in advance ~~ -------------- next part -------------- An HTML attachment was scrubbed... URL:
1999 Feb 25
2
smbtar problem
I was using smbtar to test backing up an NT server, everything works fine except that for quite a lot of the files it has an error downloading them(probably 2/3 of them actually). All it says is : Error reading file \dir\dir\file. Got 0 bytes Didn't get entire file. size=533, nread=0 I could see this happening if the file were opened exclusively such as the paging file, but to my knowledge
2006 Feb 07
7
How to add System V Filesystem to Centos?
Hi, I am working on a project where I have to move some parts files from an old Unix server. I have tared the files to floppy disc, but I can't mount them. After doing some reasearch I have found that the SCO Unix ver 3.2 uses a System V filesystem I think. From the article that I have read I need to add this filesystem to my kernel to be able to mount and read the floppy discs. Can
2012 Feb 07
3
Suggestion for openssh
Hi! I do not know if it's the ideal place, but I'm sending some suggestion. Always use openssh and its enormous features. - I needed to create an environment with only sftp access and thus used: - Match User suporte ForceCommand / usr / lib / openssh / sftp-server OK! It worked perfectly! But only sftp. - Create an environment with only blocking the ssh, but scp and