Bloody hell. Stupid is as stupid does. Forgot to copy new init script over. <Grumbling begins here>

On 2/7/2017 11:12 AM, Craig Barratt wrote:
mph,

Yes, that appears to be an old init.d script. And, yes, IncrLevel is no longer present in 4.0.0.

None of the recent 3.x.x or 4.0.0 init.d scripts include that code.

Craig

On Tue, Feb 7, 2017 at 10:57 AM, Michael Huntley <[email protected] <mailto:[email protected]>> wrote:

    I noticed that BackupPC would not start and gave a very cryptic
    message:

    BackupPC cannot be started because important parameters are
    missing from
    config.pl <http://config.pl>.
    If you just upgraded BackupPC, please update
    /etc/backuppc/config.pl <http://config.pl>.

    I noticed in the init script there is a grep for IncrLevel. If it's
    missing BackupPC will not start.  Since v4 is using reverse deltas
    there
    isn't a need for this, is there? (The setting is missing from v4
    documentation.)

    Is this a hold-over from v2 to v3 upgrade?

    For expediency I removed the check from my init script.

    check_old_config()
    {
         BAD=0
         CONF=/etc/backuppc/config.pl <http://config.pl>

         grep -q IncrLevel $CONF || BAD=1

         if [ "$BAD" = "1" ]; then
             echo "BackupPC cannot be started because important parameters
    are missing from config.pl <http://config.pl>."
             echo "If you just upgraded BackupPC, please update
    /etc/backuppc/config.pl <http://config.pl>."
             exit 1
         fi
    }


    Cheers!

    mph


    
------------------------------------------------------------------------------
    Check out the vibrant tech community on one of the world's most
    engaging tech sites, SlashDot.org! http://sdm.link/slashdot
    _______________________________________________
    BackupPC-users mailing list
    [email protected]
    <mailto:[email protected]>
    List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
    <https://lists.sourceforge.net/lists/listinfo/backuppc-users>
    Wiki: http://backuppc.wiki.sourceforge.net
    <http://backuppc.wiki.sourceforge.net>
    Project: http://backuppc.sourceforge.net/
    <http://backuppc.sourceforge.net/>




------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot


_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to