Berkeley CSUA MOTD:Entry 53297
Berkeley CSUA MOTD
2018/01/23 [General] UID:1000 Activity:popular

2009/8/21-9/1 [Computer/SW/Unix] UID:53297 Activity:nil
8/20    When I use rsync to backup, it's pretty cool except in cases where
        I rename a directory name from the source. Rsync will just do
        a plain copy. Is there a program that'll detect renaming of
        directories (by checking for children files), or at least
        move them to a dated directory?
        \_ Not related but beware of using rsync as a backup tool.
           Consider using something like rsnapshots instead.
           \_ what's wrong with rsync?
              \_ Same reason why RAID is not a backup. If, out of
                 user error, you delete a file then it's gone in
                 both the original and the backup. Combine
                 rsnapshots with rsync and you'll have a better
                 backup solution. This way, you'll retain some
                 history so you can recover files later on.
                 \_ rsync has a --backup option to move unsync'ed
                    files into a backup directory. Did you miss that?
        \_ try this:
           % sync --backup-dir=._090821 --suffix='' --delete -avrb \
                --filter='merge /Users/username/.rsync-filter' \
                src dest
           My rule in .rsync-filter excludes ._* names.
           This will move files into ._090821 so that dest==src
        \_ Huh? Use --delete to make an exact replica on the destination.
           \_ --delete will delete files that you may need later on, that's
              the point of a backup. Make sure to use --backup in
              conjunction with --delete.
2018/01/23 [General] UID:1000 Activity:popular

You may also be interested in these entries...
2009/7/17-24 [Computer/SW/OS/OsX] UID:53156 Activity:kinda low
7/17    -rw-r--r--@
        What does the "at sign" mean? This is on Mac OS. VMWare disk file.
        \_ The file has metadata attributes
           \_ How do I add/delete attributes to files? What about
              -rw-r--r--+ <-- what is the "+" sign? Also how do you make
              tar preserve these attributes?
2009/2/26-3/5 [Computer/SW/Unix] UID:52653 Activity:nil
2/26    If I want to rsync a perforce or svn directory while users
        are checking things in, could I wind up with a corrupted copy?
        \_ sure why not.  if you are really cool, your copy of the svn
           repo is on LVM, and you snap the LVM to copy it.
           \_ It'll seem less cool when you realize you've taken a snapshot
              of a block level device, which only guarantees that this set of
2008/8/27-9/3 [Computer/HW/Laptop, Computer/SW/OS/Linux] UID:50980 Activity:nil
8/27    I have a rather large linux partition.  I just got a new laptop
        and want to move all my settings and customization to that new
        computer.  how to do this?  I tried remastersys but it seems that it
        get stuck somewhere, and I am hoping it is not really trying to create
        a 26GB iso file.
        any ideas?  is there anyway i can back up my debian package database
2008/6/10-13 [Computer/SW/OS/VM, Computer/SW/Unix] UID:50210 Activity:nil
6/10    Is there a handy guide to virtualizing an already running
        physical linux box into an instance of Vmware?
        \_ this probably isn't the "right" way, but I have many times
        just run rsync. ("rsync -vpa root@oldbox:/ /")  on a fresh virtual
        image.  Just make sure the partitions are the same on the virt disk
        as on the real disk and if you are using a new udev, kill the info
2008/5/29-31 [Computer/HW/Drives] UID:50086 Activity:nil
5/29    Considering abandoning tape backups in favor of something like this:
        Please convince me that I'm crazy.
        \_ why?
           \_ Why do I want you to convince me I'm crazy?
              \_ what are you trying to accomplish?  What is your context?
2008/4/3-9 [Computer/SW/Mail, Computer/SW/RevisionControl] UID:49661 Activity:nil
4/3     In "p4 client", modtime/nomodtime sets the file timestamp to
        either the modification time from submitting client or the time that
        the file is fetched.  Is there a way to set the file timestamp to
        the time that the file was submitted, like what ClearCase does?  Thx.
        \_ How is this different from the modtime option? Are you concerned
           about clock skew or timezone differences?
2008/3/17-21 [Computer/SW/OS/OsX] UID:49480 Activity:nil
3/17    Anyone using a Windows Mobile based phone and is using a mac to sync/
        backup?  I don't want the current iPhone, but my phone's on its last
        leg, so can't wait for the next iPhone to come out.  I'm considering
        the Moto Q (9h.)  Thanks.
        \_ I think the default iSync for Windows Mobile is not very good.
           Most people I know with a Mac and Windows Mobile use Missing