The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

7000+ htm files in folder

Discussion in 'General Discussion' started by clbrack1, Mar 21, 2007.

  1. clbrack1

    clbrack1 Active Member

    Joined:
    Nov 3, 2006
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    A customer of mine has uploaded 7000+ htm files in the /home/username folder.

    I am in the middle of a server migration and the following conditions exist:

    1. backup using cPanel tools finishes but does not restore properly
    2. files cannot be deleted using rm as: Argument list too long
    3. cPanel copy utility reports invalid mdmsum

    Anyone know of a way to delete the 7000+ htm files?

    thanks,

    Chris
     
  2. easyhoster1

    easyhoster1 Well-Known Member

    Joined:
    Sep 25, 2003
    Messages:
    659
    Likes Received:
    0
    Trophy Points:
    16

    Why would you want to delete the customers files?

    1. You must have sufficent disk space to back up the users files. If the quota is set to 500 Megs, and only has 50 MB available then you need over 1000 MB available to do a cpanel backup, just up the quota for the user before you start a backup.

    2.The MD sum will be off, as the backup no longer matches because of the quota issue.
    You need to remove the backup tar file from /home and start again.
     
  3. clbrack1

    clbrack1 Active Member

    Joined:
    Nov 3, 2006
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    easyhoster1

    thanks for the hint on upping the quota, I am trying that now and it makes sense in this particular scenario as the quota for this site is just under the needed amount for a full backup.

    The customer doesn't know why the uploaded the files or what they were originally and they have been there for a couple of years.

    html files in the /home/user folder don't do much good anyway as they need to be served from /home/user/public_html.

    Again, thanks very much for the comments.

    Chris
     
Loading...

Share This Page