New server backup Script

WildWayz

Well-Known Member
Aug 14, 2001
209
0
316
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
 

HOSTFORWEB

Well-Known Member
PartnerNOC
Feb 6, 2002
94
0
306
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?
 

WildWayz

Well-Known Member
Aug 14, 2001
209
0
316
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
 

rastoma

Well-Known Member
Aug 27, 2001
158
0
316
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.
 

maxhost

Well-Known Member
Jan 30, 2002
72
0
306
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

;)
 
B

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.
 

maxhost

Well-Known Member
Jan 30, 2002
72
0
306
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
 

moronhead

Well-Known Member
Aug 12, 2001
706
0
316
[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]