Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 13 of 13
  1. #1
    Member
    Join Date
    Dec 2009
    Posts
    27

    Question [case 45011,45028] 11.28 full backup is not a full backup: excludes files named core

    Hi,

    When I manually run full backup via cPanel or automatically via daily cron backup, some files/folders are not copied to the backup folder/archive.

    ~~~~~~~~~~~~~~~~~
    Skipping public_html/g2data/cache/module/core
    Skipping public_html/modules/core
    Skipping public_html/app/code/core
    Skipping public_html/app/design/frontend/default/mvz/template/core
    Skipping public_html/app/design/frontend/default/default/template/core
    Skipping public_html/plugins/editors/ckeditor/ckfinder/core
    ~~~~~~~~~~~~~~~~~

    So, most web sites will not work after I do a full backup restore or move&restore full backup on the another server.

    Where I can setup server wide for all accounts to not skip folders with name "core"?


    Regards,

  2. #2
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Lightbulb re: [case 45011,45028] 11.28 full backup is not a full backup: excludes files named core

    Quote Originally Posted by MironJ View Post
    When I manually run full backup via cPanel or automatically via daily cron backup, some files/folders are not copied to the backup folder/archive.

    ~~~~~~~~~~~~~~~~~
    Skipping public_html/g2data/cache/module/core
    Skipping public_html/modules/core
    Skipping public_html/app/code/core
    Skipping public_html/app/design/frontend/default/mvz/template/core
    Skipping public_html/app/design/frontend/default/default/template/core
    Skipping public_html/plugins/editors/ckeditor/ckfinder/core
    ~~~~~~~~~~~~~~~~~

    So, most web sites will not work after I do a full backup restore or move&restore full backup on the another server.

    Where I can setup server wide for all accounts to not skip folders with name "core"?
    Is "core" the entire name of each directory or file being skipped, or are there any other letters, numbers, or other characters in the names?

    Check the contents of "/etc/cpbackup-exclude.conf":
    Code:
    # cat /etc/cpbackup-exclude.conf
    Look for a single entry containing the following:
    Code:
    */core
    If you see a line containing only "*/core" try removing only that entry, then generate a fresh backup to verify the results. You may, optionally, force cpbackup to run using the following command; this should update your daily incremental backups:
    Code:
    # /scripts/cpbackup --force
    The "*/core" entry exists for backwards compatibility with older Linux distributions using Kernel version 2.4 and older, where the default name of a core (memory) dump file is just "core" without an appended process ID (PID).
    Last edited by cPanelDon; 11-25-2010 at 02:41 PM. Reason: Clarification

  3. #3
    Member
    Join Date
    Dec 2009
    Posts
    27

    Default re: [case 45011,45028] 11.28 full backup is not a full backup: excludes files named core

    Quote Originally Posted by cPanelDon View Post
    Is "core" the entire name of each directory or file being skipped, or are there any other letters, numbers, or other characters in the names?
    It's just a directory name, without any other letters, numbers or any other characters.
    Many new Joomla components and modules are using directory name "core".

    Quote Originally Posted by cPanelDon View Post
    Check the contents of "/etc/cpbackup-exclude.conf":
    Code:
    # cat /etc/cpbackup-exclude.conf
    Look for a single entry containing the following:
    Code:
    */core
    If you see a line containing only "*/core" try removing only that entry, then generate a fresh backup to verify the results.
    Done that, I will wait for the next backup run.
    Will leave more info tommorow after i see a backup log.

  4. #4
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,597

    Default re: [case 45011,45028] 11.28 full backup is not a full backup: excludes files named core

    We are discussing the potential removal of this default exclude in case 45011.

    Thank you.
    -Nick
    cPanel Inc.

    Need support? Submit a request here. Complimentary support is available to all license holders regardless of where you purchased your license.
    Need a complimentary support account? Create one here.

  5. #5
    Member
    Join Date
    Dec 2009
    Posts
    27

    Default re: [case 45011,45028] 11.28 full backup is not a full backup: excludes files named core

    Hi,

    Just to confirm that after removing "*/core" entry from the file "/etc/cpbackup-exclude.conf" backup archive is finally full.

    Thanks,
    Miron

  6. #6
    Member
    Join Date
    Dec 2002
    Posts
    240

    Default re: [case 45011,45028] 11.28 full backup is not a full backup: excludes files named core

    Quote Originally Posted by cpanelnick View Post
    We are discussing the potential removal of this default exclude in case 45011.

    Thank you.
    We hope this will be removed as looking at the code it seems silly:


    Code:
    */core
    */core.[0-9]
    */core.[0-9]*
    */core.[0-9][0-9]

    I assume it's attempting to deal with core dumps. Considering it would be core.[0-9] for a dump doing it for literally files and folders named "core" seems lazy.

  7. #7
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,788
    cPanel/Enkompass Access Level

    Root Administrator

    Default re: [case 45011,45028] 11.28 full backup is not a full backup: excludes files named core

    Quote Originally Posted by VeZoZ View Post
    We hope this will be removed as looking at the code it seems silly:


    Code:
    */core
    */core.[0-9]
    */core.[0-9]*
    */core.[0-9][0-9]

    I assume it's attempting to deal with core dumps. Considering it would be core.[0-9] for a dump doing it for literally files and folders named "core" seems lazy.
    Some systems name(d) their core dumps core.
    Kenneth
    Product Manager
    cPanel, Inc.

  8. #8
    Member
    Join Date
    Dec 2002
    Posts
    240

    Default re: [case 45011,45028] 11.28 full backup is not a full backup: excludes files named core

    Quote Originally Posted by cpanelkenneth View Post
    Some systems name(d) their core dumps core.

    My mistake forgot about 2.4 kernels haven't ran those in ages.

  9. #9
    cPanel Partner NOC cPanel Partner NOC Badge txspaderz's Avatar
    Join Date
    Jun 2008
    Location
    Houston
    Posts
    33
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default re: [case 45011,45028] 11.28 full backup is not a full backup: excludes files named core

    If this is for core dumps only, I suggest fixing the regex.

    Use this, or something like it:

    Code:
    core\.?[0-9]*$
    I use this daily, and I have yet to have it match something that is NOT a core dump.

  10. #10
    Member
    Join Date
    Jul 2009
    Posts
    28

    Default re: [case 45011,45028] 11.28 full backup is not a full backup: excludes files named core

    I can confirm that cpbackup's default config does exclude any directory named 'core'.

    IP.Board forum software has a directory of that name under it's ./admin/applications/ directory.

    Fortunately, there are no files in that directory that are ever changed, so if you simply upload the contents of that directory from the software's ZIP file (of the same version) you'll get back on line.

    I've removed the line, referenced above, from my /etc/cpbackup-exclude.conf file, and will check the backups after they next run.

  11. #11
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,788
    cPanel/Enkompass Access Level

    Root Administrator

    Default re: [case 45011,45028] 11.28 full backup is not a full backup: excludes files named core

    Quote Originally Posted by VeZoZ View Post
    My mistake forgot about 2.4 kernels haven't ran those in ages.
    It's also FreeBSD, at least according to this:

    Compiling with cc.

    heh. Looks like the handbook is wrong: http://www.freebsd.org/cgi/man.cgi?q...SE&format=html
    Last edited by cpanelkenneth; 12-02-2010 at 07:40 AM. Reason: correction.
    Kenneth
    Product Manager
    cPanel, Inc.

  12. #12
    Member
    Join Date
    Jul 2009
    Posts
    28

    Default re: [case 45011,45028] 11.28 full backup is not a full backup: excludes files named core

    Just to followup.....

    Removing or commenting out that line resolved the issue.

  13. #13
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: [case 45011,45028] 11.28 full backup is not a full backup: excludes files named c

    Both Cases 45011 and 45028 are addressed in 11.28.56. To see if your update tier is yet at this version (or later), visit Downloads - cPanel Inc.

Similar Threads & Tags
Similar threads

  1. Filed with Developers Indicate success or failure of cPanel backup in subject line [Case 49067]
    By sneader in forum Feature Requests for cPanel/WHM
    Replies: 6
    Last Post: 09-21-2011, 10:10 AM
  2. Full Backup results in corrupt backup file.
    By NeoMorph in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 11-04-2008, 05:31 AM
  3. Cpanel Full Backup and Home Directory backup
    By strikinado in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-29-2005, 12:36 PM
  4. WHM >> Backup >> Restore a Full Backup/cpmove file
    By jhobbs in forum Data Protection
    Replies: 0
    Last Post: 03-24-2005, 10:23 PM
  5. Cpanel-backup-full backup to home dir
    By Blue Steel in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-20-2005, 06:17 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube