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.

New server backup Script

Discussion in 'General Discussion' started by WildWayz, Feb 17, 2002.

  1. WildWayz

    WildWayz Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    209
    Likes Received:
    0
    Trophy Points:
    16
    Hi ya

    I know this may sound silly, but how does it work?
    I set it up for daily backups - what time does it carry them out?
    Also if I look on the backup HD, it has
    daily
    monthly
    weekly
    folders - all of them have data in them. Is this meant to happen?

    --James
     
  2. HOSTFORWEB

    HOSTFORWEB Well-Known Member
    PartnerNOC

    Joined:
    Feb 6, 2002
    Messages:
    94
    Likes Received:
    0
    Trophy Points:
    6
    I have same question.

    We run /scripts/burstbackup which tars each day, week, and month. Also script backups all config files and mysql databases.

    Does WHM script do the same works?
     
  3. WildWayz

    WildWayz Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    209
    Likes Received:
    0
    Trophy Points:
    16
    yep

    WHM backs up
    /home/user_dirs

    -rw------- 1 root root 11769 Feb 17 04:45 _etc_proftpd.tar.gz
    -rw------- 1 root root 6259 Feb 17 04:45 _etc_valiases.tar.gz
    -rw------- 1 root root 3864 Feb 17 04:45 _etc_vfilters.tar.gz
    -rw------- 1 root root 25233135 Feb 17 04:48 _usr_local_cpanel_3rdparty_mailman.tar.gz
    -rw------- 1 root root 10820866 Feb 17 04:45 _usr_local_frontpage.tar.gz
    -rw------- 1 root root 101374 Feb 17 04:48 _usr_share_ssl.tar.gz
    -rw------- 1 root root 77824 Feb 17 04:45 _var_cpanel.tar.gz
    -rw------- 1 root root 119659543 Feb 17 04:48 _var_lib_mysql.tar.gz
    -rw------- 1 root root 93710 Feb 17 04:45 _var_log_bandwidth.tar.gz
    -rw------- 1 root root 8054 Feb 17 04:45 _var_named.tar.gz
    -rw------- 1 root root 1061 Feb 17 04:45 _var_spool_cron.tar.gz

    -rw------- 1 root root 851 Feb 17 04:45 _etc_domainalias.gz
    -rw------- 1 root root 216 Feb 17 04:45 _etc_fstab.gz
    -rw------- 1 root root 865 Feb 17 04:45 _etc_group.gz
    -rw------- 1 root root 19729 Feb 17 04:45 _etc_httpd_conf_httpd.conf.gz
    -rw------- 1 root root 96 Feb 17 04:45 _etc_ips.gz
    -rw------- 1 root root 872 Feb 17 04:45 _etc_localdomains.gz
    -rw------- 1 root root 76 Feb 17 04:45 _etc_my.cnf.gz
    -rw------- 1 root root 1444 Feb 17 04:45 _etc_named.conf.gz
    -rw------- 1 root root 1206 Feb 17 04:45 _etc_passwd.gz
    -rw------- 1 root root 1418 Feb 17 04:45 _etc_proftpd.conf.gz
    -rw------- 1 root root 724 Feb 17 04:45 _etc_quota.conf.gz
    -rw------- 1 root root 57 Feb 17 04:45 _etc_reservedips.gz
    -rw------- 1 root root 741 Feb 17 04:45 _etc_rndc.conf.gz
    -rw------- 1 root root 37 Feb 17 04:45 _etc_secondarymx.gz
    -rw------- 1 root root 1268 Feb 17 04:45 _etc_shadow.gz
    -rw------- 1 root root 252 Feb 17 04:45 _etc_wwwacct.conf.gz
    -rw------- 1 root root 68 Feb 17 04:45 _root_.my.cnf.gz
    -rw------- 1 root root 770 Feb 17 04:45 _usr_local_cpanel_3rdparty_interchange_interchange.cfg.gz

    :)

    --James
     
  4. eva2000-george

    Joined:
    Feb 7, 2002
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    anyone actually tested the backups in a restore yet ?
     
  5. WildWayz

    WildWayz Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    209
    Likes Received:
    0
    Trophy Points:
    16
    IS there a restore option?
    I know they untar alright

    James
     
  6. rastoma

    rastoma Well-Known Member

    Joined:
    Aug 27, 2001
    Messages:
    158
    Likes Received:
    0
    Trophy Points:
    16
    Why is there never an instruction file or anything released with addons like this? I LOVE the addons and all the extras that popping up in cpanel/whm all the time, but why are they put up with no basic instructions on how to use them? it would save a LOT of messages here in the forum.
     
  7. maxhost

    maxhost Well-Known Member

    Joined:
    Jan 30, 2002
    Messages:
    72
    Likes Received:
    0
    Trophy Points:
    6
    I am interested too....
    Having a backup script is cool...
    To know how to restor backups is cooler...!


    is there a way to do it?

    Thanks

    ;)
     
  8. bdraco

    bdraco Guest

    [quote:2e46b7bdd3][i:2e46b7bdd3]Originally posted by maxhost[/i:2e46b7bdd3]

    I am interested too....
    Having a backup script is cool...
    To know how to restor backups is cooler...!


    is there a way to do it?

    Thanks

    ;) [/quote:2e46b7bdd3]

    The restore feature is not done yet .. the idea was to get the backup in ASAP so people could start using it.. Its better to have to be able to restore manually then to not be able to restore at all IMHO.
     
  9. maxhost

    maxhost Well-Known Member

    Joined:
    Jan 30, 2002
    Messages:
    72
    Likes Received:
    0
    Trophy Points:
    6
    thanks bdraco,
    A liltle question: (perhaps other users are also interested)
    If i do backup to a second drive is it possible to restore also the entire /home directory ?
    e.g. ln -s /secondHD/home/ home/
    or something like this?

    or do the backup script allow to backup only UserID per UserID:
    ln -s /secondHD/username /home/username

    Or can i do both?


    Thanks
     
  10. Domenico

    Domenico Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    362
    Likes Received:
    0
    Trophy Points:
    16
    Does it backup MySQl data also ?
    If not can it be implemented?

    Domenico
     
  11. moronhead

    moronhead Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    706
    Likes Received:
    0
    Trophy Points:
    16
    [quote:c8128adeec][i:c8128adeec]Originally posted by Domenico[/i:c8128adeec]

    Does it backup MySQl data also ?
    If not can it be implemented?
    [/quote:c8128adeec]

    I think it does. I copied and pasted this from the backup file list WildWayz had earlier put up in this thread:

    [quote:c8128adeec]-rw------- 1 root root 119659543 Feb 17 04:48 _var_lib_mysql.tar.gz[/quote:c8128adeec]
     
Loading...

Share This Page