Incremental backup using DUMP Command

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

  1. inddeveloper

    inddeveloper New Member


    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
    #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

Share This Page