Results 1 to 10 of 13

Thread: Self-Contained Backup for Persistent-Store

Hybrid View

  1. #1
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    Here's the stanza beginning at line 734 of the init of minirt.gz
    ...with two added lines defining a new cheatcode "restore":

    # Check for updates on-disk, install them if necessary. ############## line 734
    if checkbootparam "restore" then ####################### first added line
    ls /mnt-system/KNOPPIX/update*.zip /mnt-system/KNOPPIX/update*.tar.gz\
    /mnt-system/KNOPPIX/update*.taz 2>/dev/null | while read update; do
    if [ -r "$update" ]; then
    message -e "\r${CRE}${GREEN}${UPDATING} ${YELLOW}$update${NORMAL}"
    case "$update" in
    *.zip) ( cd / ; unzip -o "$update" >/dev/null 2>&1 ) ;;
    *.tar.gz|*.taz) ( cd / ; tar -zxf "$update" >/dev/null 2>&1 ) ;;
    esac
    fi
    done
    fi ########################################## second added line

    With this modification to initrd.gz, we could change the backup routine
    to save update.tar.gz to /mnt-system/KNOPPIX/, and leave it there.
    It would be activated only by the cheatcode "restore" and the update
    could remain in place and not require moving it around.
    Last edited by utu; 06-25-2011 at 08:48 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Cisco UCS 5108 Blade Server Chassis Enclosure N20-C6508 4x PSU 8x Fans 2x Fabric picture

Cisco UCS 5108 Blade Server Chassis Enclosure N20-C6508 4x PSU 8x Fans 2x Fabric

$139.99



HP ProLiant BL460c Gen9 Blade 2x E5-2660v4 2.0GHz =28 Cores 128GB P246 650FLB picture

HP ProLiant BL460c Gen9 Blade 2x E5-2660v4 2.0GHz =28 Cores 128GB P246 650FLB

$284.00



DELL PowerEdge M630 Blade 2x E5-2683v3 2.0GHz =28 Cores 128GB H330 2x10Gb X520 picture

DELL PowerEdge M630 Blade 2x E5-2683v3 2.0GHz =28 Cores 128GB H330 2x10Gb X520

$288.00



HP ProLiant BL460c Gen9 Blade 2x E5-2690v3 2.6GHz =24 Cores 128GB P246 650FLB picture

HP ProLiant BL460c Gen9 Blade 2x E5-2690v3 2.6GHz =24 Cores 128GB P246 650FLB

$282.00



DELL POWEREDGE FC640 Blade Server  14th Generation For Dell FX2S 2 x CPU NO RAM picture

DELL POWEREDGE FC640 Blade Server 14th Generation For Dell FX2S 2 x CPU NO RAM

$249.99



HP Proliant BL460C Gen8 Blade Server 2x 8C E5-2690 192GB Ram picture

HP Proliant BL460C Gen8 Blade Server 2x 8C E5-2690 192GB Ram

$58.80



CISCO B200 M4 2x E5 2695V3  24x 16gb Cisco 15 102216 01   384GB 2x Caddy No Hdd picture

CISCO B200 M4 2x E5 2695V3 24x 16gb Cisco 15 102216 01 384GB 2x Caddy No Hdd

$350.00



Google Search Appliance - Dell PowerEdge R710 x2 Xeon X5690 192GB Memory 6TB HDD picture

Google Search Appliance - Dell PowerEdge R710 x2 Xeon X5690 192GB Memory 6TB HDD

$529.99



DELL PowerEdge M630 Blade 2x E5-2697v3 2.6GHz =28 Cores 128GB H330 2x10Gb X520 picture

DELL PowerEdge M630 Blade 2x E5-2697v3 2.6GHz =28 Cores 128GB H330 2x10Gb X520

$298.00



DELL PowerEdge M630 Blade 2x E5-2650v3 2.3GHz =20 Cores 128GB H330 2x10Gb X520 picture

DELL PowerEdge M630 Blade 2x E5-2650v3 2.3GHz =20 Cores 128GB H330 2x10Gb X520

$272.00