
BackupPC_deleteBackup.sh not working
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.li ([email]matthias.meyer < at > gmx.li[/email])> 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.net ([email]BackupPC-users < at > lists.sourceforge.net[/email])
List:
https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:
http://backuppc.wiki.sourceforge.net
Project:
http://backuppc.sourceforge.net/