Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So, how to make a few archive parts or how to make archive for some part of files (0-100 items, than 1000-200 items etc)?

share|improve this question

migrated from Apr 24 '11 at 13:27

This question came from our site for professional and enthusiast programmers.

up vote 2 down vote accepted

Don't. Tarpipe it.

ssh user@host tar cjf - files/to/archive > backup.tar.bz2

This will build the tarball on the remote side and send the results to your system, where it gets put into a file called "backup.tar.bz2".

share|improve this answer
Got error then: Filesize limit exceeded: 25 – Anthony Apr 24 '11 at 14:40
Drop the j and the .bz2 then, so that it doesn't produce any files on the remote system. – Ignacio Vazquez-Abrams Apr 24 '11 at 15:54

GNU split if you have to. Tar it to one archive and then use this command.

share|improve this answer
The main problem is that I haven't any roots for edit privilages on my hosting. And when I make an archive I get an error: "Filesize limit exceeded: 25" – Anthony Apr 24 '11 at 13:39
@Anthony That's a problem. You would have to make a lot of archives and give them out. This wouldn't be nice. And by the way, if it's a backup of all your stuff, can't you ask the admin? – Chris Warrick Apr 24 '11 at 13:51
Unfortunately, it is almost impossible. If anybody doesn't help me, then will try to ask the admin... – Anthony Apr 24 '11 at 14:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .