Ubuntu :: Use Cpio Command For Back Up Files?

Feb 14, 2011

I want to use cpio command for back up my files. but I cant understand what's the meaning of -p in this command. pass through?

View 2 Replies


ADVERTISEMENT

Red Hat :: Extract Cpio.gz File By Using Command?

Jun 25, 2010

I was trying to extract a file by using this command cpio -idmvz <file.cpio.gz> but system hangs. Nothing gets extracted.

View 3 Replies View Related

CentOS 5 :: Restoring With Cpio - Command Correct?

Nov 12, 2009

The last time I did a restore using cpio under CentOS 3.9 it took a very long time for me to find my seemingly correct command wasn't working and I ended up doing the work in Knoppix. This time I thought I'd run my command by wiser heads before the necessary tape turns up and I spend a lot of time finding my command doesn't work. cpio -i -mtvV --block-size=128 --no-absolute-filenames /var/log/maillog* < /dev/st0

Does this look right? The backup string is find / -path /mnt -prune -o -path /lost+found -prune -o -path /sys -prune -o -path /proc -prune -o -path /swapfile1 -prune -o -path /var/named/chroot/proc -prune -o -print | cpio -o -H crc --block-size=128 > /dev/st0

EDIT: I changed the restore string to cpio -i -mtvV --block-size=128 --no-absolute-filenames *var/log/maillog* < /dev/st0 EDIT2: Whoops, should be cpio -i -mvV --block-size=128 --no-absolute-filenames *var/log/maillog* < /dev/st0

View 1 Replies View Related

Ubuntu :: Cannot Cpio Files / Directories To Mounted Partition

Dec 8, 2010

I am trying to copy my /home directory to a separate partition. I have seen a lot of info on this on the internet. Most of the information uses cpio to copy the files. The destination partition has been successfukky mounter.

View 2 Replies View Related

General :: Unable To Install CPIO Extension Files

Apr 23, 2011

I want to install Forms & Reports Developer Suite in Linux OS So I have downloaded Oracle Developer Suite 10g for Linux (Including Forms & Reports)
as_linux_x86_ids_101202_disk1.cpio
as_linux_x86_ids_101202_disk2.cpio

So in the Oracle Documentation Site they have given Guide as Follows:
To extract the cpio file,
move the cpio file to an empty directory,
then do:
cat filename.cpio | cpio -icd ....
but its not extracting.

View 7 Replies View Related

Ubuntu :: Accidently Hit This Command Inside My /var/www Folder - Recover My Files Back?

Feb 27, 2010

i accidently hit this command inside my /var/www folder. im screwed big time.I need to recover my files back. is there any chance ?

View 1 Replies View Related

General :: Back The Files Used Since Last Back Up?

Oct 24, 2010

I,m using Ubuntu 10.10 with Gimp. Ive got a lot of photos etc and need to back these up. Can I anyone suggest a good backup solution which does not require e to keep copying the same files? IE: Once the files are backed up I only want to back the files used since last back up?

View 11 Replies View Related

General :: Hot Backup Of Root With Cpio?

Feb 22, 2011

i would like to know if its safe to backup root partition with cpio. I need to do an online backup of running system so i can't unmount partition or so to dump it or dd it. Is it safe? is there any chance the backup would be inconsistent or so? What is the worst what could happend? will the files used by a running system backup correctly?
Running opensuse 11.3 and some basic daemons like ftp,www server...

BTW i did try search with tag "cpio" but there was not such a topic.

View 4 Replies View Related

General :: Rpmbuild Force To Use Cpio.gz On RHEL 5.3?

Oct 19, 2010

I have RHEL 5.3.

I am trying to build a e1000 network card driver rpm with particular requirement to have cpio.gz inside rpm.

But after i build my rpm driver it has cpio.lzma inside. I simply build using command from the readme: rpmbuild -tb *.tar.gz.

I have googled and found that from around 5.0 RHEL includes lzma and uses it as a default setting. Is there any way to force to use cpio.gz or somehow repackage my rpm correctly?

I have searched through makefile and other files but was not able to find a clue.

View 11 Replies View Related

Server :: CPIO And Find Operation Not Permitted Errors?

Jun 14, 2011

Below is the oneliner that I am using to exclude all of "." hidden directories within the same directory.

Code:
cd find . -depth ( -wholename ./.* ) -prune -o -print | cpio -oav > /media/caca/extract/full$date.cpio
it works fine but when I extract the files from the full$date.cpio archive it appears to have worked but gives me permission errors:

Code:
cd /media/caca/extract
cpio -ivd < full061411.cpio
cpio: Selection_001.png: Cannot change mode to rw-r--r--: Operation not permitted
Selection_001.png
cpio: Selection_002.png: Cannot change mode to rw-r--r--: Operation not permitted
Selection_002.png

[Code]...

View 4 Replies View Related

Server :: Create A Initrd Image Without Using Mkfs But Cpio?

Jan 26, 2011

how to create an initrd image using cpio, instead of mkfs?

Now im doing it like this:

Code:
dd if=/dev/zero of=initrd bs=1024 count=10000
mkfs -t ext2 -F -m 0 -b 1024 -i 1024 initrd

