|
||||
|
to be restored in the event of a server failure.
Code:
rsync -vrplogDtH secondarymx domainalias valiases vfilters exim* proftpd* pure-ftpd* passwd* group* *domain* *named* wwwacct.conf cpupdate.conf quota.conf shadow* *rndc* ips* ipaddrpool* ssl /etc rsync -vrplogDtH /mnt/old/usr/local/apache/conf /usr/local/apache rsync -vrplogDtH /mnt/old/var/named /var rsync -vrplogDtH /mnt/old/home/* /home rsync -vrplogDtH /mnt/old/usr/local/cpanel /usr/local rsync -vrplogDtH /mnt/old/var/lib/mysql /var/lib rsync -vrplogDtH /mnt/old/var/cpanel /var rsync -vrplogDtH /mnt/old/usr/share/ssl /usr/share rsync -vrplogDtH /mnt/old/var/ssl /var rsync -vrplogDtH /mnt/old/usr/local/cpanel/3rdparty/mailman /usr/local/cpanel/3rdparty rsync -vrplogDtH /mnt/old/var/log/bandwidth /var/log rsync -vrplogDtH /mnt/old/usr/local/frontpage /usr/local rsync -vrplogDtH /mnt/old/var/spool/cron /var/spool -v, –verbose increase verbosity -r, –recursive recurse into directories -l, –links copy symlinks as symlinks -o, –owner preserve owner (super-user only) -g, –group preserve group -D same as –devices –specials -t, –times preserve modification times -H, –hard-links preserve hard links
__________________
Serversignature.com - Professional Linux Consulting. Last edited by serversignature; 06-06-2009 at 02:27 PM. |
|
|||
|
Should the top rsync command be:
PHP Code:
Also does the virtual file system in the /home directory need to be backed up or can that be excluded? |
|
||||
|
if you are restoring form the old hard disk .. this should work. which virtual file system in the /home are u talking about.
__________________
Serversignature.com - Professional Linux Consulting. |
|
|||
|
Hello,.
Please don't take backup of /home/virtfs directory , put this directory in exclude list using following option in rsync command. Quote:
- Quote:
|
|
||||
|
Quote:
|
|
|||
|
Quote:
It says to run PHP Code:
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Backup alternative: rsync + external server | stormrider | cPanel and WHM Discussions | 1 | 02-05-2008 10:18 PM |
| Using rsync to enable automatic backup MX mail server domains | aarondwyer | cPanel and WHM Discussions | 3 | 08-09-2007 08:48 PM |
| rsync backup to my local Windows server - what should I install? | spaceman | cPanel and WHM Discussions | 1 | 10-26-2006 05:14 PM |
| rsync://rsync.cpanel.net broken? | Sinewy | cPanel and WHM Discussions | 7 | 10-26-2004 07:08 AM |
| while doing updatenow:rsync: getaddrinfo: rsync.cpanel.net 873: Temporary failure | ehpserver | cPanel and WHM Discussions | 0 | 01-25-2004 05:02 PM |