From 112aa8ea9ab5faf91b16eb3d7539f6beb0ab85a0 Mon Sep 17 00:00:00 2001 From: Syam.G.Krishnan Date: Tue, 16 Jun 2015 11:48:40 +0530 Subject: change on rsync command (incremental backup) +comment flag--- incremental-complete-backup/backup-tool.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/incremental-complete-backup/backup-tool.sh b/incremental-complete-backup/backup-tool.sh index 44d4eaa..880e92d 100644 --- a/incremental-complete-backup/backup-tool.sh +++ b/incremental-complete-backup/backup-tool.sh @@ -178,8 +178,8 @@ case "${result}" in exit elif [ "$mac_id" == "$(cat $rootfs_path/opt/.Hw_addr.txt)" ]; # if macids are matching then - echo "match found" - sudo rsync -latgrzpo --exclude='/mnt/*' --exclude='/tmp' --exclude='/dev' --exclude='/proc' --exclude='/sys' / $rootfs_path | + #echo "match found" + sudo rsync -latgrzpo --exclude='/mnt/*' --exclude='/tmp/*' --exclude='/dev/*' --exclude='/proc/*' --exclude='/sys/*' / $rootfs_path | zenity --progress --title "Creating backup" \ --width=600 --height=100 --no-cancel \ --text="Please be patient as it may take some time." --pulsate --auto-close @@ -196,7 +196,7 @@ case "${result}" in zenity --progress --title "Preparing SDcard" \ --width=600 --height=100 --no-cancel \ --text="Please wait..." --pulsate --auto-close - sudo rsync -lavtgrzpo --progress --exclude='/tmp/*' --exclude='/mnt/*' --exclude='/dev/*' --exclude='/proc/*' --exclude='/sys/*' / /mnt/rootfs/ | + sudo rsync -lavtgrzpo --exclude='/mnt/*' --exclude='/tmp/*' --exclude='/dev/*' --exclude='/proc/*' --exclude='/sys/*' / /mnt/rootfs/ | zenity --progress --title "Creating backup" \ --width=600 --height=100 --no-cancel \ --text="It may take some time.(approx 45min for 8GB)" --pulsate --auto-close -- cgit