Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Dec 2003 13:24:07 -0500
From:      Dany <>
To:        Francisco Reyes <>
Cc:        FreeBSD Questions List <>
Subject:   Re: Backing up programs
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On my file server I have 2 drives. I looked at RAID but it doesn't help 
solving the major issue ... me, user removing files that are not 
supposed to be removed so incremental backup is a plus.

On the first one there is the linux system (sorry... I promise I will 
switch to fbsd) as well as data (2 directories) :

      |----  user 1 current      <--->   UNISON with laptop/desktop...

      |----- user 1 backup     <----   RSYNC-BACKUP of "user 1 current", 
incremental backup

     | ----  linux backup         <-----  RSYNC of the file system from 
the first drive excluding data
     | ----- user 1 backup (2)      <-----  RSYNC of the user 1 backup 
directory (already incremental in the first place)

I use 3 different programs :
- Unison :  2-way synchronization using rsync/ssh, multi platform 
graphical interface. I can have the same files on my file server, laptop 
running win2k as well as my desktop running Linux/BSD.  Very convenient 
especially with laptops when you can't be connected all the time.Very 
fast too (only transmit diffs)
- rsync :  typical rsync that will mirror the source to the destination
- rsync-backup : it's based on rsync but you get the advantage of 
incremental backups so you can restore from a specific date. You can 
also purge the backup by removing old stuff.

A couple of cron jobs take care of the different backups at night.

I don't know if that answers to your question but I thought that could 
give you some ideas.


Francisco Reyes wrote:

>With every HD problem I loose less and less data. On my last episode I
>lost only the current day's worth of data (backup at night). However I
>realised that I also need to backup programs installed on the machine. It
>takes a long time to rebuild all packages (I had a list of ports I had
>How do others backup their programs?
>I am undecided between trying to backup the entire /usr/local and making
>packages of my critical ports and burning that to CDs.
>I also took care of all system files, but I realized that backing up all
>of /etc wasn't so helpfull if I didn't know which files I used. I also, as
>of last crash, am going to backup /usr/src since restoring all of /etc
>only makes sense with matching sources.
>The one thing I have against trying to backup all of /usr/local is that
>something like PostgreSQL may cause the backup problems whereas the
>package solution will be a one time deal and will not affect production.
>The other thing I learnt that needs to be backed up is the /usr/ports
> mailing list
>To unsubscribe, send any mail to ""

Want to link to this message? Use this URL: <>