Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

On Windows I used Zback for

  • backing up some directories to a networked drive (i.e, copying all new files from source to target)
  • Keeping a mirror of some directories on a networked drive (i.e, copying all new files from source to target, and deleting files from target which no longer exist on source)
  • Syncing my working folder to my flash drive (i.e., overwriting older files on target with newer files from source, and vice versa)
  • Is there any single app for Ubuntu that can do all this? Preferably something with scripting and GUI support. I really don't want to have to resort to Wine for something so simple. I tried grsync, but this seems lacking in functionality. Do I have to go learn rsync, or is there another alternative?

    Sixhobbits

    share|improve this question
    add comment

    1 Answer 1

    up vote 1 down vote accepted

    Just use rsync its extremely powerful, very generic and not that hard to use really.

    Your backup scenario:

    • rsync -avz /home/myfolder/* 192.168.40.1:/remote/backup/myfolder/*

    Keeping folders in sync (removing extroneous stuff from destination)

    • rsync -avz --delete /home/keepsynced 192.168.40.1:/remote/backup/keepsynced

    from folder to usb:

    • just like the first one just change ip , to a local path instead. Rsync will overwrite files on the remote end if they exist.

    if you want to skip entering a password every time are syncing to your network backup host. Just follow this instruction

    share|improve this answer
        
    notice the difference between ending a path with / , or just the name of the folder. Using / will take the files within that folder while ending just with the folder name, will rsync that folder –  tomodachi Feb 1 '13 at 22:38
        
    You might also want to use snapshot like backups instead of just making an up to date copy of files. Much like apples time machine. check out rsnapshot –  tomodachi Feb 1 '13 at 22:40
    add comment

    Your Answer

     
    discard

    By posting your answer, you agree to the privacy policy and terms of service.

    Not the answer you're looking for? Browse other questions tagged or ask your own question.