Hello Guest, if you are reading this it means you have not registered yet. Please take a second, Click here to register, and in a few simple steps you will be able to enjoy our community and use our OpenViX support section.
Results 1 to 1 of 1

Thread: Backup Clarke Tech ET-9000 Script with .sh

  1. #1

    Title
    Senior Member
    Join Date
    Oct 2010
    Location
    Berkshire
    Posts
    9,697
    Thanks
    1,039
    Thanked 4,385 Times in 2,257 Posts

    Backup Clarke Tech ET-9000 Script with .sh

    Code:
    TARGET="XX"
    
    build-usb-image.sh /media/hdd | tee /tmp/NFI-Backup.log
    wait 3
    if [ -f "/media/usb/etbackupstick" -o -f "/media/usb/etbackupstick.txt" ]
    then
        TARGET="/media/usb"
    elif [ -f "/media/sdb1/etbackupstick" -o -f "/media/sdb1/etbackupstick.txt" ]
    then
        TARGET = "/media/sdb1"
    elif [ -f "/media/sdc1/etbackupstick" -o -f "/media/sdc1/etbackupstick.txt" ]
    then
        TARGET = "/media/sdc1"
    elif [ -f "/media/sdd1/etbackupstick" -o -f "/media/sdd1/etbackupstick.txt" ]
    then
        TARGET = "/media/sdd1"
    fi
    if [ $TARGET = "XX" ]
    then
        echo
    else
        echo please wait...
        cp -r /media/hdd/et9000/ $TARGET
        sleep 3
        umount $TARGET
        sleep 5
        echo Backup finished and copied to your USB-stick
        echo 
        echo       REMOVE YOUR USB STICK NOW !!!
    fi
    Attached Files Attached Files
    PM HELP WILL BE IGNORED PLEASE POST HERE IN FORUM AS IT BENEFITS EVERYONE
    NO CARD SHARING TALK WILL BE TOLERATED, LAN OR WAN! IN OPEN FORUM OR PM


    IF THE POSTS HELP PLEASE CLICK THANKS OR ADD TO REP ↓

  2. The Following 3 Users Say Thank You to silverfox0786 For This Useful Post:

    bassethound (25-12-10),Mister Papillon (28-12-10),Sicilian (25-12-10)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.