Re: dump

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Mike Garfias
Date:  
To: Main PLUG discussion list
Subject: Re: dump

On Nov 18, 2006, at 3:24 PM, Eric Shubes wrote:
>
> After you have the initial copy, you can use the rsync command
> periodically
> to keep them in sync. I don't know the exact syntax for that off hand.
> Someone else here undoubtedly does though.


If its local:
    rsync -av srcdir destdir
if its remote:
    rsync -ave ssh srcdir host:/dest/dir
    (be sure and have sshd running on the remote, and write perms to the  
appropriate dirs)


also, look at rdiff-backup (i've been using it lately), its nicer for
doing backups
you do a snapshot, and after that, incrementals so you can go back in
time

here is an example of some backups I've done at work:
# rdiff-backup -l somehost::/some/dir
Found 13 increments:
     increments.2006-11-06T15:39:15-08:00.dir   Mon Nov  6 16:39:15 2006
     increments.2006-11-07T06:48:08-08:00.dir   Tue Nov  7 07:48:08 2006
     increments.2006-11-07T09:22:49-08:00.dir   Tue Nov  7 10:22:49 2006
     increments.2006-11-08T06:42:31-08:00.dir   Wed Nov  8 07:42:31 2006
     increments.2006-11-09T06:36:50-08:00.dir   Thu Nov  9 07:36:50 2006
     increments.2006-11-10T06:30:47-08:00.dir   Fri Nov 10 07:30:47 2006
     increments.2006-11-11T06:30:58-08:00.dir   Sat Nov 11 07:30:58 2006
     increments.2006-11-12T06:29:48-08:00.dir   Sun Nov 12 07:29:48 2006
     increments.2006-11-13T06:29:25-08:00.dir   Mon Nov 13 07:29:25 2006
     increments.2006-11-14T06:36:28-08:00.dir   Tue Nov 14 07:36:28 2006
     increments.2006-11-15T06:41:52-08:00.dir   Wed Nov 15 07:41:52 2006
     increments.2006-11-16T06:30:23-08:00.dir   Thu Nov 16 07:30:23 2006
     increments.2006-11-17T06:32:45-08:00.dir   Fri Nov 17 07:32:45 2006
Current mirror: Sat Nov 18 07:32:15 2006


If I do a straight restore, I'll get it from Sat Nov 18 @ 7:32, if I
specify an increment I'll get it from, say, Nov 8 @ 6:42
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss