Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 11 of 11
  1. #1
    cPanel Partner NOC cPanel Partner NOC Badge myusername's Avatar
    Join Date
    Mar 2003
    Location
    chown -R us.us *yourbase*
    Posts
    712
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default 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,
    Last edited by myusername; 06-05-2004 at 02:44 PM.
    GlowHost.com | Professional Managed Web Hosting Since 2002.
    >> Fully Managed Dedicated, Cloud VDS, Reseller & Semi-Dedicated
    >> Cloud Servers for Enterprise

  2. #2
    Member
    Join Date
    Nov 2002
    Posts
    1,781
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Is this what you are looking for ??

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

    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

  3. #3
    cPanel Partner NOC cPanel Partner NOC Badge myusername's Avatar
    Join Date
    Mar 2003
    Location
    chown -R us.us *yourbase*
    Posts
    712
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    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
    GlowHost.com | Professional Managed Web Hosting Since 2002.
    >> Fully Managed Dedicated, Cloud VDS, Reseller & Semi-Dedicated
    >> Cloud Servers for Enterprise

  4. #4
    Member
    Join Date
    Nov 2002
    Posts
    1,781
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Originally posted by myusername
    Yep thats the one. Thanks anand
    np


    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 ::

    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

  5. #5
    Member
    Join Date
    Feb 2002
    Posts
    45

    Default 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

  6. #6
    Member
    Join Date
    Oct 2003
    Posts
    327

    Default

    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.

  7. #7
    Member
    Join Date
    Feb 2002
    Posts
    45

    Default 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..?

  8. #8
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    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

  9. #9
    Member
    Join Date
    Feb 2002
    Posts
    45

    Default Thank you VERY much!

    Thanks again! Thats what i needed


  10. #10
    Member
    Join Date
    Feb 2002
    Posts
    45

    Default 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?

  11. #11
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    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

Similar Threads & Tags
Similar threads

  1. Backup Drive 100% Full
    By eleven11 in forum Data Protection
    Replies: 2
    Last Post: 05-07-2010, 07:15 PM
  2. Backup/Drive Full Problem
    By thomamon in forum Data Protection
    Replies: 1
    Last Post: 07-28-2009, 01:01 PM
  3. False Backup Drive Full Warning
    By jstavg in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 07-22-2009, 01:15 AM
  4. Backup Drive is full - need to delete old backups
    By constantine in forum Data Protection
    Replies: 2
    Last Post: 03-04-2009, 02:10 PM
  5. Full Backup Drive
    By web12 in forum cPanel and WHM Discussions
    Replies: 16
    Last Post: 08-31-2003, 10:37 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube