Debian :: Best Way To Tar - Gzip Entier Filesystem?

Nov 24, 2008

I want to take my Debian server's file system home to scan with a chkrootkit and I want to copy all the files and folders to my flash drive which is only 2 gigs and the file system is 3 gigs.

So should I use gzip or tar or what? I am still looking around google but nothing is super clear. Also I am currently making a tar.gz archive of everything, but I used the GUI so I don't know if I did it right or not yet. Its taking a long time tho.

View 5 Replies


ADVERTISEMENT

Debian :: Gzip - Stdin - Invalid Compressed Data - Crc Error

Jun 18, 2011

I have two Debian machines running Squeeze x86 and x86_64.

I am having difficulties to untar a file in x86_64, although it is working in x86.

I made sure file is the same and the md5 match in both machines.

It seems like something special in x86_64 is causing it to fail.

See below:

View 9 Replies View Related

Debian Configuration :: Extract Gzip File Don't Get Any Installable Files

Apr 6, 2016

I have installed debian on my dell latitude d630 laptop and am currently making a derivative for others to use. however I can't get the wireless to work. I downloaded it from the broadcom site but it comes as a gzip file instead of a deb file. if I extract the gzip file I don't get any installable (deb) files. I need the wireless to work because now a bridged network from my windows laptop isn't working.

View 3 Replies View Related

Red Hat / Fedora :: Filesystem Check After Power Outage - WARNING: "Running E2fsck On A Mounted Filesystem May Cause SEVERE Filesystem Damage"

May 18, 2011

I am very new to linux, and I have a question regarding the filesystem check (fsck). The power recently went out and when I tried to restart linux the following error appears:

*/dev/sda1 contains file system w/errors, check forced it then goes on to say..

*An error occured during the file system check. Dropping you to a shell; the system will reboot when you leave the shell. Give root password for maintenance (or type Control-D to continue) I wasn't sure what to do, but checked some other online forums and they suggested running fsck manually - so I typed in the root password - and used the command, "fsck -A -V ; echo == $? ==" it then gave the following message

*WARNING!!! Running e2fsck on a mounted filesystem may cause SEVERE filesystem damage
*Would you like to continue (y/n)

Again, I wasn't sure what to do so i just checked no. I then manually turned off the computer and was prompted at the beginning to press Alt-3. I was brought to another screen and it informed me one of the drives was degraded and suggested rebuilding the array. I tried doing this, but it still brings me back to the original error of, "/dev/sda1 contains file system w/errors, check forced," and the process continues.

Also, when I tried to rebuild the array, I didn't backup any of the data on our home directory before doing this (which was probably a big mistake). After being prompted to type the root password, I was able to give the ls command and look at all the directories...the home directory where our data was stored was empty and I am afraid I may have lost some information. Is there a possibility that data was lost when I was trying to rebuild using the old drives?

View 2 Replies View Related

Ubuntu :: Gzip Using 90% Of CPU Yet It's Not Loaded?

Feb 3, 2010

At times I notice that my CPU is working hard and I open terminal and enter #top which shows me that gzip is running and using 90% or more or the CPU this remains the same after I close all applications and the only thing left open is terminal. The only way I have found so far is to reboot the system.

View 7 Replies View Related

Debian :: Will Debian 6 Stable Have Ext4 Filesystem?

May 23, 2010

Will Debian 6 stable have ext4 filesystem?

View 10 Replies View Related

General :: How To Know Gzip Compression Level

Apr 12, 2011

Given a gzip compressed file, how do I know what compression level (1-9) was used for it?

View 2 Replies View Related

Ubuntu :: Gzip Update Failure In 8.04?

Jan 18, 2010

The last two times that I updated I received a failure notification for gzip. I do not know what I did to cause that to happen;

I recently downloaded " hearts for gnome " which is a gzip file but i was not able to install it. Perhaps that jammed up the gzip!!

View 5 Replies View Related

General :: Shell Script For FTP And Gzip?

Apr 5, 2010

