Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Backup software that can clone a directory

  1. #1
    Join Date
    Mar 2007
    Beans
    67
    Distro
    Ubuntu 10.04 Lucid Lynx

    Backup software that can clone a directory

    Hi,

    I'm looking for software that can backup all the files in my /home directory including hidden files.

    I liked Lucky Backup, but it puts everything in a tar file, meaning that the backup fails if the file gets too large (4 GB I think). I would prefer to avoid using tar/archives anyway, as often I only need to recover 1 file from a backup (an archive holding my 50 Gb of data would take ages to open).

    Does anyone know of a program or a way to get rsync or the like to copy all the files in a directory, including hidden files, into another directory ( so I end up with effectively a carbon copy of the original). Disk space is not an issue so I don't need to compress anything. I'm not bothered whether its a fancy GUI-based program or a rsync command, just so long as it can save my previous files from.... myself.


    Thanks in advance for your advice

  2. #2
    Join Date
    Mar 2010
    Beans
    10

    Re: Backup software that can clone a directory

    Yes I would like to know this as well. I need something like WIndows' 'create a system image'. What would you guys recommend?

    Thank you.

  3. #3
    Join Date
    Sep 2008
    Location
    Göttingen, germaniee
    Beans
    62
    Distro
    Ubuntu

    Re: Backup software that can clone a directory

    take a look to unison, it does incremtal backups, too

    also rsync is a very handy tool, see man rsync, it can also use ssh via network for this

    for sector based cloning of a whole partition can use dd

  4. #4
    Join Date
    Mar 2010
    Location
    Estero, Florida
    Beans
    6
    Distro
    Ubuntu 9.10 Karmic Koala

    Talking Re: Backup software that can clone a directory

    Quote Originally Posted by Wee_Guy View Post
    Hi,

    I'm looking for software that can backup all the files in my /home directory including hidden files.

    I liked Lucky Backup, but it puts everything in a tar file, meaning that the backup fails if the file gets too large (4 GB I think). I would prefer to avoid using tar/archives anyway, as often I only need to recover 1 file from a backup (an archive holding my 50 Gb of data would take ages to open).

    Does anyone know of a program or a way to get rsync or the like to copy all the files in a directory, including hidden files, into another directory ( so I end up with effectively a carbon copy of the original). Disk space is not an issue so I don't need to compress anything. I'm not bothered whether its a fancy GUI-based program or a rsync command, just so long as it can save my previous files from.... myself.


    Thanks in advance for your advice
    Grsync is a what I use. Its a GUI for rsync.

  5. #5
    Join Date
    Mar 2007
    Beans
    67
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Backup software that can clone a directory

    Thanks for the advice folks. I've not tried unison yet as Grsync looks quite promising. The only issue at the moment is getting it to run without permissions issues. I've only tried running it as root once and I managed to direct it to a random folder that had appeared in /media instead of the drive I was aiming for, resulting in the source HD copying data to itself for about an hour before I eventually noticed and facepalmed.

    Going to try Grsync as root again later with the correct destination...

  6. #6
    Join Date
    Jul 2008
    Beans
    70

    Re: Backup software that can clone a directory

    well, i dont know if this will really help, but i think its along the right track. i use remastersys to backup my distro at least 3 time a week (so if i ruin the distro, i can just burn the iso and reinstall) and its worked perfectly everytime. kept EVERYTHING, even contents in trash lol. hope this helps

  7. #7
    Join Date
    Mar 2007
    Beans
    67
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Backup software that can clone a directory

    Thanks merlin_ie, remastersys is pretty cool. I might use it to image the whole system before updates or config file tomfoolery, but my user data changes much more regularly, so I intend to backup said data on its own more often. That way, I'm covered for pretty much anything. That's my plan anyway, so either remastersys or clonezilla will be used for the system files, but I need something that can clone my /home directory to another drive (Grsync looks like it might be a winner).

    ...With my plan now laid out, I seem to want something to go bad just to justify the time spent on this backup scheme... plus I can laugh at people who don't have backups without being hypocritical
    Last edited by Wee_Guy; April 1st, 2010 at 10:31 PM.

  8. #8
    Join Date
    Jun 2005
    Beans
    1,056
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Backup software that can clone a directory

    In terminal do;

    Code:
    cd /home
    
    cp -ax * /dir/folder
    This will copy everything in your home folder to the folder of your choice (where /dir/folder is the actual path you choose)... yes it really is that simple. Note you can do this from your normal GUI, no need to go to shell. You will get an error about gvfs permissions but you can ignore it.

    See; http://ubuntuforums.org/showthread.php?t=416710
    Last edited by Irony; April 1st, 2010 at 10:47 PM.

  9. #9
    Join Date
    Nov 2008
    Location
    Hendersonville, TN
    Beans
    198
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Backup software that can clone a directory

    Duplicity works very well, especially if you have an Amazon S3 or other off-site storage account.

    You could also look into Cloud storage like Dropbox and set it for your entire /home directory.

  10. #10
    Join Date
    Mar 2007
    Beans
    67
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Backup software that can clone a directory

    I don't want to use cloud storage, as although it does have its advantages, my connection speed would mean it would take around 2 and a half weeks to upload all 50 Gb to a server. I've got loads of unused disk space at the moment so I'm quite happy to just fill that with uncompressed archives.

    I don't think Duplicity would work very well for local backups as it uses tar which fails when the tar file gets to 4 Gb in size.

    Irony, thanks, that seems to work quite well, bar the small issue of it ignoring symlinks. Can CP replace symlinks with copies of the target file (with the symlinks name) ?

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •