Ubuntu / Apple :: Backing Up Compressed File To An External Hardrive?

Apr 21, 2010

I am attempting to be careful in case my system crashes, and although highly unlikely my first question is if there is a way to first compress my Linux Partitions. After running the diskutil command in OSX's Terminal, I basically end up with this poartition scheme:

Quote:
Macintosh HD = 130GB
disk0s3 = 1MB
disk0s4 = 30GB
Linux Swap = 1.3 GB

I am sure there is a way in the Terminal to first compress disk0s3, disk0s4, and Linux Swap, and then output the compressed partitions into my external Harddrive. I have already read some of the suggestions that only /HOME, /etc/fstab/, list of installed packages, /opt, and /var/cache/apt/archives/-where all installed packages are stored, is what I should backup. But, please correct me if I'm wrong. Wouldn't it take quite a while to install all those packages again in case of a system failure. Or would it just be easier to untar all of them in their directories once Linux has been reinstalled. The closest command I have found so far in being able to achieve this is:

Quote:

sudo tar cvf - files | (cd target_directory ; tar xpf -) The above code is very suitable for what I am looking for because it enables you to copy files into another location by using the tar command where you would create In my case the new location would be my external harddrive. My external harddrive already has its own Linux partition which I am able to mount in Linux and that Linux sees as free space.

View 7 Replies


ADVERTISEMENT

Ubuntu :: 10.10 - Deleted A Conifg File On An External Hardrive

Mar 30, 2011

I deleted a conifg file on an external hardrive that I'm trying to recover but it did not go to ubuntu trash can. Where did it go to?

View 1 Replies View Related

Ubuntu / Apple :: Reinstall Osx10.5 From Ext Hardrive

Apr 30, 2011

During my Ubuntu install I screwed up Leopard 10.5 and don't have original install disk. I have downloaded 10.5 via a torrent via Ubuntu on my external hardrive and it is too large, my G5 doesn't support dual layer to burn install DVD. I thought I found a Ubuntu link that would help me install this OSX.dmg from my external firewire drive but i can't find it again.Anyone recognize this that could provide a link?

View 1 Replies View Related

Ubuntu :: Cannot Mount External Hardrive / Resolve This?

Apr 16, 2011

When I try to mount my 320 Gig HD I get this.

DBus error org.gtk.Private.RemoteVolumeMonitor.Failed: An operation is already pending

What am I missing?
Im Running Ubuntu 10.10

View 1 Replies View Related

Ubuntu :: External Hardrive - Sharing With Other Users On The Same Computer

Jan 17, 2010

I am having issues with sharing an external hard drive with other users on a computer. For example if I reboot and login with user A and then logout and login with user B, I am not able to mount the external hard drive. If I reboot and login with user B first, I can then access the external hard drive with user B but not user A. Is there a way that both users can use the drive without having to reboot every time?

I am assuming this is some sort of security issue. If I login with the second user and go to /mnt/external harddrive I get a permission error."You do not have the permissions necessary to view the contents of "External Drive"." If I login with the first user and try to set the permission it doesn't give me the ability?

View 6 Replies View Related

Ubuntu :: Input/output External Hardrive Error

Jul 23, 2010

I installed Ubuntu 10.04 two days ago and was using my 1tb passport external HDD with it to download and store files. However today whenever i try and copy/cut and past to the HDD i get this error message..

Error opening file '/media/My Passport/test.avi': Input/output error This is obviously very fustrating and i want to stay with Linux but i do need to fix this problem else im afraid im going to have to back to awful windows.

View 4 Replies View Related

OpenSUSE Install :: Formate External Hardrive To Ext3?

Dec 15, 2009

I have a Westel 1 TB external hard drive and when attempting to partition it, the partitioner never finishes refreshing the device. I've tried gparted live, opensuse, & ubuntu; and none of them finish refreshing the device.

Another issue is, I have 200 gig of music & movies that can't be wiped out because I got no room elsewhere to move them to. I would like to set a partition of 750 gig for the ext 3 and leave the rest for ntfs.

View 9 Replies View Related

Ubuntu :: Backing Up Files To External Hard Drive?

Feb 6, 2010

What is the recommended way to backup all files to an external hard drive? Should it be done through CLI or should a third party program be used?

View 2 Replies View Related

Ubuntu Servers :: Backing Up A Server To An External Drive?

Jul 17, 2010

I have an Ubuntu server running Lucid. I'd like to be able to back up the hard drive in the server to an external hard drive. I try to plug in a drive via a USB port and it doesn't appear to mount automatically, as it does on the desktop version. Questions: 1) What/where should I be looking for to see if the drive is mounted? (I've looked in /dev and /media; no dice.) 2) What's the mount command I should use to manually mount the external hard drive? 3) What backup commands or programs, other than rsync, are recommended? (Nothing against rsync.)

View 5 Replies View Related

General :: Backing Up To An External Hard Drive?

Apr 6, 2010

I've been thinking about it and I have a few ideas how I could do this...

I could always just image the drive...

Code:
dd if=/dev/sda of=/media/EXHD/bakup_$(date +%F).iso
Also; I could use rsync...
Code:
rsync -auv --delete / /media/EXHD/bakup_$(date +%F)/

[Code]....

I've been doing mostly "dd" images...but was wondering if I'm just wasting time backing up a mostly empty HD (256GB and only 5% is used...so dd-ing seems like kinda of a waste).

View 2 Replies View Related

Ubuntu :: File Extension Z - Unix Compressed Archive File?

May 6, 2010

Anyone know how to compress a file to extension z?not tar.gz , zip, 7zip

View 6 Replies View Related

OpenSUSE Install :: First Install Of OpenSUSE11.3 On External Hardrive Using USB Drive

Oct 19, 2010

I've pretty much installed Ubuntu Linux9.10, 10.04 and Debian 5 on external hard drives before, however, I just want to avoid certain pitfalls that may occur with openSUSE11.3. Has anyone successfully done this before? And, is it similar like Debian and Ubuntu installs in that you have to install the OS using an advanced option and specifying /dev/sdb, etc? Right now, I have Ubuntu installed on an external harddrive along with Debian as well and wanted to do the same for openSUSE11.3 and was wondering if all Unix derivatives share similar installation processes. I would just like to keep things as I have it currently where the system does not boot with Grub, and instead I have to go to the bios and specify which physical drive to boot from in order to change the boot order.

View 9 Replies View Related

General :: Unexpected End Of File. Gzip Compressed File?

May 4, 2011

I am going crazy with a gzip file. I can decompress the file in Windows using WinRAR but it is impossible on any UNIX operating system. the file seems to be ok. If I do file the_name_of_the_file.gz

I get: the_name_of_the_file.gz: gzip compressed data, from Unix, last modified: Sun Jan 30 14:10:21 2011

But if I do gunzip -f the_name_of_the_file.gz I alsways get: gzip: the_name_of_the_file.gz: unexpected end of file The same problem happens when I try to extract the file using the GUI tool in Ubuntu or MacOSX,

View 4 Replies View Related

Ubuntu :: Get A Compressed File From Mysqldump?

Jul 13, 2010

I would like to have my backup script that I am writing to create a sql dump of my database and go directly into a tar file. Does anyone know how I could do this with one command?

To be more clear I would like to go from

mysqldump -u xxxx -pXXXXX tablename> currentbackup.sql
tar -czvf backup-XXXXXXXX.tgz currentbackup.sql
rm currentbackup.sql

To a single command somehow. Does anyone know how I could accomplish something like this?

View 2 Replies View Related

Ubuntu :: Bzip2 Compressed File Too Large

Feb 26, 2010

I have been having a recurring problem backing up my filesystem with tar, using bzip2 compression. Once the file reached a size of 4Gb, an error message appeared saying that the file was too large (I closed the terminal so do not have the exact message. Is there a way to retrieve it?). I was under the impression that bzip2 can support pretty much any size of file. It's rather strange: I have backed up files of about 4.5Gb before without trouble.

At the same time, I have had this problem before, and it's definitely not a memory problem: I am backing up onto a 100G external hard drive.

That reminds me, in fact, (I hadn't thought of this) that one time I tried to move an archived backup of about 4.5Gb to an external (it may have been the same one) and it said that the file was too large. Could it be that there is a maximum size of file I can transfer to the external in one go? Before I forget, I have ubuntu Karmic and my bzip2 version is 1.0.5 (and tar 1.22, though maybe this is superfluous information?)

View 4 Replies View Related

General :: Access Compressed File Without An Intermediate?

Jul 19, 2010

I'm trying to figure out how to access compressed files without uncompressing them beforehand, and also without modifying the application/script I am using. Named pipes do the trick, but only seem to work once

In one terminal I do this:

Code:
$ echo "This is a file I'd like to be able to read." >> my_file
$ gzip my_file
$ mkfifo my_named_pipe
$ ls
my_file.gz my_named_pipe
$ gunzip -c my_file.gz >> my_named_pipe

[Code]...

View 3 Replies View Related

General :: Need Writable Compressed File System

Mar 29, 2010

Can anyone recommend a file system similar to SquashFS but writable?

View 2 Replies View Related

Ubuntu :: Gnome Commander Does Not Add Files When Creating A New Archive/compressed File?

Feb 19, 2010

When trying to create a new compressed/archive file in Gnome Commander (GM) the file is created but the selected files are not added. I can open the new (empty) archive file and then add files to be compressed. I have tried using several different formats (zip, tar.bz and others) with the same results. The "file roller" is shown as a plugin but has no configuration other than the compressed file type.

View 2 Replies View Related

General :: Windows - Creating Compressed Iso Image File?

May 17, 2011

I want to create a compressed ISO image file and mount that file to one of the virtual drives and access the content (read-only) without worrying about manual decompression/extraction.For Windows and Linux (Ubuntu) OSes.

View 1 Replies View Related

General :: Make Sure The Compressed File Wont Be Larger Than 300mb?

Jul 14, 2011

i am using the following command to backup and sql file:

tar -zcvf "$BACKUP_DST/$FILE_NAME.tgz" "$BACKUP_DST/$FILE_NAME.sql"


i want to make sure the compressed file wont be larger then 300mb, if it exceeds 300mb, split it into several files.

View 1 Replies View Related

General :: Security - Safely Zero Fill A File In A Compressed Filesystem?

Aug 29, 2011

I had read that the shred doesn't safely work for compressed filesystems when shredding a file, how this can be accomplished in a compressed fs ?

View 1 Replies View Related

OpenSUSE Install :: Mount A Live Compressed File System For Reading & Writing From A LiveCD/DVD Image?

Jul 9, 2011

On a Linux CD/DVD, there are compressed filesystem images for the live version for KDE or Gnome for example, but they have no extension, but they are clearly an image file ( compressed filesystem images for the live version before installation ) !!

I was wondering, How do I mount these compressed filesystem images, after I copy the ISO content of the CD/DVD on my system .... I want to edit some files or packages and make some changes, like if I want to customize a live version of gnome for example ! ... ( I know you might be tempted to tell me to use KIWI etc to customize etc ..... ) ... but I want to be able to mount the compressed file system image, then edit it for reading and writing while it is in a subdirectory on its own ... i want to open it ! ... is there a way to do this ??? ... these type of files have no extension ...

i can open this compressed filesystem image then to edit for read & write ... before I roll it back again ..... If and when I succeed .... what should I watch out for ? ... will the same compressed file image but slightly modified work again ?

PS. that same question could be kind of translated or be extended like : how do I use unionfs/squashfs programs on the command line to mount these image files with no extension for read & write mode ???

View 9 Replies View Related

Ubuntu / Apple :: External HDD And Multiple OS's?

Dec 28, 2010

I recently got an external 2TB hard drive. I want to use it with my Mac Mini, which is triple booting Linux, Mac 10.6, and Windows 7. The problem is, I don't know which file system it should be using. NTFS is read/write in Windows and read-only in Mac, and HFS+ is read only in Windows and read/write in Mac. I'm pretty sure FAT is not a good choice for a disk this big. Is there any way to get this to work?

View 1 Replies View Related

Ubuntu / Apple :: Installing 10.04 PPC On External Harddive?

Jul 13, 2010

I'm trying to install Ubuntu 10.04 PPC on to an Western Digital External USB 1TB drive to run on a:

eMac G4
1ghz
1GB RAM

I would like to only use like 40GB of the 1TB External. I get to the part where I can Manual edit partition tables and am lost on how to do this.

View 8 Replies View Related

Ubuntu :: Reformatting An Apple Partitioned External Hd?

Jul 19, 2010

I used to be a Mac user until my Ibook died. I now have a Toshiba Netbook running Ubuntu 10.04, but want to make use of my Maxtor external 250 GB drive, although it's formatted for Mac.Could someone advise as to a way around getting my old data off, before re-formatting for Linux use? Is it possible to partition part of the drive for Ubuntu - move everything into that and then delete the old apple partition?

View 2 Replies View Related

Ubuntu / Apple :: Cant Seem To Get Any Audio Through My External Speakers

Apr 30, 2011

I have a macpro 5,1 the tower NOT the laptop people are always making that mistake and for the life of me i cant seem to get any audio through my external speakers.

View 9 Replies View Related

Ubuntu / Apple :: Installing Onto IBook G3 Through External Harddrive?

Jul 26, 2011

I have a iBook G3 that dosnt want to boot up at all. It makes the ding then a grey screen pops up. How do I install Ubuntu onto my iBook G3 with a external USB harddrive? is there a way?

View 4 Replies View Related

Ubuntu / Apple :: Reformat My Seagate External Hard Drive?

Feb 8, 2011

I was trying to reformat my Seagate external hard drive and I selected "free Space," in disk utility not realizing that the computer would no longer recognize the device. I'm trying to install Snow Leopard on it so now how do I format it now to the GUID format? I luckily backed up the entire contents of the hard drive (The essential files on it), but what do I do now that the computer doesen't recognize it!?

View 9 Replies View Related

General :: Slackware LiveCD "Intinte" - Can't Mount Compressed SquashFS File System

Mar 7, 2010

I have a problem, I'm trying to make my own LiveCD, but I can't mount compressed SquashFS file system. Here I give you my limited LiveCD version... If somebody would take a look [URL]

View 5 Replies View Related

Ubuntu / Apple :: External Hard Drive And Booting It From Refit Work?

Aug 12, 2010

would putting ubuntu on an external hard drive and booting it from refit work? and would i was starting up my imac 11,2 my ipod was bootable for some reason?

View 1 Replies View Related







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