Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Feb 2003
    Posts
    11

    Default Is backup drive sinchronized with existing accounts?

    Hello:

    Does anyone know if there is a way to sinchronize the current existing accounts with backup drive?

    I noticed that once accounts are terminated, in the backup drive the accounts remain there occupying lot of space.

    CMO

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jun 2003
    Posts
    647

    Default

    There's a script at http://www.cplicensing.net/scripts.php that does this.

    Name: cleanbackups

    Version: 0.1

    This script cleans up old backups. If some of you have noticed cpanel leaves backups of old accounts that have been terminated. This can comsume valuble space. This script runs thru /var/cpanel/users and compares those users with the cpanel backups. If it finds a backup that does not have a user in /var/cpanel/users it takes whatever action you told it to do (Report, or Delete). This script can be run from cron, this script also checks for cpbackup and sleeps until cpbackup stops.

  3. #3
    Member
    Join Date
    Feb 2003
    Posts
    11

    Default

    Thank you snickn for the information.

    CMO

  4. #4
    Member
    Join Date
    Feb 2003
    Posts
    11

    Default

    snickn, I am not sure where I should upload the script and if I should change the extension from .txt to .pl

    Please advise.

    CMO

  5. #5
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jun 2003
    Posts
    647

    Default

    Well,

    I believe it's originally without an extension, if you downloaded it to windows first, it likely received the *.txt.

    You should either remove the extension altogether, or you should change it to *.pl

    After that, chmod a+x the file, and than execute it ./clean_backups

Similar Threads & Tags
Similar threads

  1. how to remove multiple backup files from backup drive
    By crazyaboutlinux in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-20-2010, 01:42 AM
  2. backup refuses to run due to quota on backup drive
    By panayot in forum cPanel and WHM Discussions
    Replies: 17
    Last Post: 01-30-2008, 09:19 AM
  3. How to Mount an Existing Hard Drive in WHM?
    By quazi in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 08-26-2007, 11:48 PM
  4. Mount Existing Hard Drive
    By quazi in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 08-14-2007, 08:43 PM
  5. Hard Drive backup AND Remote FTP Backup
    By andy7t in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 09-13-2006, 09:43 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube