View Single Post
  #1  
Old 6th September 2010, 07:55
inddeveloper inddeveloper is offline
Junior Member
 
Join Date: Aug 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to restore the dump file using shell scripting

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
Reply With Quote
Sponsored Links