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.

CPanel Full backup changes file extensions

Discussion in 'General Discussion' started by peterr, Apr 14, 2007.

  1. peterr

    peterr Well-Known Member

    Joined:
    Sep 24, 2003
    Messages:
    75
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Build 10.9.0-RELEASE 9808
    cPanel Pro 1.0 (RC36)

    Ran a full backup recently, and it has changed the file extension on hundreds of files. I logged in via FTP to the website, and the filename extensions are definitely NOT what is in the full backup archive.

    Here is an example, a file called example.php is called example.php0000444 in the full backup archive.

    It looks like it has changed the file extension to include the file permissions. The MD5 checksum is validated correctly, so it seems the archive is exactly the same as te CPanel ful backup has created.

    I received the usual log from the backup (via email); all looks okay there.

    Any clues ?
     
  2. bmcpanel

    bmcpanel Well-Known Member

    Joined:
    Jun 1, 2002
    Messages:
    546
    Likes Received:
    0
    Trophy Points:
    16
    That's not good.
     
  3. peterr

    peterr Well-Known Member

    Joined:
    Sep 24, 2003
    Messages:
    75
    Likes Received:
    0
    Trophy Points:
    6
    No, it is not good. :(

    Also, the "Restore a home directory backup" option under Backups, has been adding paths with a backslash character, when that path in the archive has no filename in it.

    Example, in the archive, there maybe a path structure like:

    /public_html
    /public_html/pathname1
    /public_html/pathname1/pathname2
    /public_html/pathname1/pathname2/filename.php

    the 'restore' creates a path called
    /public_html/pathname1
    /public_html/pathname2

    and

    /public_html/pathname1/\

    Previously, it would just create the 'pathname1' and 'pathname2' paths, if they were not present, but now this additional path with just a "backslash"

    It's real fun getting rid of that bogus path also, can't just delete it, have to change the file permissions to 755, rename the path, and _then_ I can delete it. These "backslash" paths are all over the place, as I'm creating a number of new paths, a number of those have no files in them (yet the sub-paths do have).
     
  4. peterr

    peterr Well-Known Member

    Joined:
    Sep 24, 2003
    Messages:
    75
    Likes Received:
    0
    Trophy Points:
    6
    Thanks to my hosting provider, the problem is NOT with CPanel. He extracted the archive from the full backup, and the filename extensions are okay.

    So, .... the 'problem' is with the archiver I use (Powerarchiver), I will report it to them as a bug, somehow the software is reporting strange filename extensions.

    Does anyone know of a reliable/good archiver to run on Win XP, I'd prefer freeware, as I already have paid for Powerarchiver, but realise it will take them a while to fix it. I just want something for the interim period.

    Thanks !!
     
  5. peterr

    peterr Well-Known Member

    Joined:
    Sep 24, 2003
    Messages:
    75
    Likes Received:
    0
    Trophy Points:
    6
    This particular problem , described below, still exists.

     
  6. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,446
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Try winrar on that backup. http://www.rarlab.com/download.htm should work fine. Not free though but there is a trial period to test it and make sure it works for your needs. I've used it for years.
     
Loading...

Share This Page