I needed to leave my backup in a differential like manner,
each timestamp directory only have differences between last backup, only lastest one will have entire backup, previous ones will not.
I writed this, so far it works very well, I had a folder on a Server that users tend to use to see older versions of excel sheets, so with this they only see modifications made and not repetitions of each folder.
I was thinking that this can be undone easily using a for-loop, and by each directory rsync'ing creating hardlinks for non-existing files starting from latest directory one until oldest one... Hope someone have time and want to do it.
I needed to leave my backup in a differential like manner, each timestamp directory only have differences between last backup, only lastest one will have entire backup, previous ones will not.
I writed this, so far it works very well, I had a folder on a Server that users tend to use to see older versions of excel sheets, so with this they only see modifications made and not repetitions of each folder.
https://gist.github.com/braian87b/f77a696852324ebe7826e56d671beac5
I was thinking that this can be undone easily using a for-loop, and by each directory rsync'ing creating hardlinks for non-existing files starting from latest directory one until oldest one... Hope someone have time and want to do it.
on the Server users can see something like this:
instead of