Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Sep 2002
    Location
    Europe
    Posts
    268

    Default Backup maintenance

    I have additional hard disk on server for backup. Backup is set from WHM -daily backup. I want to learn more about that option but I don't see details I want to learn about.

    So , I have some questions regarding this

    - Is backup growing non-stop or it is deleting old files at some point ? What I meant is do I have backups from the time I set backup to run or just for the past week or so ?

    - If it is keeping files like month old or older, how can I maintain this files . What if I want to delete all files that are older than month ? How can I do this from WHM ?

    - When restoring daily backups, can I choose specific date to restore from? I looked at this daily restoring option but I'am not getting an option to select specific date so I don't know what is the point for daily backup if I can not choose date for restoring point .
    Last edited by dxer; 02-23-2004 at 03:39 AM.

  2. #2
    Member rpmws's Avatar
    Join Date
    Aug 2001
    Location
    back woods of NC, USA
    Posts
    1,858

    Default Re: Backup maintenance

    Originally posted by dxer
    I have additional hard disk on server for backup. Backup is set from WHM -daily backup. I want to learn more about that option but I don't see details I want to learn about.

    So , I have some questions regarding this

    - Is backup growing non-stop or it is deleting old files at some point ? What I meant is do I have backups from the time I set backup to run or just for the past week or so ?

    - If it is keeping files like month old or older, how can I maintain this files . What if I want to delete all files that are older than month ? How can I do this from WHM ?

    - When restoring daily backups, can I choose specific date to restore from? I looked at this daily restoring option but I'am not getting an option to select specific date so I don't know what is the point for daily backup if I can not choose date for restoring point .
    backups are replaced every time they are run.

    <daily> is replaced with a new copy everyday.
    <weekly> is a copy once per week
    <monthly> is a copy that happens once a month.


    if you use "daily" , the last backup has replaced the one done the day before, the next backup will replace the files you have now. Same thing for weekly and monthly only at those intervals. The only wasted space may be from deleted sites you no longer have hosted.

    When you restore you have option of daily, weekly, monthly.
    Well you get that choice. The backup that you have is the one you get. So if backups ran at 4am and you want to restore at 5am you get a copy of what that account contained at 4am. If you restore at 3:50am, you get restored copy of what was backed up at 4am the night before. Almost 24hours ago. Same goes true for weekly and monthly. Only those backups don't change as often. Often you will find a customer wanting a restore. If they ask for something that was 2 days ago you can't do it in most cases unless weekly happened to grab a copy that he needs. Depending on what day it is, sometimes you will find customers wanting a "working copy" that is several days back. Well you should have weekly and monthly you can offer with the exception of if between the site changed to "bad" and the time you run restore all 3 backups rotated. That would mean you would have brand new monthly (broken), brand new weekly (broken) and daily as well. In cases like that your client is SOL. The term "bad" and "broken" I am using to describe a backup copy of what the client doesn't want.

    If you SSH into your box and look inside that cpbackup folder you can see the time/date stamps on the folders telling you when the last file was written in that folder. That will give you an idea of how old those copies are in those folders.

    just do a la -lh while inside the cpbackup folder.
    Last edited by rpmws; 02-23-2004 at 04:27 AM.
    Just keeping my "eye" on things....
    R. Paul Mathews
    RPMWS - diehard cPanel Nutcase

  3. #3
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    That's why I use my own backup system.

    I have 2 seperate backup scripts, daily and weekly, that use txt files to specify which accounts to be backed up. I have a copy of client sites at 4am for the last 2 days, and 5am for the last 2 Sundays. I only backup my business sites weekly since I have it on my hard drive anyway, and I don't back up my personal sites.
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

  4. #4
    Member
    Join Date
    Oct 2003
    Posts
    7

    Post

    I changed from monthly backup retention to just weekly. However I still have a huge *monthly* folder there... I cant delete it as it says its read only.

Similar Threads & Tags
Similar threads

  1. redirect to index for maintenance?
    By thared33 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 05-01-2010, 09:14 PM
  2. Forwarding Maintenance
    By mswebguru in forum New User Questions
    Replies: 0
    Last Post: 02-22-2010, 03:27 AM
  3. MySQL Account Maintenance
    By Suter Rainer in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-14-2006, 08:07 AM
  4. Horde Maintenance Errors
    By trparky in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 02-14-2006, 01:36 AM
  5. HTTP Password Maintenance
    By Gareth C in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-27-2003, 10:51 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube