General :: Backing Up To Smaller Drive?

May 24, 2010

In a few hours I'll have a new 500GB Sony laptop, filled with the usual Sony rubbish which I'll promptly be replacing with Ubuntu or Crunchbang or something. However, first I want to make a full clone of the drive (including recovery partitions), should I wish to return it to Sony or sell it on in its factory state.

The problem is that the only backup drives I have are less than 500GB - the biggest I have is 250GB or so! So I need to backup and compress on-the-fly.

What's the best way to do this? Presumably dd piped into gzip would do the trick, or does anyone have any other suggestions to accomplish this?

View 3 Replies


ADVERTISEMENT

General :: Backing Up 80G Hard Drive 1G Per Day?

Dec 16, 2010

I want to securely backup my 80G HD, but doing a complete backup takesforever and slows down my machine, so I want to backup just 1G per day. Details: % First hurdle: on the first day, I want to backup the "first" 1G of the hard drive. Of course, there really is no "first" 1G on a hard drive.% After 80 days, I'll have my whole HD backed up... assuming none of my files ever change, which of course they do. So the backup plan/program must also catch file creation/changes as they come along. % The backups must be consistent, in that I can restore my system restoring the backups sequentially. In other words, "dd if=/harddrive" probably won't work.

% The backups should encrypt file contents AND names, but I don't see this as a major hurdle. % Once the backup has backed up everything (even changed files), it can re-backup the first 1G on my hard drive. Even though this backup is redundant, that's OK, because I always want to be backing up something (eg, if I'm backing up to optical media, the older media might start going corrupt). Is there a magic backup plan/program that does thisIn reality, I want to do this for multiple machines drives each, but think that solving the above will solve the general

View 4 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

General :: Cloning Dual Boot Drive Onto Smaller One

May 28, 2010

I've decided that I want to use another, smaller, hard drive for my OS and I'd like to clone /dev/sda onto /dev/sdc. I want it to be an exact clone except my partition for my "/home" will be smaller (since there's not room for it). I was gonna try with dd but I'm not sure if I should build the partition table and use dd-command on one partition at the time? Will this then include GRUB boot loader and will it be working properly?

Do I have to clone the disk completely for it to boot properly? I'm not sure how or where GRUB places itself on disks as you install it. Can I perhaps copy the partitions one by one and then install GRUB from CD afterwards? Should I leave some unallocated space somewhere in between the partitions as I build and clone them?

View 4 Replies View Related

General :: Move Smaller Hard Drive To Partition On A Larger Hard Drive?

Mar 16, 2010

My parents bought a new hard drive for a laptop that I've owned for several years. It's much larger than the current one, so I plan on splitting it up to dual boot it with Ubuntu.I have no problem with partitioning a drive (I always keep a LiveCD handy), but my question is this: how can I go about moving the existing partition to the new drive? This is a laptop, so I can't simply plug the new drive into another slot.

Also, even if I manage to move it, will Windows still work on the new drive in a larger partition? I've had this laptop for quite a while, and I've lost the recovery discs that came with it a long time ago. I also have a lot of software without CDs to reinstall them with. This makes not reinstalling Windows a high priority.

View 3 Replies View Related

Ubuntu :: Replace A Hard Drive With Smaller Drive?

Jan 20, 2010

I have ubuntu server acting as a router installed on a 60 gig drive, i'd like to use that drive in another machine and replace it with a 5 gig drive. how can i transfer from the 60 gig drive to the 5 gig drive?

View 9 Replies View Related

Ubuntu :: Backing Up A Hard Drive?

Feb 9, 2010

How would one go about backing up a hard drive? I want my Windows hard drive to be backed up, so that I can restore it onto the hard drive if the hard drive was blanked.

If this hard drive is formatted and linux is installed on it, I want to be able to restore my current Windows partitions (Win 7 and Win XP) and probably the boot loader. I am sure this is possible, but what would be the best way to go about it?

View 5 Replies View Related

CentOS 5 :: LVM - Add The New Big Drive To The VG - Use Pvmove To Move The Smaller PV Onto The New PV

Apr 28, 2011

I have a volume group that is made up of a number of physical volumes. I am thinking of consolidating all the small physical volumes onto one big drive. Is there any benefit in this, besides making administration easier? How do I go about doing this? From what I have read, it looks like I should have to do the following

1. add the new big drive to the VG
2. use pvmove to move the smaller PV onto the new PV
3. use pvchange -xn to make sure the old PV can no longer be allocated
4. repeat for all the small PVs.
5. use pvremove to remove all the small PVs

Is this the correct procudure to follow?

View 4 Replies View Related

Ubuntu :: Backing Up Data On A Second Hard Drive?

Jul 28, 2011

So, I recently acquired a second hard drive (1.5 TB) and I wish to partition Ubuntu 11.04 with Windows 7. I've set everything up properly and using the Disk Utility in my System Settings I've created a 1 TB partition which I want to use for Linux. I think it has the proper partition type but how do I exactly go about transferring all my files from the hard drive I'm using now to the partition I would like to have?

View 2 Replies View Related

Ubuntu Installation :: 'Bad Primary Partition' After G4u Big Drive To Smaller One

Sep 5, 2010

I have recently ghosted, using g4u, an 80 gig drive to a 30 gig drive. The data size is about 15 gig so no problem there.The system does work and it doing everything it should, except for some errors in dmsg log.The thing is though, that the system works! all the services are running and live.And i have years worth of customizations in this machine. Has been running for several years, so i dont just want to reformat and reinstall. Its hard to get linux the way you want it sometimes!So my question is this, is there a way to fix my partition or somehow tell the machine what the current boundries <i>should</i> be?

View 5 Replies View Related

Ubuntu :: Clone Bootable USB Stick To Smaller Drive?

Aug 22, 2011

I wanted to back up my 4Gb boot drive and the new drive I had was slightly smaller. Couldn't find any info on here and precious little on the internet but I have previously used this technique to clone an 8Gb disk onto a 4Gb one. Since I have gained a lot of useful info from this forum over the years its probably time I contributed something. I used my netbook but this would work equally well from a live CD. Note the disk has to be unmounted so you can't use the live system. Firstly your USB stick probably has 2 partitions one for "/" and one for swap.

The first step is to reduce the "/" partition on the source drive to a size smaller than your target drive. I used gparted for this. Next create a partition on your target drive that is the same size or bigger than your newly shrunken partition. I formatted this although I'm not sure this is necessary. Personally I just used the whole drive and used a file on a hard disk as swap. Next you have to use dd to copy the partition.What is important is that you are copying the partition not the drive. So your source would be /dev/sdx1 and target /dev/sdy1 (you will need to find your own values for x&y).

Once again be very careful that you get these the right way around or you will destroy your souce disk. Even better do it in two stages - copy your source to a file and then the file to the target. Now you have a replica of your original disk but it is not bootable. If you are planning to use a swap partition you may as well create it now. Remember you will probably have to change /etc/fstab to read the new swap - at least on my system this was referenced by UUID. No need to change anything for the replicated partition as the UUID came over with everything else.

View 3 Replies View Related

Software :: LVM Resizing - Pvdisplay Showing Drive Smaller

Jun 28, 2010

I'm a bit new to LVM administration, and I have a question that the Clonezilla Live forum referred here. Below is the question.

2010-06-24 07:10:00 UTC
So, I was moving from a 250G disk to a 320G disk because I was running out of space on my laptop. My problem is that my new drive seems convinced that it is only 250G in size, and I'm wondering how to persuade it otherwise. I'm not sure if it matters, but I did use the -k1 option when Clonezilla was restoring in order to resize the partitions proportionally. Here is the output of fdisk -l and pvdisplay:

root@nansen: [/]$ fdisk -l
Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 17 133610 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 17 38911 312412851+ 8e Linux LVM

So fdisk knows that the drive is 320Gb, and the sda2 partition is about 319Gb in size. But LVM isn't buying it:

root@nansen: [/]$ pvdisplay
--- Physical volume ---
PV Name /dev/sda2
VG Name VolGroup00
PV Size 232.78 GB / not usable 2.71 MB
Allocatable yes
PE Size (KByte) 32768
Total PE 7449
Free PE 1
Allocated PE 7448
PV UUID RKhtpa-J34H-GnvD-26v3-bAEI-wccm-f55hwS

Is there some sort of pvchange command that I need to run? Here is some more info in case you need it.

root@nansen: [/]$ pvs
PV VG Fmt Attr PSize PFree
/dev/sda2 VolGroup00 lvm2 a- 232.78G 32.00M
root@nansen: [/]$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00 225G 209G 4.5G 98% /
/dev/sda1 127M 12M 108M 10% /boot
tmpfs 125M 0 125M 0% /dev/shm

steven_shiau (Clonezilla Live moderator)
2010-06-24 14:03:48 UTC
Option "-k1" is only for partition size, it won't deal with LVM yet. I think you need other tool to resize the LVM.

View 1 Replies View Related

Ubuntu :: Backing Up Hard Drive On Crashed Laptop?

Jan 26, 2010

I am having on trying to backup my crashed laptop with ubuntu 9.10 when i double click on my hard drive, it says "unable to mount location" and it says "unable to mount location" a job is pending on /dev/sda2 when i right click on my hard drive and select mount.

View 2 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

Ubuntu :: 10.04 LTS Lucid - Root Is Getting Smaller And Smaller

Jan 22, 2011

I am using 10.04 LTS Lucid, and I notice the free space of root is getting smaller and smaller.

Five months ago, there was about 3.9GB free space of root, but now it is only 1.6GB. I always run sudo apt-get autoremove and sudo apt-get autoclean every time the update is finished, and also use Bleachbit to clean the system, but both are useless.

I never faced such problem with older versions of Ubuntu, is there any measure to fix it?

View 6 Replies View Related

Ubuntu :: Restoring Disk Image To A Smaller Hard Drive Than The Original?

Jan 13, 2011

I am looking for an Open Source software making it possible to make a disk image of an Ubuntu installation as well as a Windows XP installation.I have checked out Clonezilla which almost solved the problem. However, the disk to which you restore needs to be the same size or bigger. I want to restore the whole thingo a smaller disk than the original.I am considering getting myself an SSD disk which will be considerably smaller than the 160 gb disk I have right now. I need it to work for Windows as well. Unfortunately I can't get rid of Windows quite yet I often participate in webinars on GotoWebinar and they do not support Linux ...

View 9 Replies View Related

Ubuntu :: Root Is Getting Smaller And Smaller

Jan 23, 2011

I am using 10.04 LTS Lucid, and I notice the free space of root is getting smaller and smaller. Five months ago, there was about 3.9GB free space of root, but now it is only 1.6GB. I always run sudo apt-get autoremove and sudo apt-get autoclean every time the update is finished, and also use Bleachbit to clean the system, but both are useless.

I never faced such problem with older versions of Ubuntu, is there any measure to fix it?
1. There is not any .deb in the /var/cache/apt/archives.
2. The total content of /var/log is only 167.6 MB, that won't be a problem.

View 5 Replies View Related

CentOS 5 Hardware :: How To Clone CentOS Installation To Smaller Drive

May 9, 2010

I am trying to clone the hard drive to a slightly smaller hard drive in the same computer, same setup.What software or commands do you use to clone the entire system and resize the partition automatically?The original HD is a little larger than the destination HD. The source partition only has about 20 GB in use and the rest is blank.

I have 2 partition, a small 100MB boot partition and another 500GB LVM partition.I can't just clone from the original disk to the new disk. (for another long reason) I need to make an image of the original disk on an external USB drive first, then move that image onto a new disk.I have tried creating an image of the whole disk with Clonezilla, but then the restoration didn't work because the target drive is smaller than the original.

View 7 Replies View Related

General :: How To Copy Hd To Smaller Ssd

May 22, 2011

I ordered a new laptop which has a conventional hd with the pre-intalled os on it. I would like to make an image of all the software that is installed on this conventional hd and move it to an ssd which I will use to replace the hd. Problem is that the conventional hd is 320GB and the ssd is only 240GB. All solutions I've found require the target partition to be at least as large as the source.Is there any way of doing this using linux?

View 8 Replies View Related

General :: Backing Up Audio CDs?

Feb 11, 2010

I like music A lot! every CD I buy, I like to rip to my HD as WAVs (i'd do flac but I have a windows system too, and can't for the life of me find a flac codec for Media Player); but I'd also like to create images in case i lose / scratch / otherwise damage my CDs. I usually use DD, but the system has to be unmounted. Problem is IDK where audio CDs are mounted so I can't unmount it.

View 6 Replies View Related

General :: Backing Up System With Two HDs?

Sep 5, 2010

I have a Seagate USB drive that I'd like to use as a backup drive for my home system with two drives. One drive contains /home and /root, the other contains /var. I've read about a lot of different software for backups but I'm not really sure which one would be the best for this. I want to be able to use this backup to restore the system just in case something happens. What would be the best software to use for this? I'd like something that will basically clone the system I assume since I'd like it to not only copy the system structure but also symlinks.

View 5 Replies View Related

General :: Delete Directories Smaller Than X

Jun 14, 2010

How can I delete Directories which are smaller than, say, 1000 KB?

I already have a file list from the command:

But I don't know how to proceed.

Update:

The output of:

Is something like:

View 2 Replies View Related

General :: Create Two Smaller RPM Packages Instead One Big?

May 31, 2011

How I need to modify SPEC file to create two RPM packages instead of one big?

View 12 Replies View Related

General :: Best Format For Backing Up Data In Blu Ray

Jan 25, 2010

We are in the process of backing up our hard drives to Blu Rays. I am creating tar.gz files and burning them to Blu Ray.Is it possible to use a simple (preferably Python-based) solution for creating images of those tar.gz files, of a predetermined size (to fit in the Blu Ray), and simply burn this images to the disc?Do you have any other approach for creating physical back-up of your hard drives?

View 1 Replies View Related

General :: Backing Up The Master Boot?

Mar 23, 2010

I want to back up the master boot on my hard drive, in case something screws it up. What software do you recommend for this?

My first idea is to boot from a Linux CD and dd the first 512 bytes of /dev/sda, and dd it back to recover. Will this solution work, and is it safe?

View 1 Replies View Related

General :: Backing Up Windows 7 Programs?

Aug 24, 2010

I want to do a clean re-install of Windows 7 but there are files and installed programs which need to be backed up and restored. I tried using the Windows 7 backup utility to do a full backup to an external usb drive. The problem is that whenever the backup gets close to finishing, it always crashes. The system I am backing up has been compromised by viruses, which might be causing this. I already used several utilities to get rid of the viruses but some of the damage they did can not be undone. I tried doing the backup in safe mode but Windows 7 does not allow this. What other methods can I use to backup and restore important programs and files on Windows 7? Perhaps there is a way to do it from outside Windows 7, like say, using a Linux live cd? One of the main problems I see is restoring installed programs since those make use of the registry so simply copying the files probably won't work.

View 3 Replies View Related

General :: Backing Up Vsftpd Server?

Mar 8, 2011

Does someone know of a solid article on what files to back up to restore a vsftpd server onto another server?

Right now i'm backing up the ftp directory structure with all the files in it, but no configs, users, etc

View 2 Replies View Related

General :: Backing Up Two Partitions - Fedora 12

Aug 23, 2010

On fedora 12 - 1 drive - 2 partitions: a small partition to boot, a big one for all other things - sda1 and sda2.

I would like to use tar to copy them to a different drive. That way I not only back them up but also reorganize them.

(1) approach 1 - 2 drive approach

On second drive (sdb) created 2 partitions with fdisk, used mkfs to put file systems into them.

Easy to do sdb1. I created a directory /target and mounted sdb1 there. Then used tar pipe tar to copy /boot to /target. Appears to be ok.

Not so obvious how to do sdb2. I can mount it at target but

(1) if I copy / to /target there is recursion?? I tried --exclude=/boot --exclude=/target but it went ahead and copied /target.

Also there are a number of things mounted onto / - see output of mount below

Code:
/dev/mapper/vg_knox-lv_root on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)

[Code]....

View 3 Replies View Related

General :: Pop Up A Message If Filesize Smaller Then 30 KByte

Feb 28, 2011

I have a zenity message box in a script

zenity --info --text='done' > /dev/null 2>&1

I need to pop up a message, e.g.: "file is smaller then 30 KBytes!" when a file is smaller then 30 KBytes. How could i write an "if then else" script to pop up a zenity message, when e.g.: "FILE" is smaller then 30 KByte?

View 3 Replies View Related







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