LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-15-2016, 06:25 AM   #1
biosboy4
Member
 
Registered: Aug 2015
Distribution: *DEB, Centos, NXOS
Posts: 242

Rep: Reputation: 38
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.

Edit: I almost forgot to say thanks!

Last edited by biosboy4; 08-15-2016 at 07:25 AM.
 
Old 08-21-2016, 05:39 AM   #2
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,398
Blog Entries: 8

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
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.
 
Old 09-19-2016, 08:29 PM   #3
A.Thyssen
Member
 
Registered: May 2006
Location: Brisbane, Australia
Distribution: linux
Posts: 157

Rep: Reputation: 44
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/

Last edited by A.Thyssen; 09-19-2016 at 08:40 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Equivalent to --remove-source-files for rsync in older versions of rsync anon091 Linux - Server 7 08-11-2016 10:30 AM
Sda1 partition shows twice its real size (after using rsync /* /mnt/sdb1) Frank64 Linux - General 6 11-04-2011 03:08 AM
real time lLinux versions and pthreads high frequency programming follini Linux - Server 2 08-03-2010 11:10 AM
LXer: If Dreams Were Real: Convergence of Distro and Kernel Versions LXer Syndicated Linux News 0 03-17-2010 12:20 PM
rsync between differenr versions of linux varinderakash Linux - Server 2 02-20-2009 05:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration