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

I'm sorry but what part of

Only level 0 dumps are allowed on a subdirectory

do you not understand?

I can only assume "$now" references a directory, of course.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.