Incremental Backups

2005-02-16 Thread lists
I read the following hint at:
http://www.mikerubel.org/computers/rsync_snapshots/#Incremental
mv backup.0 backup.1
rsync -a --delete --link-dest=../backup.1 source_directory/  backup.0/
I simply want to maintain a dated backup of a server so that I could 
always go back to a certain date.  I would like to keep this structure 
for each day for the last seven days, then one weekly snapshot for each 
week in the month and then each month I would like to have as well.

It seems that this method would not use terribly much space in terms of 
duplicating files, however I am not sure of the --delete portion, it 
seems that I should remove the delete as I would like to at any point 
be able to go back in time and look at a snapshot of the server.  Is 
this a correct assessment?  And if so, would the more appropriate rsync 
command go as follows?

sudo rsync -azRv -e ssh 
--exclude-from=/Users/someuser/scripts/Server_Scripts/etc/rsync_exclude 
--link-dest=../Server_Backup.1 [EMAIL PROTECTED]:/ 
Server_Backup.current

Thanks much for any help!
-George
--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Out of Office AutoReply: error

2005-02-16 Thread Lambert, John
Please be aware that John Lambert is no longer with Smarts.  If this is 
business related, please contact Jonathan Perkins, at [EMAIL PROTECTED] or by 
phone at 650.619.2052.
--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


CVS update: rsync

2005-02-16 Thread Wayne Davison

Date:   Wed Feb 16 08:10:22 2005
Author: wayned

Update of /data/cvs/rsync
In directory dp.samba.org:/tmp/cvs-serv16731

Modified Files:
rsync.h 
Log Message:
Added the new ITEM_* flags for the itemized-changes flag passing.


Revisions:
rsync.h 1.246 = 1.247
http://www.samba.org/cgi-bin/cvsweb/rsync/rsync.h?r1=1.246r2=1.247
___
rsync-cvs mailing list
rsync-cvs@lists.samba.org
https://lists.samba.org/mailman/listinfo/rsync-cvs


CVS update: rsync

2005-02-16 Thread Wayne Davison

Date:   Wed Feb 16 08:10:25 2005
Author: wayned

Update of /data/cvs/rsync
In directory dp.samba.org:/tmp/cvs-serv16834

Modified Files:
generator.c 
Log Message:
Changed showchg() into itemize(), which now ships off a flag byte of
what changed over to the sender instead of outputting a string itself.
This does mean that we now ship off indexes of non-file items that got
updated, but the sender will know what to do with it.


Revisions:
generator.c 1.143 = 1.144
http://www.samba.org/cgi-bin/cvsweb/rsync/generator.c?r1=1.143r2=1.144
___
rsync-cvs mailing list
rsync-cvs@lists.samba.org
https://lists.samba.org/mailman/listinfo/rsync-cvs


CVS update: rsync

2005-02-16 Thread Wayne Davison

Date:   Wed Feb 16 08:10:33 2005
Author: wayned

Update of /data/cvs/rsync
In directory dp.samba.org:/tmp/cvs-serv16915

Modified Files:
options.c 
Log Message:
- If log_before_transfer is possible, don't force --verbose on for
  --progress.
- If --log-format contains %i, set --itemize-changes (-i).
- Always send -i to the remote rsync if it was specified/implied.


Revisions:
options.c   1.236 = 1.237
http://www.samba.org/cgi-bin/cvsweb/rsync/options.c?r1=1.236r2=1.237
___
rsync-cvs mailing list
rsync-cvs@lists.samba.org
https://lists.samba.org/mailman/listinfo/rsync-cvs


CVS update: rsync

2005-02-16 Thread Wayne Davison

Date:   Wed Feb 16 08:10:39 2005
Author: wayned

Update of /data/cvs/rsync
In directory dp.samba.org:/tmp/cvs-serv16938

Modified Files:
batch.c 
Log Message:
Ensure that -i is set consistent with the batch's data.


Revisions:
batch.c 1.47 = 1.48
http://www.samba.org/cgi-bin/cvsweb/rsync/batch.c?r1=1.47r2=1.48
___
rsync-cvs mailing list
rsync-cvs@lists.samba.org
https://lists.samba.org/mailman/listinfo/rsync-cvs


CVS update: rsync

2005-02-16 Thread Wayne Davison

Date:   Wed Feb 16 08:10:42 2005
Author: wayned

Update of /data/cvs/rsync
In directory dp.samba.org:/tmp/cvs-serv17080

Modified Files:
sender.c 
Log Message:
- We now accept an itemized-changes flag byte over the socket if we're
  in --itemized-changes mode.  If the item is not being updated,
  either pass it along to the receiver (if we're the server) or just
  call log_send().
- We reject an attempt to file-update any non-regular file, not just
  dirs.
- Avoid the verbose log the transfer output if --log-format was
  specified and log_before_transfer is in effect.
- Call log_send() with its new iflags arg.


Revisions:
sender.c1.58 = 1.59
http://www.samba.org/cgi-bin/cvsweb/rsync/sender.c?r1=1.58r2=1.59
___
rsync-cvs mailing list
rsync-cvs@lists.samba.org
https://lists.samba.org/mailman/listinfo/rsync-cvs


CVS update: rsync

2005-02-16 Thread Wayne Davison

Date:   Wed Feb 16 08:10:46 2005
Author: wayned

Update of /data/cvs/rsync
In directory dp.samba.org:/tmp/cvs-serv17131

Modified Files:
receiver.c 
Log Message:
- We now accept an itemized-changes flag-byte over the socket if we're
  the local client and --itemized-changes was specified.  If the item
  is not being updated, just call log_recv().
- We reject an attempt to file-update any non-regular file, not just
  dirs.
- Avoid the verbose log the transfer output if --log-format was
  specified and log_before_transfer is in effect.
- Call log_recv() with its new iflags arg.


Revisions:
receiver.c  1.136 = 1.137
http://www.samba.org/cgi-bin/cvsweb/rsync/receiver.c?r1=1.136r2=1.137
___
rsync-cvs mailing list
rsync-cvs@lists.samba.org
https://lists.samba.org/mailman/listinfo/rsync-cvs


CVS update: rsync/patches

2005-02-16 Thread Wayne Davison

Date:   Wed Feb 16 15:43:01 2005
Author: wayned

Update of /data/cvs/rsync/patches
In directory dp.samba.org:/tmp/cvs-serv9626

Modified Files:
ODBC-dblog.diff append.diff chmod-option.diff 
remove-sent-files.diff 
Log Message:
Fixed failing hunks.


Revisions:
ODBC-dblog.diff 1.21 = 1.22

http://www.samba.org/cgi-bin/cvsweb/rsync/patches/ODBC-dblog.diff?r1=1.21r2=1.22
append.diff 1.2 = 1.3

http://www.samba.org/cgi-bin/cvsweb/rsync/patches/append.diff?r1=1.2r2=1.3
chmod-option.diff   1.28 = 1.29

http://www.samba.org/cgi-bin/cvsweb/rsync/patches/chmod-option.diff?r1=1.28r2=1.29
remove-sent-files.diff  1.49 = 1.50

http://www.samba.org/cgi-bin/cvsweb/rsync/patches/remove-sent-files.diff?r1=1.49r2=1.50
___
rsync-cvs mailing list
rsync-cvs@lists.samba.org
https://lists.samba.org/mailman/listinfo/rsync-cvs


CVS update: rsync

2005-02-16 Thread Wayne Davison

Date:   Wed Feb 16 17:01:59 2005
Author: wayned

Update of /data/cvs/rsync
In directory dp.samba.org:/tmp/cvs-serv29582

Modified Files:
batch.c 
Log Message:
No need to handle itemize_changes anymore.


Revisions:
batch.c 1.48 = 1.49
http://www.samba.org/cgi-bin/cvsweb/rsync/batch.c?r1=1.48r2=1.49
___
rsync-cvs mailing list
rsync-cvs@lists.samba.org
https://lists.samba.org/mailman/listinfo/rsync-cvs


CVS update: rsync

2005-02-16 Thread Wayne Davison

Date:   Wed Feb 16 17:02:02 2005
Author: wayned

Update of /data/cvs/rsync
In directory dp.samba.org:/tmp/cvs-serv29688

Modified Files:
rsync.h 
Log Message:
Tweaked ITEM_MISSING_DATA.


Revisions:
rsync.h 1.247 = 1.248
http://www.samba.org/cgi-bin/cvsweb/rsync/rsync.h?r1=1.247r2=1.248
___
rsync-cvs mailing list
rsync-cvs@lists.samba.org
https://lists.samba.org/mailman/listinfo/rsync-cvs


CVS update: rsync

2005-02-16 Thread Wayne Davison

Date:   Wed Feb 16 17:02:05 2005
Author: wayned

Update of /data/cvs/rsync
In directory dp.samba.org:/tmp/cvs-serv29710

Modified Files:
main.c 
Log Message:
Moved the auto-setting of --verbose when --dry-run is specified into
options.c.


Revisions:
main.c  1.248 = 1.249
http://www.samba.org/cgi-bin/cvsweb/rsync/main.c?r1=1.248r2=1.249
___
rsync-cvs mailing list
rsync-cvs@lists.samba.org
https://lists.samba.org/mailman/listinfo/rsync-cvs


CVS update: rsync

2005-02-16 Thread Wayne Davison

Date:   Wed Feb 16 17:02:14 2005
Author: wayned

Update of /data/cvs/rsync
In directory dp.samba.org:/tmp/cvs-serv29766

Modified Files:
receiver.c 
Log Message:
- The itemized flags are now 2 bytes instead of 1.
- Always send/receive the itemized flags for protocols = 29.
- The output of the verbose log-the-transfer messages is always handled
  via log_recv() (when we're the client).


Revisions:
receiver.c  1.137 = 1.138
http://www.samba.org/cgi-bin/cvsweb/rsync/receiver.c?r1=1.137r2=1.138
___
rsync-cvs mailing list
rsync-cvs@lists.samba.org
https://lists.samba.org/mailman/listinfo/rsync-cvs


CVS update: rsync

2005-02-16 Thread Wayne Davison

Date:   Wed Feb 16 17:08:04 2005
Author: wayned

Update of /data/cvs/rsync
In directory dp.samba.org:/tmp/cvs-serv31236

Modified Files:
NEWS 
Log Message:
Mention the new flag-word for protocol 29.


Revisions:
NEWS1.247 = 1.248
http://www.samba.org/cgi-bin/cvsweb/rsync/NEWS?r1=1.247r2=1.248
___
rsync-cvs mailing list
rsync-cvs@lists.samba.org
https://lists.samba.org/mailman/listinfo/rsync-cvs


CVS update: rsync/patches

2005-02-16 Thread Wayne Davison

Date:   Wed Feb 16 17:09:33 2005
Author: wayned

Update of /data/cvs/rsync/patches
In directory dp.samba.org:/tmp/cvs-serv32111

Modified Files:
acls.diff 
Log Message:
Got rid of patch fuzz.


Revisions:
acls.diff   1.32 = 1.33

http://www.samba.org/cgi-bin/cvsweb/rsync/patches/acls.diff?r1=1.32r2=1.33
___
rsync-cvs mailing list
rsync-cvs@lists.samba.org
https://lists.samba.org/mailman/listinfo/rsync-cvs


CVS update: rsync

2005-02-16 Thread Wayne Davison

Date:   Wed Feb 16 20:12:20 2005
Author: wayned

Update of /data/cvs/rsync
In directory dp.samba.org:/tmp/cvs-serv18852

Modified Files:
rsyncd.conf.5 rsyncd.conf.yo 
Log Message:
More improvements for the description of the %i output.


Revisions:
rsyncd.conf.5   1.79 = 1.80
http://www.samba.org/cgi-bin/cvsweb/rsync/rsyncd.conf.5?r1=1.79r2=1.80
rsyncd.conf.yo  1.83 = 1.84
http://www.samba.org/cgi-bin/cvsweb/rsync/rsyncd.conf.yo?r1=1.83r2=1.84
___
rsync-cvs mailing list
rsync-cvs@lists.samba.org
https://lists.samba.org/mailman/listinfo/rsync-cvs