Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: RedHat 8.0, 7.1 and Enterprise WS 3,4
Posts: 94
Rep:
tar and ftp put on the fly
Hi,
I'm looking for a way to backup my data using an online storage facility. The facility only allows access through a kerborsed ftp client and my data is pretty big and has a ton of folders. Due to this I'd very much like to tar my directories so I can keep the directory structure if I ever have to get the data off this online storage facility. My problem is I don't have enough room to make a duplicate copy of my data in a tar file and send it, via ftp, to the storage facility. Is there a way I can tar and put data 'on the fly'? Basically I'm looking for a way where I don't need the space to hold an entire .tar file of all my data before putting it with ftp. Thanks very much.
-NifflerX
p.s. The distro I'm using is redhat linux if that makes a difference.
just a note to dub.wav's instructions, you might want to make sure that you are transferring in binary mode before you start the upload depending on the types of files you are uploading
Distribution: RedHat 8.0, 7.1 and Enterprise WS 3,4
Posts: 94
Original Poster
Rep:
Just a quick question. What do I do with the fifo file once I've got the tar file uploaded? Can I just delete it? Or is there a proper way to close it? Thanks again.
You can just delete it. Any way I got the solution off google, and it was late so my mind wasn't working properly.
You don't need the named pipe, if you want to you can embed the tar command in the put command, like this:
Distribution: RedHat 8.0, 7.1 and Enterprise WS 3,4
Posts: 94
Original Poster
Rep:
Thanks for info. I'll try this way as well, although the other way already works, so if something hitches I'll still be okay. Thanks again for all the help.
-NifflerX
EDIT: Just for general knowledge, both ways worked.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.