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
ADVERTISEMENT
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
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
Nov 17, 2009
I would like to set up a system for backing up files and even possibly using it to keep music on and listen to it over the network. I am wondering which would be better to use a separate FTP server or buy one of the NAS enclosures and a couple of hard drives to put in it. I am assuming that the NAS would be accessed via NFS. I have never run an FTP server and I have never had used NAS.I am just looking for pros and cons to each one. I would just like opinions as to which service (FTP/NFS) would be better for this task.
View 4 Replies
View Related
Jan 27, 2011
I have a couple of backup scri ts. I use a rather cumbersome method to backup evolution. I finally realized I can backup evolution easily from its File Menu. Can I do this directly from the command line, so that I can use it in a script?
View 2 Replies
View Related
Jul 22, 2011
I just started playing with iscsi and have some issues.
This below works great (I can connect to this new device from my clients):
Code:
tgtadm --lld iscsi --op new --mode target --tid 1 -T iqn.2011-07.home.joma:jomamgmt01.data
tgtadm --lld iscsi --op new --mode logicalunit --tid 1 --lun 1 -b /dev/sdb
tgtadm --lld iscsi --op bind --mode target --tid 1 -I ALL
[Code].....
The backing-store does not get added.
View 3 Replies
View Related
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
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
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
View Related
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
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
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
Jun 5, 2010
I have a 3 year macbook with Windows 7 installed as 40gb and OS X as 40gb (80gb HD). I want to remove OS X as Im at the limit of 40gb on Windows and I have not logged on to Mac OS X since installed Win7 (dont flame me).
So I want to delete OS X partition and expand my win partition to 80gb BUT I still would like to be able to regularly (once a week/month) backup my Windows 7 partition - its took a while to setup everything up right - not just docs and programs - so when the hard drive dies I want to be able to restore the partition and boot away, (the daily volatile bits I can pull down from dropbox and project from soure control). With Mac OS X I could use Winclone - and this worked flawless last time the HD failed with XP but with the absence of OS X I will need something else.
Im thinking can I use a Linux Live boot CD along with an external USB hard drive. Boot from CD and then dd? the partition to the USB?
What linux distro live CD should I use? I say dd as if I know what am taking about (I dont) is this the best way to backup a partition (when it will be restored to same hardware as bootable) ? What command?
View 1 Replies
View Related
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
Jan 13, 2011
How to back up my httpd.conf from my server to my computer and only found one solution via a google search
[url]
I typed in locate httpd.conf and see that it resides in /usr/local/apache/conf/httpd.conf so I assume I would type $ cd /usr/local/apache/conf $ sudo cp -p httpd.conf httpd.conf.bak
I wanted to confirm this with an expert before I do damage that I cannot reverse.
View 3 Replies
View Related
Jan 4, 2011
I am using Ubuntu 10.04.1 LTS x64. I would like to backup my /var/lib/mysql directory as a non-root user.
I have been backing this up using cron as the root user, but another admin in my company insists that we create a separate user to perform this task for security reasons. I have created a user, created a group, added the user to the group, but still cannot access /var/lib/mysql/mysql directory as that user. I would like that user to have +rx access only.
View 5 Replies
View Related
Apr 11, 2011
This is a quick one, I don't have any problems yet, I just want to check that this is going to do what I think it is. I added the line
Code:
00 01 * * * rsync -avz --delete /local-storage /mnt/usbackup
to my crontab file, am I to understand that this will backup /local-storage to my external
[code]...
View 4 Replies
View Related
Mar 27, 2011
Is there a way to share your evolution settings from say desktop to a laptop without backing up and importing everytime? Kinda like have an outlook pst file on a server and anyone can open it? I work at my desktop alot but sometimes at my laptop in the livingroom.
View 2 Replies
View Related
Apr 26, 2011
Right now I'm running Ubuntu and love the concept but don't have the necessary drivers for my Notebook. I love the thing but Windows crashed just 1 month after the software warranty ran out. I have the Fedora 15 ISOs but no CD burner and no access to one. I've tried unpacking the ISO to a directory on one partition and formatted the other. All ready now with no place to go. I've started editing some of the init files and I sort of know what I'm doing but I have no idea if I even can install from that to the other partition. It seems like it should work.
View 2 Replies
View Related
May 20, 2011
I've downloaded and installed ATP for Ubuntu 11.4 on an internet enabled computer. Now i want to use it on a computer which has no way to connect to internet. How am i going to do that.
View 5 Replies
View Related
Dec 6, 2010
I've got a backup.list file that looks like this:
+ /ext/installs
+ /ext/media
- /ext
- /backup
- /dev
- /mnt
- /proc
/ext is a symlink to /mnt/vg1/vol1, under which are installs and media directories.
I'm running:
rdiff-backup --backup-mode --include-globbing-filelist backup.list / /backup
rdiff-backup keeps recreating a symlink: /backup/ext -> /mnt/vg1/vol1, which is kind of missing the point, because then it doesn't actually back up the files in /mnt/vg1/vol1/installs, etc.
View 1 Replies
View Related
Jun 6, 2010
Im currently using windows 7 and I want to shift for Linux. So i thought to start from Mandrake-free. My current filesystem is NTFS which full of windows extension documents. Those capacity is almost 200GB.but im not in a position to backup everything. i got to know from forums that linux perform well in ext3 file system. so i wish to go for ext3. is there any ways to shift FROM,win7 TO mandrake AND
ntfs TO ext3 WITHOUT BACKING UP CURRENT DOCUMENTS ASWEL AS WITHOUT LOOSING ANY OF MY WINDOWS BASED DOCUMENTS.? and i got to know that in a single harddrive(eg 250GB), Its not good for the harddisk to have different type of partitions (eg 50gb of ext3 and 200gb of NTFS). if i used like this will my harddisk got crashed? because this happened to me 4 years ago when i was trying to install winXp(in ntfs) and Redhat(in ext2) in the same hardisk. i was working initially. but was in 2 days that HDD got crashed.
View 4 Replies
View Related
Sep 27, 2009
I know nothing about linux. But my friend says linux is good. So, I kept a copy of fedora core 10 i386. My fiend has a lot of movies about 100 in his ipod. So, I took it. It contains lot of viruses and I opened the ipod in windows but my windows has malfunctioned due to the virus. So, I have installed the fedora core 10 i386. I have some important information in the windows ntfs partitions. How do i mount those ntfs partitions.
View 8 Replies
View Related
May 26, 2011
When we install a linux OS, we've an option to create partitions. In my laptop I've create partition for /opt, /home, / and /tmp. Are these partitions the same type of partitions as the partitions created by LVM?
View 1 Replies
View Related
Dec 5, 2010
I'm using rsync for the first time to back up stuff to an external hard disk. I used the "rysync --av myfile remote-file" command. It seems like it is much faster than going through the KDE copy paste method. Lots of files to copy. Right now, it looks like it is hung up, but I'll let it do its thing.Is this a good method or should i tweak it some way that is more efficient?
View 2 Replies
View Related
Dec 16, 2009
my partitioning layout was as follows
Vista Recovery
Windows 7
GRUB
Extended
-->Fedora 12 (ext4)
so, I shrunk my recovery in Windows 7 successfully, and booted into my Fedora 12 live cd to run Gparted, and move the partitions so that the free space could go towards fedora, I did such, and then I couldn't expand the partition to my dismay. Next, I woke up this morning, tried to boot to fedora to run SSH, grub loaded, but when I tried to boot fedora, I got the "File system check failed" error, and when I tried 7, it just went to a blank screen with a single "_" in the top left-hand corner.
View 7 Replies
View Related
Mar 22, 2011
I used Ubuntu before, without problems but since the 10.04 version it won't recognize my partitions. I formated my laptop and partitioned it, installed Windows 7 64bit, which I need for my work, and wanted now to install Ubuntu 10.04/10. I then used GParted to check my Harddisk and it is having troubles to recognize my partitions, too while Windows finds them. GParted is giving me an error message saying my partitions are oversized. I am still in the beginning of my Linux experiences and so I don't know what to do. I have two 250GB harddisks (how Windows recognizes them),
[Code]....
View 9 Replies
View Related
Jan 9, 2010
I have vista and opensuse 11.2 on my computer, the problem is i can't open ext3 partitions from vista but i can the other way. I tried Ext2fsd but the linux partition is always in a read only mood even when i change this option. Also, all folders are empty I downloaded the program as admin and compatable with XP SP2.
View 3 Replies
View Related
Mar 3, 2010
Xubuntu 9.04 installation CD not detecting any of the current partitions. This all started when I reinstalled windows XP a few days ago.After, the computer wouldn't boot into GRUB and would boot directly into windows.Other threads have dealt with a similar issue, that of overlapping partitions causing libparted/parted/gparted to detect the whole drive as unallocated space. The problem in these threads seemed to be a corrupted partition table, in which the partitions overlapped with each other. So of course I checked the output of fdisk -l for overlapping partitions, but I don't see any obvious overlapping partitions. I've noticed that the partition that used to be linux swap isn't showing up in the partition table at all. I might just be missing something simple here and would like another set of eyes to help me figure this one out. Does the problem have anything to do with the partition table being out of order (ie. not in order of what regions they cover on the drive)? From the liveCD I've run
Code:
sudo fdisk -lu
sudo sfdisk -d
sudo parted /dev/sda print
and have received the following output:
Code:
ubuntu@ubuntu:/mnt$ sudo fdisk -lu
omitting empty partition (5)
Disk /dev/sda: 60.0 GB, 60011642880 bytes
[code]....
View 3 Replies
View Related
Mar 28, 2010
I've installed Arch Linux onto my Western Digital SATA drive.I love it, best ever, however, I need the fglrx proprietry driver for better 3-d performace, and decided to create a new partition. I decided to install Linux Mint.Sadly, in all my noobishness, I forgot about the 4 primary partition limit (oops!) and as I have /, /home, swap, and /boot partitions (all primary) already installed, I have run into a bit of a problem.I resized my /home partition (almost 500GB) to about 225, and was then told I have over 200GB unusable space. Is it possible for me to change at least 1 of my primary partitions to logical partitions AND keep all the data intact (AND edit the arch configuration so that it'll still work) so I can install a second linux? I sincerely doubt it
View 10 Replies
View Related