But i would like to move to cpio, because with dd, if you add something new, you might need to change the count. Also cpio is used in distro's like Fedora and Ubuntu.

View 2 Replies View Related

Server :: Initrd Image Created With Cpio Doesn't Boot The Livecd

Jul 1, 2011

Im trying to build an initrd image for my livecd using cpio -o -H newc, but the livecd can't boot. If I create the initrd image using mkfs.ext2 then it works.

View 2 Replies View Related

Ubuntu :: Save The Changes And Go Back To The Main Command?

Feb 22, 2010

I had make changes on the following text in Ubuntu terminal, how can I save the changes and go back to the main command?

<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /home/support/sohai

[code]....

View 1 Replies View Related

Ubuntu Servers :: Can't Get Back To Command Line

May 8, 2011

I had some trouble before getting to install Webmin on my nas from the command line in Ubuntu Server So I wanted to temporary install a gui and used kde. Downloaded it via the browser.Now I got webmin running and tried to remove KDE again. Some things were removed but the inlog screen is still there, and now it looks more like a gnome interface when I logged on.How can I remove the GUI completely again?

View 1 Replies View Related

Networking :: Net Command Gone / Get That Back?

Dec 27, 2010

I have been using the net command for a while now to remotely shutdown my windows machine, I believe that it comes with the samba package.
"net rpc shutdown -f -I IP_ADDRESS -U USERNAME%PASSWORD"

I run a Ubuntu 10.10 x86 Netbook edition computer, and have recently updated my software because my computer asked me to and the net command recently stopped working so I assume this is the cause.
It was simply saying that the net command did not exist, but after playing around installing packages I installed samba4 and got it recognizing the command net. But it no longer works the same and does not support "rpc shutdown" nor does it appear to have any replacement for it.

Was the command simply depreciated? if so how can I stop this from happening again, I use net all the time and am not happy that it would disappear without warning.

Can I get the command back somehow, or do any of your have a replacement?

View 2 Replies View Related

Ubuntu :: Takes Back To The First Script When Use The Exit Command

Oct 3, 2010

I was writing a bash script which attached to another script. The issue I'm having is, when I use the exit command written in the script, it takes me back to the first script. How do I disable this?

View 1 Replies View Related

OpenSUSE Install :: Copy Data From The Straight Disk To The Array, Using Several Methods: With Dolphin, With Cpio?

Jan 9, 2010

I'm not sure wether this is the correct forum for this, but this is the best place I can see at the moment, so I'll give it a try. Please redirect me if I'm mistaken.Running Suse 11.2, I have a RAID-5 device mounted, and a straigt disk. I want to copy data from the straigt disk to the array, using several methods: with Dolphin, with cpio. Copying runs for some time, sometimes one or some files are copied indeed, but after a short time (sometimes half a minute, sometimes 10 minutes or more) I get a

