sebastianfeldmann / phpbu

PHP Backup Utility - Creates and encrypts database and file backups, syncs your backups to other servers or cloud services and assists you monitor your backup process
https://phpbu.de
Other
1.29k stars 110 forks source link

[Question | Feature Request] incremental backup for rsync #276

Open bobemoe opened 3 years ago

bobemoe commented 3 years ago

docs mention incremental backup for tar but not rsync? is that correct? (i've not tried phpbb yet)

i've created a simple multi-host backup manager bash script, using rsync hard links to give browsable filesystem incremental snapshots "time machine?" but its not got a very nice interface or cron etc

I was wondering if phpbu does, or could do what I describe? or maybe I could port my bash script to php so we could implement?

https://duckduckgo.com/?q=rsync+hard+link+incremental

sebastianfeldmann commented 3 years ago

Hi,

in order to do incremental backups with rsync you have to take care of some symlink and folder managing besides the actual rsync execution. This surely is possible, but I would recommend to build a phpbu plugin to implement that kind of backup.

The scheduling part (cron) should never be handled within phpbu.

bobemoe commented 3 years ago

Thanks, thats good news, it sounds like plugins are the way to go :) I think I will give this a try.