how to restore the dump file using shell scripting

Discussion in 'Programming/Scripts' started by inddeveloper, Sep 6, 2010.

  1. inddeveloper

    inddeveloper New Member

    I have created a script file to dump the application files using the following script

    Code
    =============
    #!/bin/bash
    #Full Day Backup Script
    #application folders backup

    now=$(date +"%d-%m-%Y")
    #use 1 instead of 0 which is incremental backup
    dump -0f $now /var/www/html/*
    =============

    using this we can successfully dumped the application files.

    Now i want to restore the dumpfile

    How can i restore using shell script?

    please help

    Thanx in advance
     
  2. Mark_NL

    Mark_NL Member

Share This Page