ADD post processing for RSYNC Task

Status
Not open for further replies.

fglohr

Cadet
Joined
Nov 15, 2013
Messages
2
It shall be possible to add pre/post processing when creating RSYNC task. I want to make a incremental backup using remore RSYNC-server. In need to do following before starting RSYNC

mv backup.3 backup.tmp -> pre processing task before rsync
mv backup.2 backup.3 -> pre processing task before rsync
mv backup.1 backup.2 -> pre processing task before rsync
mv backup.0 backup.1 -> pre processing task before rsync
mv backup.tmp backup.0 -> pre processing task before rsync
cp -al backup.1/. backup.0 -> pre processing task before rsync
rsync -a --delete source_directory/ backup.0/ -> normal Rsync Task
 

Dusan

Guru
Joined
Jan 29, 2013
Messages
1,165
Disable the rsync task in GUI. Create a script with your commands (including rsync) and use cron to run it at desired intervals.
 
Status
Not open for further replies.
Top