Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Member
    Join Date
    May 2009
    Posts
    18

    Default Per-interval account backup exclusions: home dir, disk usage, suspension status

    I think could be interesting that backup system have different setting for each account, this is that you can select if you want a full backup for an account or a MySQL backup.

    In my case i have 2 big sites that has a bg home dir and make backup of home directory every day takes soo much time, so if could be possible to configure every account for dayly, weekly and monthly backup i configure all accounts except this 2 to make full backup every day, week and month, and configure this 2 accounts to make MySQL backup dayly, and weekle and monthly full backup.

    I dont know if i have explained correct my feature request and if other users think that could be interesting.

    Thanks in advance
    I would be very happy if this could be integrated on future cpanel releases.

  2. #2
    Member
    Join Date
    Feb 2010
    Location
    Planet Earth
    Posts
    5

    Default

    Quote Originally Posted by _El_Chojin_ View Post
    I think could be interesting that backup system have different setting for each account, this is that you can select if you want a full backup for an account or a MySQL backup.

    In my case i have 2 big sites that has a bg home dir and make backup of home directory every day takes soo much time, so if could be possible to configure every account for dayly, weekly and monthly backup i configure all accounts except this 2 to make full backup every day, week and month, and configure this 2 accounts to make MySQL backup dayly, and weekle and monthly full backup.

    I dont know if i have explained correct my feature request and if other users think that could be interesting.

    Thanks in advance
    I would be very happy if this could be integrated on future cpanel releases.

    Hi,
    I think you have several options, if you are using /scripts/cpbackup script for generating backup you can use cpbackup-exclude.conf file for excluding big folders of those 2 accounts to prevent overloading.
    Let's say the biggest folder is public_html/, you can skip it by adding following line in cpbackup-exclude.conf:
    /home/username/public_html

    Another option is to use --skiphomedir after pkgacct script like below:
    /scripts/pkgacct --skiphomedir username

  3. #3
    Member
    Join Date
    May 2009
    Posts
    18

    Default

    Quote Originally Posted by Poopool View Post
    Hi,
    I think you have several options, if you are using /scripts/cpbackup script for generating backup you can use cpbackup-exclude.conf file for excluding big folders of those 2 accounts to prevent overloading.
    Let's say the biggest folder is public_html/, you can skip it by adding following line in cpbackup-exclude.conf:
    /home/username/public_html

    Another option is to use --skiphomedir after pkgacct script like below:
    /scripts/pkgacct --skiphomedir username
    Yes but i want to skip it only on daily backup, on weekly and monthly i want to have all directories of all accounts and if i modify that i will loose it for all (weekly and monthly).

  4. #4
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Dec 2004
    Posts
    392

    Default

    I think the cpanel backup should be made more powerful and cater for all these sorts of options.

    At the moment its quite basic and just "does the job".

    More options and allow us more control !!
    UK Managed Hosting
    UK Linux Support
    The information given above is intended to be advice only.

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

    DataCenter Provider

    Default

    Quote Originally Posted by _El_Chojin_ View Post
    I think could be interesting that backup system have different setting for each account, this is that you can select if you want a full backup for an account or a MySQL backup.

    In my case i have 2 big sites that has a bg home dir and make backup of home directory every day takes soo much time, so if could be possible to configure every account for dayly, weekly and monthly backup i configure all accounts except this 2 to make full backup every day, week and month, and configure this 2 accounts to make MySQL backup dayly, and weekle and monthly full backup.

    I dont know if i have explained correct my feature request and if other users think that could be interesting.

    Thanks in advance
    I would be very happy if this could be integrated on future cpanel releases.
    Quote Originally Posted by _El_Chojin_ View Post
    Yes but i want to skip it only on daily backup, on weekly and monthly i want to have all directories of all accounts and if i modify that i will loose it for all (weekly and monthly).
    Is the following an accurate summary of the desired feature?
    • Per-user option to skip home directory in daily, weekly, or monthly, account backups
      • Clarification: Per-user option that may apply only to specific backup intervals such as applying only to daily backups while allowing normal full account backups for weekly and monthly.

  6. #6
    PbG
    PbG is offline
    Registered User PbG's Avatar
    Join Date
    Mar 2003
    Posts
    235

    Default re: Per-user/interval option to skip home directory in account backups

    In addition to this I would like to see the option to select and deselect the entire user list as well as reseller accounts/domains. The per user option should also include ability to skip suspended accounts and backup accounts once.

    Quote Originally Posted by cPanelDon View Post
    Is the following an accurate summary of the desired feature?
    • Per-user option to skip home directory in daily, weekly, or monthly, account backups
      • Clarification: Per-user option that may apply only to specific backup intervals such as applying only to daily backups while allowing normal full account backups for weekly and monthly.

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

    DataCenter Provider

    Arrow Preliminary Call for Comments: Per-interval account backup exclusions

    Preliminary Call for Comments: While trying to consider how the new option(s) may work, I would like to gather everyone's opinion and ask if a reasonable approach that everyone can agree on might be that of including a single, standardized option for each type of criteria to skip or exclude from backups with a check-box selection for each backup interval and an accompanying editable list specific to the type of criteria, such as for selecting users or groups of users, that can be modified via the same interface in WHM (similar to how WHM facilitates editing a whitelist or blacklist in other configuration areas). The exclusion criteria may include at least one or more of the following: e-mail data, cPanel user home directories, cPanel account disk usage, and account suspension status. Each of the associated options, if used, may have a default behavior that applies server-wide, but would allow customization in the way of editable lists to configure more fine-grained precision by selecting only certain users or groups of users, such as resellers and their accounts, on which to apply each exclusion. To the best of my understanding of what is being requested, I believe the preceding detail fully covers both the original feature request description in the original/opening post as well as the additional suggestions that followed.

    To anyone that wants to see this implemented please reply to let us know if you are (or are still) interested and if you approve or disapprove of the aforementioned proposal; feel free to share any additional comments that you may have as well. Thank you!

  8. #8
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    10,711
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Per-interval account backup exclusions: home dir, disk usage, suspension status

    I met with one of our Partner NOCs today and they suggested also having the ability to have accounts backed up compressed vs. uncompressed as well, so accounts full of thumbnails aren't unnecessarily compressed for backups.

  9. #9
    Registered User
    Join Date
    Nov 2011
    Posts
    1
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Per-interval account backup exclusions: home dir, disk usage, suspensio

    I have the seem problem, I want to exclude files from daily backup only and Include it on weekly and monthly backup, I came to this page through search engines, I am looking for a solution for this. I going to write a PHP script to rewrite the cpbackup-exclude.conf file , if it is the time of weekly and monthly backup the script should empty the cpbackup-exclude.conf else if it is another day the script will write the path of the unwanted files to the cpbackup-exclude.conf file.

    I it a good Idea ?

Similar Threads & Tags
Similar threads

  1. Configuration disk usage status
    By yapluka in forum Feature Requests for cPanel/WHM
    Replies: 0
    Last Post: 11-28-2009, 08:29 AM
  2. Backup all accounts, exclude home dir of some?
    By Karabaja in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 06-29-2009, 05:01 PM
  3. Cannot download a full home dir backup
    By Stellavision in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-04-2008, 07:17 PM
  4. Cpanel-backup-full backup to home dir
    By Blue Steel in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-20-2005, 07:17 AM
  5. /home Disk usage = 100%?!
    By UnitHosting in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 02-01-2004, 09:10 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube