| Newsgroups |
gmane.comp.sysutils.backup.faubackup.cvs |
| Message-ID |
<[email protected]> |
Update of /cvsroot/faubackup/faubackup
In directory sc8-pr-cvs1:/tmp/cvs-serv10955
Modified Files:
TODO
Log Message:
update
Index: TODO
===================================================================
RCS file: /cvsroot/faubackup/faubackup/TODO,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** TODO 26 Feb 2003 19:00:14 -0000 1.3
--- TODO 15 Oct 2003 12:08:36 -0000 1.4
***************
*** 21,25 ****
faubackup-find
-->
! faubackup-???
<--
faubackup-gather
--- 21,25 ----
faubackup-find
-->
! faubackup-gethash
<--
faubackup-gather
***************
*** 34,36 ****
--- 34,73 ----
have to call different programs, can't use ssh-authorized_keys-commands
just call fauback --remote or something and read standard-input for command?
+
+
+
+
+
+ Hash functions
+ --------------
+
+ for each inode, store its md5sum/sha1/whatever
+ faubackup-gethash returns that hash
+ faubackup-gather first calculates the hash of every file that is to be backed
+ if it's identical, it sends a 'no-update' command to faubackup-scatter
+
+ before: one read on source-disk, one read and one write on target disk
+ after: one or two reads on source-disk, zero or one write on target disk
+ (depending on weather we need the update or not)
+
+
+ use the hash instead of the inode number to identify content?
+ this would save some space.
+ yes, but it wouldn't be a correct backup any more
+ i.e. the backup would link identical files that are not hard-linked
+ in the original. this may introduce problems.
+
+ so, we still need the inode number, hash can only be used to speed up the backup
+
+
+
+
+ use rsync?
+ ----------
+
+ this would be even better than the hash over the complete file, as
+ we'd only have to transfer the changed part of the file
+
+ could work with --compare-dest and --link-dest if we use the inode link
+ as destination, and manuall link it to the real name later
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php