laurent22 / rsync-time-backup

Time Machine style backup with rsync.
3.36k stars 443 forks source link

Tool to achieve something similar to Time Machine UI #243

Open haemi opened 2 years ago

haemi commented 2 years ago

I really love the behaviour and power of rsync-time-backup... What I do is make a backup of a folder with plain text files that I work on all day long - a cron job with a 5-minute-interval is doing the backups so I can go back to a previous version if I messed up.

What I miss is a tool/script/... to achieve the Time Machine UI where I can go back and see only the differences

CleanShot 2022-02-04 at 08 02 32@2x

It would be great to have something where I get only the changes for a specific file, i.e. where the file is NOT a hard copy of the previous version... Command line would be good, some nice UI even better 🙂 Do any of you know such an instrument?

uglygus commented 2 years ago

I have wanted that forever too. I cobbled something together. It doesn't give a browsable tree but if you give it a file in a backup-tree, it can give you the name for every unique version and create a symlink to each. https://github.com/uglygus/rsync-time-browse

haemi commented 2 years ago

looks really great, thanks for that! I posted a question regarding the md5 option... thanks again!

calamarim commented 2 years ago

Is for sure my fault, but please help me .....

(base) @.***:~$ /home/marcoc/rsync-time-browse/tmbrowse.py -h File "/home/marcoc/rsync-time-browse/tmbrowse.py", line 26 while chunk := f.read(8192): ^ SyntaxError: invalid syntax

(base) @.:~$ /home/marcoc/rsync-time-backup/rsync_tmbackup.sh -h Usage: rsync_tmbackup.sh [OPTION]... @.:]SOURCE> @.***:]DESTINATION> [exclude-pattern-file]

Options -p, --port SSH port. ...

On ven, 2022-03-04 at 20:55 -0800, uglygus wrote:

I have wanted that forever too. I cobbled something together. It doesn't give a browsable tree but if you give it a file in a backup-tree, it can give you the name for every unique version and create a symlink to each — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you are subscribed to this thread.Message ID: @.***>

uglygus commented 2 years ago

@calamarim Probably best to open an issue on the rsync-time-browse repo. First question would be what is your OS and which version of python?