I want to be able to write a shell script for downloading files (only *.tar extension) from multiple folders (the sub folder's names may vary) in a FTP site and be able to untar them and then gzip them and then move them to the real folder.

View 4 Replies View Related

General :: Gzip Multiple Files Into One Gz File?

Mar 29, 2011

I have 100 files: cvd1.txt cvd2.txt ... cvd100.txt

How to gzip 100 files into one .gz file so that after I gunzip it, I should have cvd1.txt, cvd2.txt ... cvd100.txt separately?

View 4 Replies View Related

Ubuntu :: File Roller No Gzip Bz2 Password?

Apr 3, 2010

file roller no gzip bz2 password supported?

View 2 Replies View Related

General :: Gzip Command To Append Some Files

Feb 21, 2011

I have a existing zipped file , I want to use gzip command to append some files to it , I tried man gzip but can't find the key word "append" , can advise how can I do it ?

View 1 Replies View Related

General :: Tcpdump Decode Gzip Packets?

Mar 11, 2010

Does gzip have the capability to decode gzipped traffic? I have been beating my head against the wall with this issue. What I'm trying to do is capture traffic between a web server and clients, and I've got it set up where it's redirected to a file for ease of grepping, however it's seemingly incapable of decoding gzipped encoding. I know I can do this with tshark, I'm curious as to whether tcpdump has this capability (i.e. only using tcpdump, and not some additional tool like tcpshow or what-not).

I can't find much on this issue in the man page for tcpdump, but it is fairly lengthy, so it's possible that I missed something, but I don't see that as especially likely.

View 2 Replies View Related

Server :: Gzip Log Files In Remote Servers?

Jun 7, 2011

I have limited access to several servers (key based auth) but cron facility is not available for me. Those servers getting filled up by large apache logs and I have to login to each node manually and clean them each and every day.

I tried to write a script to run from login box but when i try that it looks like it is looking for logs in the local server (login box).

So current situation is:

How can i modify this so that the script in server1 will look for files in that server and zip them?

Google showed another command called rsh but in my env it is also not avil.

View 5 Replies View Related

Software :: Gzip: Httpd-2.2.17.tar.gz.bz2.gz: No Such File Or Directory

Feb 24, 2011

I have downloaded apache(file name: httpd-2.2.17.tar.gz.bz2) throughw wget at /usr/local/src now i m not able to do next step with gzip command I am using following command and getting error

]# gzip -d httpd-2.2.17.tar.gz.bz2
gzip: httpd-2.2.17.tar.gz.bz2.gz: No such file or directory

View 3 Replies View Related

OpenSUSE Install :: Unknown Filesystem Type 'reiserfs' Could Not Mount Root Filesystem - Exiting To /bin/sh

Mar 27, 2010

When I try to boot to OpenSUSE I get the following error during boot-up: unknown filesystem type 'reiserfs' could not mount root filesystem - exiting to /bin/sh$

This only started happening quite recently - before this I could boot to Linux quite happily.

View 6 Replies View Related

Debian :: What New Filesystem In Squeeze?

Aug 10, 2010

Squeeeze is now frozen.Lenny has Ext3 as default filesystem and that's fine.But I am unsure if the Ext4 or btrfs is the best - and why.What's the best? Ext4 or btrfs?

View 2 Replies View Related

OpenSUSE :: New MB And Processor And Gzip/bzip2 Does Not Work Anymore

Jun 22, 2010

I am using suse for a long time but I did not yet experience this strange error:

I installed 11.2 and now 11.3RC1 on a new HW: ASUS M4N72-E with AMD Phenom2 X4 965, 8GB Memory, standard settings.

I experienced unusual errors when copying large files to the new system with scp/ssh (connection broken).

Even stranger I could not read .tgz files created on the older machine, same OS 11.2, but MB ASUS M2N32-SLI with AMD Phenom X4 9850

Testing further reveals that if I create a .gz file from the same source it produces every time a different output:

-rw-r--r-- 1 root root 3875041280 Jun 21 01:51 wwtest.tar
-rw-r--r-- 1 root root 1326141906 Jun 21 01:55 wwtest1.tar.gz
-rw-r--r-- 1 root root 1326137319 Jun 21 03:26 wwtest2.tar.gz
-rw-r--r-- 1 root root 1326146273 Jun 22 07:32 wwtest3.tar.gz

[Code].....

I never saw something like it, I guess it must be something with the underlying library not working on the new processor. I tried with slower memory speed, newest BIOS etc ...always the same errors. Other wise the system works absolutely stable.

When I compare the generated files with one created on the older system it looks like there are single bits missing in a random number of bites.

View 2 Replies View Related

