#1 (permalink)  
Old 06-05-2004, 05:23 AM
myusername's Avatar
Registered User
 
Join Date: Mar 2003
Location: Smokin!
Posts: 651
myusername is on a distinguished road
Backup drive getting full

I tried my best to seed this thread so others searching can pull up relevant results.

Was it cpanelplus or cpanel scripts, cpanelhelp, cpanelsomething......

I saw a script about 2 years back that cross-read actual active users to past users.

When the backup partition gets full, you have to remove old sites, or use a removal script.

The goal of the script was to remove old backups for sites that were, at one time, customers of your firm.

I have /backup getting full. I need to remove tar files that are out of date. I suppose I can go in and remove every last modified, but would like to see the script that does that by itself.

Anyone know what thread that is, or the poster?

keywords:

backup, backup clean, backup removal, /backup, backup drive, backup script, backup full, mount,
__________________
chown -R us.us *yourbase*

Last edited by myusername; 06-05-2004 at 02:44 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-05-2004, 02:22 PM
Registered User
 
Join Date: Nov 2002
Posts: 1,755
anand is on a distinguished road
Is this what you are looking for ??

http://www.cplicensing.net/files/scripts/cleanbackups
__________________
:: Anand ::
Authorised cpanel Partner NOC

ssh root@
who the hell is root ???

Cpanelappz Support Forums are up now. Register Today
http://forums.cpanelappz.com

WHM/cPanel API : http://whmapi.cpanelappz.com
Cpanel Login Script : www.cpanelappz.com/cpanel-login-script.htm
Exiscan+Clam+Exim Auto Installer : www.cpanelappz.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 06-05-2004, 02:47 PM
myusername's Avatar
Registered User
 
Join Date: Mar 2003
Location: Smokin!
Posts: 651
myusername is on a distinguished road
Yep thats the one. Thanks anand

in case your link breaks in the future for others the link likely will be here. the script is called cleanbackups.

http://www.cplicensing.net/scripts.php
__________________
chown -R us.us *yourbase*
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 06-05-2004, 03:20 PM
Registered User
 
Join Date: Nov 2002
Posts: 1,755
anand is on a distinguished road
Quote:
Originally posted by myusername
Yep thats the one. Thanks anand
np

Quote:

in case your link breaks in the future for others the link likely will be here. the script is called cleanbackups.

http://www.cplicensing.net/scripts.php
well i thought might as well give you the direct link to the script, but this is better anyways
__________________
:: Anand ::
Authorised cpanel Partner NOC

ssh root@
who the hell is root ???

Cpanelappz Support Forums are up now. Register Today
http://forums.cpanelappz.com

WHM/cPanel API : http://whmapi.cpanelappz.com
Cpanel Login Script : www.cpanelappz.com/cpanel-login-script.htm
Exiscan+Clam+Exim Auto Installer : www.cpanelappz.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 10-07-2004, 01:27 PM
Registered User
 
Join Date: Feb 2002
Posts: 45
heymichelle
How to use the script

Quote:
Originally Posted by anand
Is this what you are looking for ??

http://www.cplicensing.net/files/scripts/cleanbackups

How exactly would I install this script?

I am a newbie at this, and no instructions was supplied with this script.

thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 10-07-2004, 01:48 PM
Registered User
 
Join Date: Oct 2003
Posts: 327
Aric1 is on a distinguished road
Just wget the file from your server when logged in as root, chown the script to root, chmod the file to 0700 and run it (either perl scriptname or ./scriptname from within the same directory or /path/to/script/scriptname outside it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 10-07-2004, 02:11 PM
Registered User
 
Join Date: Feb 2002
Posts: 45
heymichelle
Okay remember I am a newbie

Quote:
Originally Posted by Aric1
Just wget the file from your server when logged in as root, chown the script to root, chmod the file to 0700 and run it (either perl scriptname or ./scriptname from within the same directory or /path/to/script/scriptname outside it.

I go into root by using SSH, than exactly what do i do?

whats the commands, etc..?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 10-07-2004, 02:24 PM
PWSowner's Avatar
Registered User
 
Join Date: Nov 2001
Location: ON, Canada
Posts: 2,994
PWSowner is on a distinguished road
Code:
wget http://www.cplicensing.net/files/scripts/cleanbackups
chown root cleanbackups
chmod 0700 cleanbackups
perl cleanbackups
The 2nd line shouldn't be needed if you're logged in as root because it would automatically be owned by root, but it doesn't hurt to make sure.
__________________
Mike
WHM and cPanel Scripts (join our "Scripts Club")
D/A Photography
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 10-07-2004, 02:34 PM
Registered User
 
Join Date: Feb 2002
Posts: 45
heymichelle
Thank you VERY much!

Thanks again! Thats what i needed

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 10-08-2004, 10:49 AM
Registered User
 
Join Date: Feb 2002
Posts: 45
heymichelle
another question

Quote:
Originally Posted by squirrel
Code:
wget http://www.cplicensing.net/files/scripts/cleanbackups
chown root cleanbackups
chmod 0700 cleanbackups
perl cleanbackups
The 2nd line shouldn't be needed if you're logged in as root because it would automatically be owned by root, but it doesn't hurt to make sure.

when I do this: perl cleanbackups - it displays this: Detected Old Backup... /backup/cpbackup/weekly/abdesign.tar.gz

Do I need to use another command in order to delete those old backups?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 10-08-2004, 10:58 AM
PWSowner's Avatar
Registered User
 
Join Date: Nov 2001
Location: ON, Canada
Posts: 2,994
PWSowner is on a distinguished road
Not sure. I haven't used this script myself, but I'll take a look later to find out and let you know if nobody else has. I'm just getting ready to go out for a bit now, but will look at it when I get back.
__________________
Mike
WHM and cPanel Scripts (join our "Scripts Club")
D/A Photography
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:36 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© cPanel Inc