Best way to backup your partition?

What is the best way to back up a partition? /dev/sda1 is windows and sda2 is Archlinux. Say if I wanted to reformat sda2 with an new filesystem, but continue to use the exact same installation of Archlinux that I've tailored everywhere possible (I would have to change fstab of course), what would be the best way to backup all files with compression while keeping ownerships and rights? (note: speed is favoured over high compression here though, but any compression would be nice)
All advices are welcome

Fackamato,
I regularly backup using 'rsync'. It has the advantage of only copying changed/new files, eventually deleting deleted
ones.
You can use a mounted NAS, or an internal partition as target. If the NAS also has 'rsync', you can also use it in client/server mode.
F.e., on a local internal partition:
rsync -av --delete --delete-excluded --exclude="/sys/**" --exclude="/proc/** " --exclude="/backup/" / /backup
/backup being a mounted backup partition
'rsync' is most useful if you regularly backup, but has some interest also in one shot copies: if for some reason
the copy fails, f. e. out of space, when you solve the problem and restart, it will only copy what it needs to.
For your particular case, if you have a spare internal partition with enough space (or make one fiddling with gparted),
you could:
mount /dev/sda3 /backup (sda3 being your new partition)
rsync -av --delete --delete-excluded --exclude="/sys/**" --exclude="/proc/** " --exclude="/backup/" / /backup
Change /etc/fstab on sda3.
Add the necessary lines to menu.lst (I suppose you are using Grub) to boot from sda3.
So you can test that everything works before destroying sda2.
Mektub

