diff options
author | Syam.G.Krishnan | 2015-06-16 11:48:40 +0530 |
---|---|---|
committer | Syam.G.Krishnan | 2015-06-16 11:48:40 +0530 |
commit | 112aa8ea9ab5faf91b16eb3d7539f6beb0ab85a0 (patch) | |
tree | a1acea42fc7a055a5b8461218dd3a115e9013504 /incremental-complete-backup/backup-tool.sh | |
parent | a12b7c2291e56820b2d9210b2b38803d468ee92f (diff) | |
download | FOSSEE-netbook-tools-112aa8ea9ab5faf91b16eb3d7539f6beb0ab85a0.tar.gz FOSSEE-netbook-tools-112aa8ea9ab5faf91b16eb3d7539f6beb0ab85a0.tar.bz2 FOSSEE-netbook-tools-112aa8ea9ab5faf91b16eb3d7539f6beb0ab85a0.zip |
change on rsync command (incremental backup)
+comment flag
Diffstat (limited to 'incremental-complete-backup/backup-tool.sh')
-rw-r--r-- | incremental-complete-backup/backup-tool.sh | 6 |
1 files 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 |