Message from syslogd@linux-wrth at Jan 9 22:44:03 ...
kernel:[ 381.602651] Oops: 0000 [#1] PREEMPT SMP
Message from syslogd@linux-wrth at Jan 9 22:44:03 ...

[code]....

View 2 Replies View Related

Ubuntu :: Lost BOTH Panels / Command Line Instructions To Get Them Back?

Mar 26, 2009

I tried a program called BarPanel, which replaces the Gnome Panels. The installation instructions told me to download the program installer (the program installs automatically for Debian/Ubuntu users). Then I had to go to System > Preferences > Sessions to remove the gnome-panel entry and add the BarPanel one. So far so good. On re-starting, the new panels were installed to my desk top in bright green! The problem was that a lot of the icons don't work. The action menu does nothing and there is no entry for Sessions in the System menu, so I can't go back and undo. I have re-installed gnome-panel under Synaptic, without any success. I un-installed BarPanel, so I now don't have any panels at all now! One good thing is that I have Cairo-dock on my desktop, so I have access to several programs, including the terminal.

Can someone out there give me the command line instructions to get the gnome panels back.

View 2 Replies View Related

Ubuntu :: Command With The -r Option To Compare A Large Number Of Files And Files In Subdirectories

Jun 16, 2011

I am using the diff command with the -r option, to compare a large number of files and files in subdirectories. My main interest is to find out which files have been changed, and not what the actual changes are, and since a lot of files has been changed, it would be a lot easier to view the file names only. Is there and option for diff that might do this, or does there exist a similar tool/command that could do the job?

View 1 Replies View Related

Ubuntu :: Files Dissapeard / Get Them Back?

Sep 28, 2010

I went to open a file today and noticed it wasn't there. After looking around i noticed most of my recent documents weren't there. They still show up in my recent documents bar, it just says they don't exist when i try to run them.

Any ideas of how this happened or how to get them back.

View 2 Replies View Related

Ubuntu :: Restore Certain Files In The Back Up?

May 22, 2011

I just backup my files. During restoration, there's a hash mismatch report. What I want to know is that, is there a way to restore certain files in the back up?
or is there are way to restore files by volume?

View 1 Replies View Related

General :: Use Cd Command To Navigate Back And Forward (like Browser)?

Sep 6, 2011

Is it possible to use cd command to navigate back and forward (like browser)?. Something similar to cd - but it only swaps current and last location. I know I can push dir on stack, it would be great to use cd -> and cd <-, though.

View 3 Replies View Related

Ubuntu :: Command Line To Copy Files From One Location To Another / Retain Source Files Group / User?

Feb 20, 2011

Is there a method at the command line to copy files from one location to another and retain the source files group and user?I'm migrating some MySQL files from one machine to another.I want to back-up the original files in the directory presently. They have owner:group of mysql, some have owner:group root:mysql and so on. To copy them under cli or Nautilus everything changes to root for I execute sudo cp or gksudo nautilus and copy via gui.

Since it is MySQL data I could simply do a dump of the database and restore it on the other machine. But there's about 20 db's and I want to do this via a copy for it will be faster - at least that is what I think.

View 5 Replies View Related

Ubuntu :: Moving My Files Back / Says Have No Permission

Jun 19, 2010

from several problems with ubuntu/linux distros, just to have the compuer with main windows OS, Ubuntu as a second and backup and puppy too after a week of madness codes sudos gedits installing reinstalling 2 3 may be 7 times.the system is now quite stable (i had to erase the lucid lynx because nobody was able to help me with the problem of the missing panels. ill have to wait for a fix..

now i have a fresh install of 8.04 (i had to uninstall it because i move partitions ad grub wents down, i tried EVERYTHING and nothing but reinstalling it)i used puppy linux to extract my files (home folder) and save it int a new ext3 partition, then when this ubuntu8.04 was OK, i tried to move my files back. i tried to doit from ubuntu, and i saw a little padlock on the folder, i tryed to move it, and i cant, then i restart to tryit form puppy, i was able to doit from puppy, then i restart again back to ubuntu, now with the folder in ubuntu partition i now have to put each file/folder where it was supposed to be, but again i saw some older with the padlock icon and with the same problem, that i can't move it because i have no permission. i tryed to find some help before opening this thread but all i want was to open a gksudo nautilus on terminal, but that doesnt fix anything, because that open a wibdows and i only can move "locked" files withing that folder, and those are my files i need to move it all the time, i can't open a gksudo nautilus every time i want to move one of my files.

View 4 Replies View Related

Ubuntu :: Dropbox Lost A Lot Of Files / What To Get Them Back?

Apr 23, 2011

I had everything backed up so it is no great disaster, but drop box lost a lot of my files. Some of the folders with missing files now have thumbs.db in them, but when you go to the dropbox site, you don't even see that.

I had thought about using dropbox as my main backup solution. That would be a big mistake.

View 3 Replies View Related

Ubuntu :: Use 9.10 To Access All Windows Files And Back Them Up

Nov 30, 2010

1) Can I use the LiveCD to access my files stored in Windows? (The attached screenshot shows my Computer.)

2) If so, can I backup the files to DVD using CDDVD Creator, which comes with Ubuntu? If not, what must I do to accomplish these 2 things if I install Ubuntu?

View 9 Replies View Related

General :: Finding A Command For Going Back A Number Of Steps In A Directory Without Using Cd?

May 10, 2011

I'm constantly going 'cd ../../../../'. Is there a command/alias that could let me go 'cmd 4' and I'd be taken back 4 directories?

View 8 Replies View Related

CentOS 5 :: Can't Seem To Save Changes / Exit Screen To Get Back To Command Prompt

Dec 14, 2009

im following a tutorial to setup a dns server, after editing vi etc/sysconfig/syslog, i cant seem to save me changes or exit the screen to get back to a command prompt. have tried to google the answer to no avail, any ideas? also im using putty to ssh, is the answer the same as using the terminal directly?

View 2 Replies View Related

Ubuntu Installation :: Can't Launch GUI - Screen Goes Blank For 8 Seconds Three Times In A Row And Then Back To The Command Line

Feb 22, 2010

I'm have much computer experience but am new to Ubuntu. I typed in sudo apt-get install ubuntu-desktop and it tells me it's already installed. Good. So it should work. I type sudo/etc/init.d/gdm start and the screen goes blank for 8 seconds three times in a row and then back to the command line. I have also tried gdm start without the path before and it says GDM already running. Aborting!

View 5 Replies View Related

General :: Back Up Files To Dvd ?

Aug 17, 2010

I need to save some .c files. The Red Hat Linux 5.5 machine I am on has a DVD multi recorder drive in it. A cdrecord -scanbus gives me "4,0,0 400) 'TSSTcorp' 'DVD+-RW TS-L633C' 'D250' Removable CD-ROM".

When I add "/dev/dvdrw /mnt/dvd-rw iso9660 user,kudzu 0 0" to /etc/fstab and do a mount /mnt/dvd-rw, I get "mount: block device /dvd/dvdrw is write-protected, mounting read-only", "mount: wrong fs type, bad option, bad superblock on /dev/dvdrw, missing codepage or other error".

I go about this another way? All I need to do is save some source files to the dvd and restore them on another machine.

View 4 Replies View Related







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