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)?

link|improve this question
feedback

migrated from stackoverflow.com Apr 24 '11 at 13:27

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

2 Answers

up vote 1 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".

link|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
feedback

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

link|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? – Kwpolska 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
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.