1

My Online Backup Script

view story
linux-howto

http://ubuntuforums.org – Hello, I have problem at my online backup script for Ubuntu. I have added an echo to debug it. Code: huangyingw@laptop:~/bashrc$ cat tubak.sh #! /bin/bash UBAKEX=$HOME/bashrc/ubak_ex UBAKIN=$HOME/bashrc/ubak_in exclude_params=(); while read suf do   exclude_params+=( " --exclude=$suf" ) done < "$UBAKEX" include_params=(); while read suf do   include_params+=( " --include=$suf" ) done < "$UBAKIN" echo rsync -aHinv --delete-during "${exclude_params[@]}" "${include_params[@]}" / /media/volg (Hardware)