General :: Detect Filesystem Type (can't Mount Filesystem Image .img)

Mar 11, 2011

I am trying to mount a file image, like this

mount -o loop /tmp/apps.img /media/apps

But I get the following:

mount: you must specify the filesystem type

I try ext3:

mount -o loop /tmp/apps.img /media/apps -t ext3

dmesg says:

error: can't find ext3 filesystem on dev loop6.

I've also tried ext2, vfat etc. How can I detect the filesystem type of apps.img?

View 2 Replies View Related

Ubuntu :: Finding Filesystem Type/repair Broken Filesystem?

Jul 9, 2010

I have a following problem: Recently my drive with Ubuntu 9.4 has mysteriously stopped working, i.e. when I switch the computer on it informs me that GRUB didn't find the filesystem. Well, I suppose it happens.

First, I though it was due to the drive dying, but I popped it in an external enclosure and HDTune told me the drive was fine. Wanting to recover the files on the drive before reinstalling I first tried to mount it in said external enclosure under Windows (I have Win Ext2 driver installed which used to work just fine). This time, however, drive gets assigned a letter but upon opening it Windows popped up an error saying that the drive was not formatted and whether I would like to format it then.

Unfazed by this streak of failures I tried to mount it under Linux but, alas, to no avail. I might have tried every single -t operator under mount command but it still won't budge and let me mount.

View 5 Replies View Related

General :: External Drive Read Only - WARNING! Running E2fsck On A Mounted Filesystem May Cause SEVERE Filesystem Damage

Mar 24, 2010

I've had a look at some similar threads but as I'm very new to linux they're already a bit technical for me. Sorry, this calls for someone with patience. I gather from other threads that disconnecting an external drive without unmounting is a no-no, and this seems to be the likely cause. Now the disk is read only and I'm unable to change any settings through the usual control panel on ubuntu. I'm just not familiar with the terminal instructions. I tried to cut and past a few command lines from other threads but I got some warnings that proceding could damage data. Like this one: WARNING! Running e2fsck on a mounted filesystem may cause SEVERE filesystem damage.

View 5 Replies View Related

General :: Control Gzip Compression Rates While Archiving Files With Tar?

Jun 4, 2011

I have a script which periodically backs up a directory using the command "tar -czvf [name] [directory]" but my problem is that the script has recently been putting a lot of stress on the server (Minecraft SMP) and tends to lag players as it backs up, which recently has been taking nearly 5 minutes.So I need to know if there's a way to control the GZip compression rate at the same time that it archives and backs up the files?I understand that I can first tar the files and then GZip them separately with a different compression rate afterwards, but this would not work because it names the files with the current server time, which sometimes changes in between commands.

View 1 Replies View Related

Ubuntu Installation :: Dropbox - Can't Download Daemon - Not A Gzip File

Aug 23, 2010

Using lucid LTS, I have no problem installing dropbox using either the website download .deb, or adding it to my repositories.

The problem comes when I try and run the software. At this point it unsuccessfully tries to download the required proprietary daemon.

In the terminal, running:

'sudo dropbox start -i'

Gives:

Starting Dropbox...Traceback (most recent call last):
File "/usr/bin/dropbox", line 242, in handle_data_waiting
self.unpack_dropbox()
File "/usr/bin/dropbox", line 252, in unpack_dropbox

[Code]....

View 3 Replies View Related

Ubuntu Servers :: Gzip And Tar Hang Around And Don't Die Locks Up Backup Drive?

Apr 20, 2011

so this is really the result of another problem. There seems to be an issue with CPU spiking to 99% forever (until reboot) if I run apt-get or synaptic or update manager while an external USB drive is plugged in. Note, other USB peripherals are no problem, just an external HD.

So my work around was to eject the drive when doing apt-get or other installation work, then reattaching it to remount. Now, on to the present problem. I'm using the basic backup script (the rotating one) found in the Ubuntu Server manual. It uses tar and gzip to store a compressed version of the desired directories on my external USB. (which sits in a fire proof safe - this is for a business)

However, it seems tar and gzip which run nightly 6 days a week via cron as root, don't ever want to die, and they don't release the drive. I have to reboot the system (I can't logoff) to release the drive, unplug it, the I can do update/install work.

Of course, if apt etc. would work fine without conflicts with the external device, I'd not care about the tar/gzip problem other than it generally isn't a proper way for them to function and it chews up some CPU cycles. (they run about 0.6 and 1.7 percent respectively) I also can't kill them via kill or killall. They seem undead.

View 6 Replies View Related

General :: Backup Script Multiple Gzips Into One Bzip2 Or Gzip?

Feb 18, 2010

I have a backup script basically is this

Code:

BACKUP_DIRS="/etc /boot /root /home"
BACKUP_FOLDER="/tmp/system_backup/
for DIR in ${BACKUP_DIRS}
do

[code]....

All the folders get dumped into seperate gzip files. Now I want all the gzip files in the backup folder into one final gzip or bzip2 file. My goal for this is to get one file instead of multiple so I can scp or ftp the one file to another file share. Which would be easier to send one file than a bunch of files.

View 2 Replies View Related

General :: Find The TCSH Shell And Gzip Version Number?

Apr 7, 2010

I need to find TCSH shell and gzip version number by running a acript on several boxes through ssh. How can i do that? I made a script for tcsh but it is not working by ssh , it only works on my box . I dont know from where to find the gzip version info.

View 5 Replies View Related

Debian :: Recover Ext3 Filesystem ?

Nov 13, 2010

Yesterday I ran an extremely dangerous command by mistake:

Acctually I intended to dump the iso to a usb disk. Soon I found the "of" is incorrect, but 1 second has passed...

Since everything happens in 1 second, only MBR and /dev/sda1 has been affected. The filesystem of sda1 is ext3.

So, can I get any luck trying to recover data from the broken partition?

View 10 Replies View Related

Debian :: Cannot Mount Volume Other Than FileSystem?

Jul 20, 2010

I have installed debian recently and not able to mount any other volume except FileSystem. It says -You are not privileged to mount this volume.I have tried everything including raising the permissions of the user and changing the group to root but in vain.??

View 4 Replies View Related

Debian :: Create ISO From Current Filesystem?

Jun 20, 2010

I currently have a server setup in a perfect way for my specific network. Is there a way that I can mirror the server EXACTLY to a CD that will install all my configurations and the like upon CD boot?

View 5 Replies View Related

Debian :: Installing In Another Filesystem Type?

Jul 19, 2010

how can i install debian on NTFS or FAT32?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved