Hi geo_c,
Pupsave Backup has internal logic to make a backup via tar, cp and/or rsync, depending on what files/folders are to be backed up. I don't think I can give a definitive answer to your question, since backing up methods are based on individual preferences/environments. But here is some insight.
Code: Select all
time cp test1 test2
real 0m4.073s
echo hi >> test2
time rsync -av test1 test2
real 0m22.034s
Unnecessary Geeky Stuff Below
Why is rsync slower? Well get comfortable for a strange analogy. Let's pretend we are a librarian that just received many sets of encyclopedia books. To save shipping costs, we want to send a satelite library only the encyclopedia books that are different from theirs. For each of our books, let's count how many times the word "puppy" appears.
Code: Select all
Book A | 12 times
Book B | 14 times
Book C | 10 times
Book D | 1700 times
Book E | 20 times
Now let's call our satellite library and ask them to do the same with their books. They tell your there results over the phone, so you can do a comparison. Theirs are:
Code: Select all
Book A | 12 times
Book B | 14 times
Book C | 10 times
Book D | 50 times
Book E | 20 times
What's this? All of their books reference the word puppy the same amount, except book D. So we assume that book D is the only one changed. We will only send book D to the other library.
What about local copies?
OK, but what if in your library you have a public shelf of encyclopedia books that look the same to the ones your just received. To find which local books are different, we would also have to read through all of the public shelf books, finding the wor "puppy". Then we could determine which books are different on the public shelf to replace them. Instead of reading through each book, it would be much faster to just replace all of the books on the public shelf.
Conclusion For Local File Backups
If you copy files locally, you read the file once and write the file once
If you rsync, you read the source file, read the destination file, copy the parts that are different and write those different parts
Side Note
If you want to know how some backups, can be almost instantaneously, then you can research snap2, DRBD, COW, etc.