BackupPC-users

Re: [BackupPC-users] BackupPC_deleteBackup.sh not working

2012-01-19 08:35:29
Subject: Re: [BackupPC-users] BackupPC_deleteBackup.sh not working
From: Estanislao López Morgan <estanux AT gmail DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Thu, 19 Jan 2012 10:33:36 -0300
I tried that but did not work. Thanks in anyway.

On Thu, Jan 19, 2012 at 3:51 AM, Matthias Meyer <matthias.meyer AT gmx DOT li> wrote:
Estanislao López Morgan wrote:

> Hi backupers, I am projecting a migration in my backup server file system,
> to a LVM structure in order to enlarge my actual and future disk capacity.
> For that pourpose, I have to delete some backups but I am having problems
> with script /BackupPC_deleteBackup.sh. When I execute it, this is the
> result:
>  ./BackupPC_deleteBackup.sh
> ./BackupPC_deleteBackup.sh: 42: declare: not found
> ./BackupPC_deleteBackup.sh: 43: declare: not found
> ./BackupPC_deleteBackup.sh: 44: declare: not found
> ./BackupPC_deleteBackup.sh: 46: Syntax error: "(" unexpected
>
> I have already installed bash and other scrips works properly... so the
> problem is with that script in particular.
>
> Someone knows why?
>
> Thanks in advance
>
> Regards
Probably BackupPC_deleteBackup.sh starts with a line "#!/bin/sh" and will us
/bin/sh as shell. I would believe /bin/sh is a softlink to /bin/dash.
Change this solftlink or run "bash BackupPC_deleteBackup.sh ..." instead.

br
Matthias
--
Don't Panic


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
<Prev in Thread] Current Thread [Next in Thread>