Re: Backing up a centos serveR? how to ? Newbie question..

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



From: RoLaNd RoLaNd <r_o_l_a_n_d@xxxxxxxxxxx>
>excuse my newbie question but how can i backup my centos server?
>i have a dozzen of virtual hosts over it as well as substantial database entries..
>i've backed up the following directories using rsync:
>workspace/
>/etc/httpd/
>/etc/apache-tomcat-6.0.20/
>/usr/lib/mysql/
>/var/lib/mysql

For mysql, I would use mysqldump instead of rsyncing the whole mysql directories...
Something like:
  mysqldump <DATABASE> | gzip -9 > <DATABASE>-<DATE>.gz

JD


      
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux