Current time: 11-27-2024, 02:54 AM Hello There, Guest! (LoginRegister)


Post Reply 
ispCP Backup fails...
Author Message
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #3
RE: ispCP Backup fails...
But it looks like a script Error:
Code:
/bin/rm: missing operand
Try `/bin/rm --help' for more information.
I found this in /var/www/ispcp/engine/backup/ispcp-backup-all:
Code:
sys_command("find $backup_dir/* -maxdepth 0 -type f -mtime +14 -print | xargs /bin/rm");
The only part which use "/bin/rm"

I have also a part like your in the cron:
Code:
@daily root find /etc/ispcp/*/backup/* -maxdepth 0 -type f -mtime +7 -print | egrep '.*\.[0-9]+$' | xargs /bin/rm

At this moment r891 is running...

Greez BeNe
10-29-2007 08:14 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
ispCP Backup fails... - BeNe - 10-29-2007, 07:39 PM
RE: ispCP Backup fails... - joximu - 10-29-2007, 08:01 PM
RE: ispCP Backup fails... - BeNe - 10-29-2007 08:14 PM
RE: ispCP Backup fails... - joximu - 10-29-2007, 08:32 PM
RE: ispCP Backup fails... - joximu - 10-29-2007, 08:35 PM
RE: ispCP Backup fails... - joximu - 10-29-2007, 08:47 PM
RE: ispCP Backup fails... - joximu - 10-29-2007, 08:51 PM
RE: ispCP Backup fails... - BeNe - 10-29-2007, 08:57 PM
RE: ispCP Backup fails... - joximu - 10-29-2007, 10:02 PM
RE: ispCP Backup fails... - BeNe - 10-29-2007, 10:20 PM
RE: ispCP Backup fails... - joximu - 10-29-2007, 10:28 PM
RE: ispCP Backup fails... - raphael - 11-01-2007, 07:32 AM
RE: ispCP Backup fails... - BeNe - 11-01-2007, 07:42 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)