Similar Messages

  • Best way to backup to external HD

    i know this topic has been extensively discussed previously, so my apologies as i couldn't find anything to specifically answer my question.
    I’m wondering what the best way to backup my files would be. I just bought an external 80 gig WD hard drive, and I’d love to know if there’s any better way than to just drag & drop my music, movie, picture, and document folders onto this every so often…if it’s 3rd party software you recommend, I’m a starving student so I’d prefer to not spend a lot of money.
    Also, should I partition the external hd so that I can boot from tiger in case of an emergency? And how would this be done?
    thanks in advance for any information that can be provided. This forum is such a great resource to the apple community, so for all you problem solving posters, YOU’RE AWESOME.

    There's really only the drag and drop method if there are programs for transfer it's undoubtedly a rip off. Also I wouldn't partition your drive so it'll be less cluttered.
    But if you're concerned about speed here's a few ideas: you can put all your files into a folder and that may improve speed [similar to burning to disk it apportions file size correctly].
    Also get a really good short FW/USB cord if you can. I use a 3ft M-Audio and it's very good.
    Good Luck

  • Best way to backup 2nd Drive [Bootcamp/VMware/Win7] to Time Capsule

    I have a mac pro with 2 drives - main drive 1 running os x 10.6.8 and drive 2 boot camp partitioned vmware fusion 3.1.3 running windows 7 - what is the best way to backup drive 2 to my time capsule?
    Sorry if this has been answered many times, but I have looked quite a bit.
    From what I can tell, it's best to shut vmware down and manually back-up to time capsule.
    Any advice much appreciated. Thanks!

    You don't need to do it that often.. once a quarter or twice a year is probably enough unless you are really using the drive alot.. remember you still have to have a full backup from inside windows anyway.. before the incremental can work..
    You can indeed store the backup on the TC.. mixing data .. as far as TC is concerned it is just a file.. and TM backups can have consequences.. you might want to create a disk image to separate them.
    http://pondini.org/TM/TCQ3.html
    As long as you have lots of space it is probably not a big issue or use USB drive.
    Whatever you do create a directory for the clone backup..
    Create the clone.. and then from inside windows use a suitable backup.. I use macrium reflect .. free version does a full disk image.. but remember this is inside a vm so I am not sure you can restore whole disk from it..
    Paid version does incremental but there are loads of backup software you can find.
    That can also backup to the TC.. watch your total disk usage and maybe consider using a USB drive.

  • Best way to backup Windows Formatted Ipod to convert to Mac OS X?

    Hi,
    My wife has a 3rd gen iPod nano which was formatted using a Windows machine which is no longer available. I now have a linux desktop and my macbook. We would like to convert her iPod for use with the my macbook, but the only way seems to be reformatting the ipod and losing all her music.
    So my question is what is the best way to backup the iPod without being able to use iTunes (it won't recognize her iPod on my macbook since it is windows formatted and there is no iTunes version for Linux)? I can mount the Ipod as a disk on my Linux machine, would it work to just to copy the entire filesystem on the iPod to some temp directory on my desktop, reformat the iPod on my macbook, then remount the iPod and copy the files back to over to the iPod?

    Copying from iPod to Computer threads...
    http://discussions.apple.com/thread.jspa?messageID=5044027&#5044027
    http://discussions.apple.com/thread.jspa?threadID=893334&tstart=0
    http://discussions.apple.com/thread.jspa?messageID=797432&#797432
    Also these useful internet articles...
    http://www.ilounge.com/index.php/articles/comments/copying-music-from-ipod-to-co mputer/
    http://www.engadget.com/2004/11/02/how-to-get-music-off-your-ipod/
    http://playlistmag.com/secrets/2006/12/twowaystreet20/index.php
    http://playlistmag.com/help/2005/01/2waystreet/
    The MacBook can read the Windows formatted iPod just fine, so you can use the above suggestions to get the stuff onto the Mac's library. After that you can either leave the Nano Windows formatted and use it as is, or restore it on the Mac so it is in Mac format.
    Patrick

  • Best way to backup 30gb library to disk

    Hey guys,
    What is the best way to backup a 30gb library to disc? I'd like to burn my library to dvd's and store away from my house. Wasn't sure if you just create an album and burn to disc or what?
    Thanks in advance!

    As Patrick says I'm backing up the iPhoto Library in my Pictures Folder. This contains everything: Photos, albums, keywords, events etc.
    The most simple way to do it is to simply drag the Library icon to the external HD. Let it copy over. However this can be tedious when you back up regularly, so I use a back up utility that does incremental back ups: That is the first time, it copies the entire library, thereafter it simply keeps the back up up-to-date with the Library. I use DejaVu for that. Chronosync is another app that will do it. There are many others. Search on MacUpdate.
    FWIW my full back up schedule runs like this:
    My Library lives on my iMac.
    It’s Backed up to two external hard disks every day. These disks are permanently attached to the iMac. These back ups run automatically. One is done by Time Machine, one is a bootable back up done by SuperDuper
    It’s also backed up to a portable hard disk when ever new photos are added. This hard disk lives in my car. For security, this disk is password protected. For this job I use DejaVu because it makes a simple back up that is clear and can be tested easily without doing an full restore.
    I have a second off-site back up at a relative’s house across town. That’s updated every 3 or 4 months.
    My Photos are backed up online. Personally I use SmugMug but there are many options including flickr. However, check the terms of your account carefully. While most sites have free uploading, you will often find that these uploads are limited in terms of the file size, or the bandwidth you can use per month. For access that allows you to upload full size pics with no restrictions you will need to pay.
    Every couple of months I test the back ups to make sure they are working correctly. It’s very easy to mis-configure a back up application, and the only way to protect against that is to do a restore.
    Regards
    TD

  • What is the best way to backup my computer before upgrading from OSX 10.5.8 to 10.6?

    What is the best way to backup my computer before upgrading from OSX 10.5.8 to 10.6? I just purchased a WD portable external hard drive.

    Use Carbon Copy Cloner http://www.bombich.com/index.html or SuperDuper.  http://www.shirt-pocket.com/SuperDuper/SuperDuperDescription.html  Both make a bootable copy of everything on your hard drive.

  • Wich is best way to backup iPhoto library?

    Hi everyone...
    i want to know wich is the best way to backup all iPhoto library...
    should I just copy everything that is in "iPhoto Library" folder to my extern hard drive? will i have any kind of problem if i want to restore my data?
    thanks

    sauble
    A friend suggested I backup all the photos I already have in iPhoto before I start playing around any more
    Good advice
    Do I use a disc instead and burn them?
    If you don't have a HD, this is the next option.
    If I do that, are the photos still accessible if I want to use them again?
    Yes. Depending on how you burn them: If you select all of them and go File -> Export and the burn them from the Finder, your pics will be backed up, but you will have to reimport them to iPhoto on restore.
    If you use the Share->Burn feature within iPhoto it will preserve te he iPhoto library structure.
    Regards
    TD

  • Best way to backup only originals?

    Hi all,
    I am wishing to determine the best way to backup just the original photos. iPhoto maintains so many other files in relation to the original that it is hard to determine what's what.
    I assume that backing up the 'Originals' folder would do the trick, but I want to be sure as the images are important. I can afford to lose the modified ones, but I can't lose the originals.
    Thanks for any advice.
    Ed

    What other files would I need to reflect rolls and albums?<<<</div>
    I'm not 100% certain but I have an idea for you.
    I don't do much modification in iPhoto; mostly rotating images.<<<</div>
    This is part of the basis for my idea.
    Mainly due to space and time constraints.<<<</div>
    This is the other part.
    From INSIDE iPhoto, select all photos in the library and do a "Revert to original." That will empty your "Modified" folder while retaining everything necessary for rolls, albums, ratings, etc. Now, exit iPhoto and back up the ENTIRE "iPhoto Library Folder." By far the bulk of the bytes will be the original files. The remainder will be all the "support" files.

  • What is the best way to backup ZFS filesystem on solaris 10?

    Normally on Linux environment, I'd use mondorescue to create image (full & incremental) so it can be easily restored (full or file/folders) to a new similar server environment for restore purposes in case of disaster.
    I'd like to know the best way to backup a ZFS filesystem to a SAN storage and to restore it from there with minimal downtime. Preferrably with tools already available on Solaris 10.
    Thanks.

    the plan is to backup whole OS, and configuration files
    2 servers to be backed up
    server A zpool:
    - rootpool
    - usr
    - usrtmp
    server B zpool:
    - rootpool
    - usr
    - usrtmp
    if we were to cut hardware cost, it is possible to back up to samba share?
    any suggestions?

  • What's the best way to use your iPad instead of textbooks?

    What's the best way to use your iPad instead of textbooks? I'm about to start a BSN program and have heard of using your iPad for textbooks instead of buying and carrying around 8 different books. Is there an app for that? Or do you buy or rent the books? What's the best solution?

    Or, if you're like me and you want to do a lot of heavy reading, use the iPad because the low contrast on a Kindle is extremely fatiguing.  
    Seriously, though "screen glare will cause eye strain" is often taken as an article of faith, there's not a lot of good scientific evidence for it. "Eye strain" can be caused by concentrating on any close work for long periods of time. Looking up and focusing on something distant periodically is very helpful. Older CRT screens that flicker also can be aggravting. I'm not denying that some people find reading backlit screens uncomfortable. However, it's not dangerous. And, then, there are other people who find the higher contrast a backlit screen affords to be much less wearying over long periods of time.

  • What is the best way to backup a 1 Terabyte external USB drive?

    In order to keep my MacBook Air running speedily along and to free up space, I use this strategy to store my iTunes Library on an external USB drive.
    I'm trying to think of the best way to backup a 1 Terabyte external USB drive. I'm told the hardware has a product life of about five years and some say to burn DVD-R discs of it as a backup, but that would require many discs.
    Has anyone explored the viability of using FTP in conjunction with AWS (Amazon Web Services) to backup the iTunes Library to the cloud? Their file storage is quite cheap.
    Any thoughts on the most effective way to backup an external USB drive?
    Thanks!
    AB

    For a simple clone use Disk Utility's Restore option:
    Clone using Restore Option of Disk Utility
    Open Disk Utility from the Utilities folder.
    Select the destination volume from the left side list.
    Click on the Restore tab in the DU main window.
    Check the box labeled Erase destination.
    Select the destination volume from the left side list and drag it to the Destination entry field.
    Select the source volume from the left side list and drag it to the Source entry field.
    Double-check you got it right, then click on the Restore button.
    Destination means the external backup drive. Source means the internal startup drive.
    Others will suggest using Carbon Copy Cloner or SuperDuper!.

  • What's the best way to backup DFS using DPM 2010?

    We setup DFS on two Windows 2012 R2 and they are hosting files. What’s the best way to backup DFS using DPM 2010?
    1. When doing data backup, do we backup both dfs01 and dfs02? Or just backup one of them?
    2. Beside the data, what do we need to backup?
    Bob Lin, MCSE &amp; CNE Networking, Internet, Routing, VPN Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net How to Install and Configure Windows, VMware, Virtualization and Cisco on http://www.HowToNetworking.com

    Protecting Data in DFS Namespaces
    Backup files and BRM of dfs01 and dfs2 for minimaze traffic.
    If dfs01 and dfs02 have good channel width that use DPM to only protect a single “copy” of the data located on a server-specific local path.
    Data Protection Manager 2010 Protection Best Practices
    Have a nice day !!!

  • What is the best way to migrate your Adobe software to another computer?

    What is the best way to migrate your Adobe software to another computer?

    If you know that you do not intend to use the software on the old machine (especially if you are getting rid of it), the minimum you need to do is deactivate it.  That will disable use of it and free up an extra activation for you should you ever wish to have two machines available to use it on.  To deactivate you just open an application and choose Help -> Deactivate.  If this happens to be a Creative Suite, doing that to just one of the applications will deactivate the entire Suite.
    You can also uninstall the software if you like, but be sure to deactivate it first.

  • Best way to backup Iphoto and Itunes?

    I just purchased a 2TB Timecapsule and after reading addtional reviews I am reconsidering my purchase. What is the best way to backup iphotos and itunes? The idea of backing up the data wirelessly and seamlessly with time machine was a what encouraged me to purchase Apples solution. However I am seeing alot of TC's are dying after their warranty expires which is a deal breaker as I have a newborn and do not want to lose pictures.
    My 2009 MBP memory is nearly full and my photos eat memory. I would like a solution that allows me to access previous photos etc without relying on the MBP HD in the event it is stolen, crashes etc.
    The same holds true for itunes which I rarely use now that I have Spotify, however I do not want to lose my itunes catelog in two years either, but it would be great to have them off my MBP HD, but readily accessible if necessary.
    The literature on purchasing cloud storage is pretty scarce (Icloud!?, Amazon?)
    Any insight is greatly appreciated, and I am sure I will have followup questions as I need to resolve this soon now that I have a 2 week window to return the TC.
    Thank you!

    Welcome to Apple Discussions!
    Presumably, the old iMac is pre-Firewire? If it is, it really would be very slow for backing up. You can use these methods to network the two machines on my FAQ:
    http://www.macmaps.com/network9X.html

  • What is the best way to backup a MacBook Pro running OS 10.4.11

    What is the best way to backup a MacBook Pro running OS 10.4.1?

    When I was using 10.4.1, which was years ago, I used SuperDuper.
    Allan

Maybe you are looking for

  • Oracle Application Server 10G base release on AIX 5.1 L

    We are having 2 AIX Servers with AIX 5L V5.1 working through cluster HACMP V 4.5 and Oracle Application Server 9.0.2.3 ported on one of its node se,because of the bug in the AS we have disabled the clustering services on the node porting the Applicat

  • Problem: oad.log file empty.

    I have installed ias9i (1.0.2.2) on AIX cluster (4 cards). Installation went successfuly. Discoverer proceses started but I can't log into discoverer viwer. The message is: "Unable to bind oad" So I followed all advaices published on metalink: 1. Nsl

  • FYI Playing PAL DVD on US MBP

    I am not sure if this has been brought up before, but my MBP (late 2007), and I am sure many other similar boxes play PAL DVDs perfectly. No conversion necessary. I normally use VLC, but I checked with the Leopard DVD player and both work normally. I

  • HP T410 All-In-One (H2W21AA) serious RDP problem with terminal server

    Hi there! The scheme is this: HP T410 All-In-One (H2W21AA)  firmware that was out-of-the-box got some graphical problems with RDP, so i updated the Smart Zero Core Image to the latest Z6A44019 Rev. 1 (11 dec 2013). Graphical problem gone, but new, mu

  • T38 rejected by ccm

    Hi guys, We did an upgrade from CUCM version: 7.1.5.34079-1 to CUCM version: 9.1.1.20000-5. The problem now is that 95% of the incomming faxes are not coming into the fax server. (Some faxes are reveived) Setup: pri -> gateway (MGCP) -> CUCM -> ICT -