LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   The Real Rsync | Increments & Versions (https://www.linuxquestions.org/questions/linux-software-2/the-real-rsync-%7C-increments-and-versions-4175587082/)

biosboy4 08-15-2016 07:25 AM

The Real Rsync | Increments & Versions
 
Hello,

I looove rsync, and I have made a few implementations using the incremental feature which is very simple. However, it appears that versioning (like VEEAM) is not so simple according to the information I've found, the below being the best source I've been able to sniff out:

https://www.howtoforge.com/backing-u...rsions-history

Is there an easier way to do this? This seems very cumbersome to me; it seems like versioning should be summed up in an argument or something. :scratch:

Edit: I almost forgot to say thanks!

IsaacKuo 08-21-2016 06:39 AM

I don't know, but I think it's obvious that rsync is a tool which wasn't designed with versioning in mind. Versioning is a hack that utilizes rsync.

A.Thyssen 09-19-2016 09:29 PM

Basically rsync is a tool, that many 'time machine' like systems use. As such you really need other programs that people have designed that uses rsync to generate 'versions'.

In summery rsync generates multiple versions (copies) of a filesystem that use hardlinks to share files that don't change.

The main drawback is that hardlinks not only share file data, but also time stamps, and file permission. As such 'access rights' do not get preserved. Also you may need some extra code to 'deduplicate' files and directories that were moved and renamed. Many rsync versioning system do not provide that, and yet can be critical when large directories get renamed (like directory of millions of photos, or a few videos).


Here are links I have to rsync file snapshot/versioning, techniques/programs, from my bookmarks...
http://www.ict.griffith.edu.au/antho...apshot_Backups


PS: my own personal rsync 'time machine' script is http://www.ict.griffith.edu.au/antho...e/#home_backup
And it uses a de-duplicating program. http://www.ict.griffith.edu.au/antho...ware/#linkdups

PPS: one idea I had was to use unison instead of rsync for incremental versioning.
Unison is bi-directional. so one machine creates a 'version', and another machine can update itself from that 'version'.
However I have not put in the time needed to properly develop it.


Anthony Thyssen ( System Programmer ) <A.Thyssen@griffith.edu.au>
--------------------------------------------------------------------------
Law of the Internet: If you can see it or hear it, you can copy it!
Some how... Some way... -- Anthony Thyssen
--------------------------------------------------------------------------
Anthony's Castle http://www.ict.griffith.edu.au/anthony/


All times are GMT -5. The time now is 03:49 PM.