Re: [newbie] How long to create a large tar.gz
$ tar cvzf archive_file.tgz archive_directory/ will tar and compress the contents of archive_directory/ into a file named archive_file.tgz. v is not mandatory, but gives you the idea of the progress it's making. On my PIII/733 it takes less than 15minutes to tar and gzip more than 600Mbyte of data. raffaele [EMAIL PROTECTED] wrote: I want back up a directory to an archive for my upcoming big wipe for 9.2. The directory is about 630MB, and I left it going for 4.5 hours creating a tar.bz2, still wasn't done when I got up this AM. Is it faster (but less compression) just to do tar.gz? How long should it take? I was using ROX Archive, which basically just calls the command line arguments. I read man tar but I can't for the life of me figure out what arguments to use to create a tar.gz. Do I have to specify a destination file or just: tar -cz homestuff? 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] How long to create a large tar.gz
You have to tell it what to tar and where to tar it to. tar -cfz test.tar /home/test/. Tony. -Original Message- From: HaywireMac [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 22, 2003 10:51 AM To: Mandrake Newbs Subject: [newbie] How long to create a large tar.gz I want back up a directory to an archive for my upcoming big wipe for 9.2. The directory is about 630MB, and I left it going for 4.5 hours creating a tar.bz2, still wasn't done when I got up this AM. Is it faster (but less compression) just to do tar.gz? How long should it take? I was using ROX Archive, which basically just calls the command line arguments. I read man tar but I can't for the life of me figure out what arguments to use to create a tar.gz. Do I have to specify a destination file or just: tar -cz homestuff? -- HaywireMac ++ ICQ # 279518458 Registered Linux user #282046 Homepage: www.orderinchaos.org ++ Mandrake HowTo's More: http://twiki.mdklinuxfaq.org ++ Only that in you which is me can hear what I'm saying. -- Baba Ram Dass -+-+-+-+-+-+-+- Business Computer Projects - Disclaimer -+-+-+-+-+-+-+- This message, and any associated attachment is confidential. If you have received it in error, please delete it from your system, do not use or disclose the information in any way, and notify either Tony S. Sykes or the postmaster mailto:[EMAIL PROTECTED] immediately. The contents of this message may contain personal views which are not necessarily the views of Business Computer Projects Ltd., unless specifically stated. Whilst every effort has been made to ensure that emails and their attachments are virus free, it is the responsibility of the recipient(s) to verify the integrity of such emails. Business Computer Projects Ltd BCP House 151 Charles Street Stockport Cheshire SK1 3JY Tel: +44 (0)161 355-3000 Fax: +44 (0)161 355-3001 Web: http://www.bcpsoftware.com http://www.bcpsoftware.com/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] How long to create a large tar.gz
On Wed, 22 Oct 2003 11:59:57 +0200 Raffaele Belardi [EMAIL PROTECTED] uttered: $ tar cvzf archive_file.tgz archive_directory/ will tar and compress the contents of archive_directory/ into a file named archive_file.tgz. v is not mandatory, but gives you the idea of the progress it's making. On my PIII/733 it takes less than 15minutes to tar and gzip more than 600Mbyte of data. Ok, so there's definitely something wrong with the way ROX Archive is doing it. Thanks to you and Tony, I had it backwards, I was putting the dir to be archived 1st, that's why it wasn't working. Weird thing is though, if I do a small dir using ROX Archive, it's really fast, as you say it should be (I have a P3 866), but as soon as it's a dir of any size, say 100MB, it never seems to end. I'll try it from the CLI instead, thanks guys! -- HaywireMac ++ ICQ # 279518458 Registered Linux user #282046 Homepage: www.orderinchaos.org ++ Mandrake HowTo's More: http://twiki.mdklinuxfaq.org ++ Certainly the game is rigged. Don't let that stop you; if you don't bet, you can't win. -- Robert Heinlein, Time Enough For Love Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] How long to create a large tar.gz
HaywireMac wrote: On Wed, 22 Oct 2003 11:59:57 +0200 Raffaele Belardi [EMAIL PROTECTED] uttered: $ tar cvzf archive_file.tgz archive_directory/ will tar and compress the contents of archive_directory/ into a file named archive_file.tgz. v is not mandatory, but gives you the idea of the progress it's making. Thanks to you and Tony, I had it backwards, I was putting the dir to be archived 1st, that's why it wasn't working. Weird thing is though, if I do a small dir using ROX Archive, it's really fast, as you say it should be (I have a P3 866), but as soon as it's a dir of any size, say 100MB, it never seems to end. I'll try it from the CLI instead, thanks guys! But you first cd to directory where archive file is to be made ? and then tar cvzf archive_file.tgz archive_directory/ or,tar cf archive.tar -L N directory_to_tar/ if you want to split the archive. John -- John Richard Smith [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] How long to create a large tar.gz
I want back up a directory to an archive for my upcoming big wipe for 9.2. The directory is about 630MB, and I left it going for 4.5 hours creating a tar.bz2, still wasn't done when I got up this AM. Is it faster (but less compression) just to do tar.gz? YMMV, but i have heard people profess loudly not to use compression on backups. The tar isn't as small, but way less chance of corruption... -- Mandrake HowTo's More: http://twiki.mdklinuxfaq.org Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] How long to create a large tar.gz
On Wed, 22 Oct 2003 08:40:53 -0700 Eric Huff [EMAIL PROTECTED] uttered: YMMV, but i have heard people profess loudly not to use compression on backups. The tar isn't as small, but way less chance of corruption... I tested 'em all afore I burned 'em, but thanks for the concern! -- HaywireMac ++ ICQ # 279518458 Registered Linux user #282046 Homepage: www.orderinchaos.org ++ Mandrake HowTo's More: http://twiki.mdklinuxfaq.org ++ Ditat Deus. [God enriches] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] How long to create a large tar.gz
On Wed, 22 Oct 2003 05:51:00 -0400, HaywireMac [EMAIL PROTECTED] wrote: The directory is about 630MB, and I left it going for 4.5 hours creating a tar.bz2, still wasn't done when I got up this AM. It's been mentioned before, but is there a link somewhere to a higher directory, making a loop? If so, you'll wait for ever. Mine was in ~/.openoffice. I noticed the same file names scrolling past again and again... Richard -- Get up and turn I loose Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com