Purchase Linux CDs / DVDs / Flash Drives at OSDisc.com

Welcome to Our Community

While Linux.org has been around for a while, we recently changed management and had to purge most of the content (including users). If you signed up before April 23rd please sign up again. Thanks!

Backing up a Linux machine using to a Windows PC

Discussion in 'General Linux' started by morhsn, Apr 21, 2012.

  1. morhsn

    morhsn Guest

    Hey guys,

    I have quite the question and was hoping someone could point me to the right direction as Google failed to do so.

    I have a Windows 7 PC and also own a website that runs on CentOS:
    Linux 2.6.32-220.13.1.el6.x86_64 #1 SMP Tue Apr 17 23:56:34 BST 2012 x86_64 x86_64 x86_64 GNU/Linux
    I wanted to ask what is the most efficient way to backup my whole CentOS machine (hard disk size is 30 GB), in a way that would allow me to restore the machine back to its current state in case the whole server or hard disk are gone.

    I don't require the ability to restore specific files so I don't mind ending up with one big 30 GB file that can somehow be used to re-create my machine if something happens.

    Thanks a lot! :)

  2. Victor Leigh

    Victor Leigh Guest

    I also use Centos to run all my servers. So far I have only backed-up my data. I don't quite understand why you would want to back up the entire server. Perhaps you can elaborate on your reasons for wanting to do so.
  3. smartblogger

    smartblogger Guest

    Linux works nicely with a number of other computer systems, including Windows. With a few simple commands, Linux will happily safeguard data in those systems as well.

    For now, here's a quick Samba example. Pretend that you have a Windows PC called
    speedy on your network. The user has shared the C: drive with the name SPEEDY_C. I can mount
    that share on a Linux system running Samba like this:

    smbmount //speedy/speedy_c /mnt/linux_mount_point

    Then, I simply back it up to my drive like this:

    cd /mnt/linux_mount_point
    tar -cvf /dev/st0.
  4. nixsavy

    nixsavy Guest


    Usually backup are taken only for data ( say oracle database , web application data etc )

    One option would be to have RAID level protection. You can try RAID 1 , RAID 10 etc..

    If you still after backup , I would advise to look for hard disk clone backup tools like Clonezilla etc .. Or try dd command ( be careful when using this)
  5. victorz

    victorz Guest


    Sounds like you need something to take a BMR image. I know software like Ghost do the trick. So check on-line and see what is available for your CentOS.
  6. Samba server and rsync options simultaniously gives you a feature to keep a backup of entire disk on Windows Machine as well as there are so many third party tools are availble there using that You can do this like FWbackups,Bacula

Share This Page