Re: [newbie] Tar tumbling?
On Sat, Mar 08, 2003 at 12:31:26PM +0100, Paul wrote: Greetings everyone, I seem to have a problem with my tar backups. When I check the backed up information, I see: -rw-r--r--1 paul paul 10240 Mar 8 12:00 backup1.tar.gz -rw-r--r--1 paul paul 10240 Mar 7 12:00 backup2.tar.gz Weird, since the backup1 file (made today) should be bigger than the one that rolled over to backup2 from yesterday; I installed OpenOffice 1.0.2. When listing the contents of the backup1 file (tar -tzf backup1.tar.gz), tar lists part of the file and then tells me gzip: stdin: unexpected end of file tar: Unexpected EOF in archive tar: Error is not recoverable: exiting now I run Mandrake 8.2 with [EMAIL PROTECTED] paul]$ tar --version tar (GNU tar) 1.13.25 The command I use to make the backup-file is tar -czf backup1.tar.gz -X ~/div/dont_do ~/* where ~/div/dontdo contains the extensions of some files I do not want backed up. Am I hitting some kind of limit with tar files? Would be strange, at work we tar files that grow into the 1Gb size (running HP-UX though). Paul If you can't beat the limit, use the tar options for a multivolume archive. It took me a long time to figure out that in additionn to these options, you can specify the --file option multipe times to tell tar which multiple file manes to use for the pieces of the tarfile. And the multivolume option does *not* allow you to compress while tarring. Here's a command I use to back up a WIndows C partition: tar --one-file-system --multi-volume --tape-length=200 -c --file=/offsite/lovesong/win_c-1.tar --file=/offsite/lovesong/win_c-2.tar --file=/offsite/lovesong/win_c-3.tar --file=/offsite/lovesong/win_c-4.tar --file=/offsite/lovesong/win_c-5.tar /mnt/win_c -- hendrik -- If thou thinkest twice, before thou speakest once, thou wilt speak twice the better for it. -William Penn http://nlpagan.net - Linux by Mandrake - Sylpheed by Hiro Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Tar tumbling?
In reply to Benjamin's mail, d.d. Sun, 9 Mar 2003 04:03:45 +0100: [...] file size (blocks, -f) 10 That means the system won't allow you to write files bigger than 100.000KB. One obvious way to change it is to use ulimit itself, although non-root users are limited in the ways changing the limits. From the top of my head, I am not sure where to change the system wide defaults. /etc/security/limits.conf might be one place to look at. Hi Benjamin and Hendrik, Ulimit -a shows exactly what you predicted. Thank you for the tip. I have already figured out how to go about the problem, namely by making several files, somewhat along the line of what Hendrik said. So thanks to you both! Paul -- I have the simplest tastes. I am always satisfied with the best. -Oscar Wilde http://nlpagan.net - Linux by Mandrake - Sylpheed by Hiro Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] Tar tumbling?
Greetings everyone, I seem to have a problem with my tar backups. When I check the backed up information, I see: -rw-r--r--1 paul paul 10240 Mar 8 12:00 backup1.tar.gz -rw-r--r--1 paul paul 10240 Mar 7 12:00 backup2.tar.gz Weird, since the backup1 file (made today) should be bigger than the one that rolled over to backup2 from yesterday; I installed OpenOffice 1.0.2. When listing the contents of the backup1 file (tar -tzf backup1.tar.gz), tar lists part of the file and then tells me gzip: stdin: unexpected end of file tar: Unexpected EOF in archive tar: Error is not recoverable: exiting now I run Mandrake 8.2 with [EMAIL PROTECTED] paul]$ tar --version tar (GNU tar) 1.13.25 The command I use to make the backup-file is tar -czf backup1.tar.gz -X ~/div/dont_do ~/* where ~/div/dontdo contains the extensions of some files I do not want backed up. Am I hitting some kind of limit with tar files? Would be strange, at work we tar files that grow into the 1Gb size (running HP-UX though). Paul -- If thou thinkest twice, before thou speakest once, thou wilt speak twice the better for it. -William Penn http://nlpagan.net - Linux by Mandrake - Sylpheed by Hiro Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Tar tumbling?
Hi. On Sat 2003-03-08 at 12:31:26 +0100, [EMAIL PROTECTED] wrote: I seem to have a problem with my tar backups. Yes, you do have. ;) When I check the backed up information, I see: -rw-r--r--1 paul paul 10240 Mar 8 12:00 backup1.tar.gz -rw-r--r--1 paul paul 10240 Mar 7 12:00 backup2.tar.gz The size is exactly 100.000*1KB. Looks like you are hitting an imposed file size limit. Type ulimit -a and you should get something like [...] file size (blocks, -f) 10 That means the system won't allow you to write files bigger than 100.000KB. One obvious way to change it is to use ulimit itself, although non-root users are limited in the ways changing the limits. From the top of my head, I am not sure where to change the system wide defaults. /etc/security/limits.conf might be one place to look at. HTH, Benjamin. pgp0.pgp Description: PGP signature