Berkeley CSUA MOTD:Entry 26781
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/05/28 [General] UID:1000 Activity:popular
5/28    

2002/12/10-12 [Computer/SW/OS/OsX] UID:26781 Activity:high
12/10   What program do you use to backup your *nix system at home?  Needs to
        be compatible with OS X.
        \_ If you have another box somewhere you can use as a backup server,
           use rsync.  -John
           \_ rsync doesn't handle hfs+ files by default.
        \_ dump
           \_ Does 10.2's dump work properly with resource forks? The
              version of dump in older versions had problems.
        \_ I dd my /etc/* to another disk.  The rest is crap.
           \_ OS X doesn't use /etc for most of its configs. You
              need to grab the netinfo stuff from /var.
        \_ The only effective soln for OS X that I've seen is something
           called Carbon Copy Cloner:
                http://www.bombich.com/software/ccc.html
           You could try the hacked version of cp that apple includes
           in the dev tools or a version of gnu tar that is hfs+ aware
           (search on google for it). If you have trouble with the hfs+
           patch, I can roll you a binary.
           \_ The original question was modified to say it's OSX.  If I had an
              OSX system I wouldn't backup anything.  It'd all be crap.
        \_ Thanks for the answers.  It is surprising that people notice this
        tiny question in between huge threads.  I have just located hfstar
        and hfspax on the net.  I still want to know if there is a one stop
        solution for backuping to CD-R(W), or I just have to tar it then
        burn it to CD.
                \_ CCC (mentioned above) will be easier to use than hfspax
                   and hfstar. Just use disk util to make a dmg and use
                   CCC to back up to that dmg, then you can use apple
                   script to have the finder (or toast) burn a cd for you.
        \_ Retrospect.  I don't know of a free one that handles HFS+
           files properly.  -tom
        \_ You might find the Distributed Internet Backup System (DIBS)
           interesting.  DIBS lets you backup your data by sending it
           to other people on the Internet (and in return you backup
           their data).  For more details, see
           ~emin/public_html/source_code/dibs/index.html. -emin
           \_ http://oceanstore.cs.berkeley.edu
Cache (5834 bytes)
www.bombich.com/software/ccc.html
Have you ever wanted a simple, complete, bootable backup of your hard drive? Have you ever wanted to upgrade to a larger hard drive with minimal hassle and without reinstalling your OS and all of your applications? Have you ever wanted to move your entire Mac OS X installation to a new computer? CCC makes these tasks simple by harnessing the Unix power built into Mac OS X. In addition to the features that CCC has provided in the past, version 2 offers synchronization of the source and target as well as scheduled backup tasks. Now you can setup a regular backup regimen that occurs in the background, even if you are not logged in! Version 2 also offers enhancements for lab administrators, including the option to run pre and post-flight shell scripts, the ability to modify the list of items to be removed at the end of a clone, and the ability to create a disk image on the fly. One of CCC 2's most exciting features is the ability to create a NetBoot image from a fully customized Mac OS X installation. I was able to reduce the amount of code used by about 15% and offer some really nice optimizations resulting in a faster and sturdier application. Cloning to a disk image will (obviously), not yield a bootable volume unless you use CCC to restore the image to a physical partition or disk. Please visit the 36 CCC Troubleshooting forums for troubleshooting information. Japanese users: A bug has been identified in which the user will receive an error upon launching CCC. The source of the error has been determined, but it exists in the underlying AppleScript code, thus you will need to wait for a software update for a fix. SECURITY: If you are running a server or your computer is not physically secured from other non-trusted users, there is a precaution you should take while creating scheduled tasks. You should not enable the "Display task log when scheduled task has completed" option. If your system is sitting idle at the loginwindow panel, the Console may open with system administrator privileges. You may need to recreate your scheduled tasks to disable the task log popup if that box was checked when you created your scheduled task. I have reported this bug to Apple (yes, its a system problem, not a CCC bug). When you log into the account, it mounts the disk image at /Users/username. If you create a backup while logged in as a File Vault user, it will create two copies of your home directory: one copy of the sparseimage file and one copy of the contents of the mounted volume. In some rare circumstances, CCC will not yield a bootable clone. Often this is due to disk errors with the original or target disk. Try running a disk utility such as Disk First Aid to repair the problem. CCC may not yield a bootable clone on USB hard drives or some FireWire devices (though firewire devices work most of the time). Some people have experienced problems with cloning to firewire drives: the clone stops abruptly somewhere in the middle, CCC becomes unresponsive, and the only way to solve the problem is to force quit CCC and/or unplug the firewire cable from the drive. I believe this is due to a more general OS/driver issue with firewire. I will make some changes to CCC to make it more responsive, but there is little I can do to surmount the general firewire issues. Some people have experienced problems with Classic after cloning. Download CCC and read the Read Me for more details and limitations. I found psync to be so useful for file synchronization that I decided to design part of CCC to be a graphical front-end for it. If you want the synchronization features of psync and you have already upgraded to Panther, you will need to wait until an updated version is available from Dan. As soon as an update is available, I will update this section of my site to provide a link for you to download the updated version. Somebody figured out why psync would not compile on Panther and submitted a patch to Dan's site. With further communication with that developer, I was able to determine that running sudo gcc_select 3 before the "make test" command made psync compile just fine. So for those of you with the developer tools installed, feel free to download the source and compile it using the instructions on Dan's site plus the command above. As Dan Kogai hasn't had a chance to get his hands on Panther yet, I decided to develop my own package installer. Note that this version also includes the minor modifications by 42 EnzymeKinetics that fix some bugs related to deleting items not on the source volume. IN NO EVENT SHALL MIKE BOMBICH BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; OR BUSINESS INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION, MODIFICATION AND/OR DISTRIBUTION OF THIS SOFTWARE, HOWEVER CAUSED AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE), STRICT LIABILITY OR OTHERWISE, EVEN IF MIKE BOMBICH HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Redistribution of CCC is permitted only if the application and its documentation in its entirety, unaltered, is included. This software may not be redistributed as part of another package for which there is a charge. When quoting material from this site, please include appropriate credit. I worked hard developing CCC and its methodology and documenting it on the internet for the rest of the Mac OS X community. If you would like to make a small donation for this software, select an amount and click on the picture below (or you can send something directly to me at the address listed). Please note that if you are using CCC for an educational institution, you should NOT donate to Bombich Software. My heart is in Education and all software that I write shall always be free to Education.
Cache (202 bytes)
oceanstore.cs.berkeley.edu
Research Opportunities Possible Oceanstore projects for undergrads and grads. Downloads Software releases and other items for download. NEW: Pond (the OceanStore prototype) source code is now available!