+ Reply to Thread
Results 1 to 6 of 6

Thread: File Sync program for Linux

  1. #1
    ichwar's Avatar
    ichwar is offline Community Advocate ichwar is an unknown quantity at this point
    Join Date
    Dec 2008
    Location
    NC, USA
    Posts
    1,454

    Question File Sync program for Linux

    Alright, I really need to start backing up my files. I use Mozy, a GREAT free backup program that backsup all my stuff to online. But now that I spend most of my time on Linux, most of my files are on my linux partition, and since windows doesn't read linux, Mozy is no good for linux...

    Also, because of the ENORMOUS sizes of some of the files that I have to keep backed up regularly, I can't use an online backup for Linux either.

    So, what I need is a program for Linux, that will AUTOMATICLY and REGULARLY make a backup of certain folders and files from my main internal hard drive to my external USB hard drive.

    I need this software to be FREE. And by free, I mean freeware, NOT pirated software.

    Does anyone know of anything that meets these three requirements?

    Thanks in advance!

  2. #2
    xPlozion's Avatar
    xPlozion is offline x10 Elder xPlozion is an unknown quantity at this point
    Join Date
    Mar 2008
    Location
    Delaware, USA
    Posts
    872

    Re: File Sync program for Linux

    well, you can make a simple script to copy your home directory and use a cron to make it run daily ;)

    that or tar it, and then use a command line ftp to login (if it's ftp), and upload it.
    Last edited by xPlozion; 01-07-2009 at 09:11 PM.

  3. #3
    ichwar's Avatar
    ichwar is offline Community Advocate ichwar is an unknown quantity at this point
    Join Date
    Dec 2008
    Location
    NC, USA
    Posts
    1,454

    Re: File Sync program for Linux

    Quote Originally Posted by xPlozion View Post
    well, you can make a simple script to copy your home directory and use a cron to make it run daily ;)

    that or tar it, and then use a command line ftp to login (if it's ftp), and upload it.
    The ftp won't work because the files are too big for my bandwith speed.

    But making the script to copy my home directory would work... ...if I knew how ;)

  4. #4
    IonCannon218's Avatar
    IonCannon218 is offline x10 Sophmore IonCannon218 is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    177

    Re: File Sync program for Linux

    I had a similar problem, but I looked in the Add/Remove Programs

    I found Unison and it's great.
    Formerly bnex10

  5. #5
    ichwar's Avatar
    ichwar is offline Community Advocate ichwar is an unknown quantity at this point
    Join Date
    Dec 2008
    Location
    NC, USA
    Posts
    1,454

    Re: File Sync program for Linux

    Quote Originally Posted by bnex10 View Post
    I had a similar problem, but I looked in the Add/Remove Programs

    I found Unison and it's great.

    That doesn't work for me because it won't let me back up to my external hard drive. The only options it gives me are: Local, SSH, RSH, Socket.
    None of these are my external hard drive, so that doesn't really work.

    Thanks anyways!

  6. #6
    xPlozion's Avatar
    xPlozion is offline x10 Elder xPlozion is an unknown quantity at this point
    Join Date
    Mar 2008
    Location
    Delaware, USA
    Posts
    872

    Re: File Sync program for Linux

    well, under linux terms, local should be any harddrive connected to the computer. internal or external.

    depending on the kernel your linux os uses, hdds are listed as either sda or hda in /dev/. what you could do, and remember what i said earlier, edit /etc/fstab and add the location to the external drive to the list with the proper settings (format type, location, where it'll be mounted (/mnt/backup/) and other settings. setting it to either automount (if it's always connected, or so as a regular user you could type mount /mnt/backup/, or have it do that as part of the sh script ;)).


    here's what I would do under archlinux:
    Code:
    #!/bin/bash
    
    mount /dev/hdb1 /mnt/backup
    tar czf /mnt/backup/backup.tar.gz
    now, obviously the code will have issues, because it doesn't have a timestamp at the end of it (which i'm not good at sh programming, but that's a basic almost working example of how it would go ;)

    good luck

+ Reply to Thread

Similar Threads

  1. It works! ...
    By bpakidz in forum Programming Help
    Replies: 4
    Last Post: 09-07-2008, 11:12 PM
  2. Internal Serve Error
    By xaakx in forum Free Hosting
    Replies: 6
    Last Post: 02-03-2008, 08:02 AM
  3. help!!
    By retro-bliss in forum Free Hosting
    Replies: 25
    Last Post: 12-07-2007, 01:12 PM
  4. Replies: 8
    Last Post: 12-03-2007, 04:12 PM
  5. php version
    By loveispoison in forum Free Hosting
    Replies: 10
    Last Post: 11-21-2007, 10:53 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers