Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Programming/Scripts

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 6th September 2010, 09:39
inddeveloper inddeveloper is offline
Junior Member
 
Join Date: Aug 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default Incremental backup using DUMP Command

Hi,

I have used Dump Command to dump the application files. For Full backup the level 0 is working file.

For incremental backup I used the level 1 or 2 it is getting the error as

DUMP: Only level 0 dumps are allowed on a subdirectory
DUMP: The ENTIRE dump is aborted.

The code I used
===============================
#!/bin/bash
#Full Day Backup Script
#application folders backup
#test is the username

now=$(date +"%d-%m-%Y")

#use 1 instead of 0 which is incremental backup
dump -2f /var/www/html/prashant/$now /var/www/html/rightstracker/*
-================================

Please check and let me know where I went wrong


Thanx in advance
Reply With Quote
Sponsored Links
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix queue problem? murunix Server Operation 7 2nd May 2011 01:55
proFTPd passive mode problems bisbell Server Operation 8 6th August 2008 21:12
Proftpd LIST permission Problem HugofromBOSS HOWTO-Related Questions 2 23rd May 2008 13:36
i am having some problem ? cobro Installation/Configuration 20 30th April 2008 16:26
help on /etc/rc0.d/K20dnsctl -> ../init.d/dnsctl zimele General 13 23rd August 2006 16:06


All times are GMT +2. The time now is 23:54.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.