Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Member
    Join Date
    Aug 2008
    Posts
    50

    Default How to restore incremental backup

    I enabled Incremental backups in WHM and the system created the backup for all users.
    My question is: every night everything gets copied to another, offsite, place.
    How will I restore the backup if I need them?
    Asked differently, if a client decides to leave us and requires the daily backup (we have that kind of policy) what should I give to him? Since the file isn't username.tar.gz

  2. #2
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,165
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    If he does a Full Backup from his cPanel that should give a compressed archive.

  3. #3
    Member
    Join Date
    Aug 2008
    Posts
    50

    Default

    Ok, I understand that part. But what if I want to use the last weeks incremental backup on another cpanel server? How do I restore it there? I don't have the username.tar.gz to place it on the another's server /home so I can restore it...

  4. #4
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,165
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    You have the option to download a daily weekly or monthly right from the accounts cPanel. That pulls the files from your backup and compresses them.

    ex: daily.tar.gz

  5. #5
    Member
    Join Date
    Aug 2008
    Posts
    50

    Default

    Why you don't understand me?
    I want to restore a backup that is old 1 week ago for example. I have Incremental backups activated. How do I restore that 1 week old incremental backup on another cPanel server?
    I hope this is clearer

  6. #6
    Member
    Join Date
    Aug 2002
    Posts
    1,118

    Default

    Place the user directory in /backup/cpbackup/daily replace /backup with the backup partition that is defined in your configure backup. You can also use weekly, or monthly instead of daily. You may be able to even create your own directory inside the cpbackup directory, I think that used to work.

    Then from your WHM go to Restore Backups and select the appropriate directory and account to restore from. I think you have to have backups configured to be incremental, so if it is not already set to that use the Configure Backup link to set it.

    At least this used to work a couple of versions ago, haven't tried it in a while. That is the only way that I know of to restore an incremental backup. I'm not sure if it is possible to restore an incremental backup with /scripts/restorepkg. You could always tar up the incremental backup (gzip is not necessary) and place the tar file in /home and run /scripts/restorepkg. But that seems a little wasteful since you are essentially tarring something up that is just going to immediately be untarred.

  7. #7
    Member
    Join Date
    Aug 2008
    Posts
    50

    Default

    sparek, you answered my question just the way i needed the answer. Thank you very much for that.

    I hope someone from cPanel can confirm what you said about the procedure. Backups are very very important and I wouldn't like to play with them without knowing what am I doing.
    Thanks.

  8. #8
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,165
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    Quote Originally Posted by ljesh View Post
    Ok, I understand that part. But what if I want to use the last weeks incremental backup on another cpanel server? How do I restore it there? I don't have the username.tar.gz to place it on the another's server /home so I can restore it...
    Quote Originally Posted by ljesh View Post
    Why you don't understand me?
    I want to restore a backup that is old 1 week ago for example. I have Incremental backups activated. How do I restore that 1 week old incremental backup on another cPanel server?
    I hope this is clearer
    You stated, 'another server'. I understood you fine.

Similar Threads & Tags
Similar threads

  1. Can I restore incremental backups to another server?
    By ruiz in forum Data Protection
    Replies: 2
    Last Post: 12-28-2010, 06:30 PM
  2. restore incremental backup from shell without tar
    By syslint in forum Data Protection
    Replies: 7
    Last Post: 09-03-2010, 06:51 PM
  3. How to restore incremental backup?
    By hbhb in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 03-22-2007, 12:19 PM
  4. New backup option in Cpanel after switch to incremental backup type
    By WebHostDog in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-09-2006, 07:56 AM
  5. Incremental backup
    By adapter in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-14-2005, 11:24 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube