[X-Unix] Rsync, mysqldump and cron job help needed - part3

John Harrold jmh17 at pitt.edu
Wed Aug 31 05:04:52 PDT 2005


Sometime in August Rad Craig assaulted the keyboard and produced:

| 7.) What is the correct rsync command to do the initial download of  
| the directories I need, with the mysql dump?  Primarily, in my  
| webhost home directory, I will have these mysql dumps, and about 6-8  
| root level directories that I want to download, including their  
| entire directory trees.
| 
| 7a.)  Is there some sort of config file I can built to tell it which  
| files and directories to grab or do I issue a separate rsync command  
| for each file or directory?

Just do a separate rsync.

| 
| 7b.)  How do I tell it to recurse subdirectories under those 6-8 root  
| level directories?

The archive option should to  recursion.
  
| 8.) What is the correct rsync command to do the incrementals each week?

The same command will just transfer the changes.


| 9.)  Lastly, when I'm deleting the dumps, I would like to just use a  
| wildcard so I only have one delete command.  If I name the dumps  
| something like dbdump_dbname_date.sql, whats the best command format  
| to get rid of them?

dbdump_dbname_*.sql ?
  
| Sorry for all the questions, I'm just trying to get it all setup  
| correctly so that I can leave it alone and let it run.  I'm starting  
| to figure it out, if you'd just help me fill in some of the blanks.

be dandy.

-- 
---------------------------------------------------------- 
                            | /"\                         
 john harrold               | \ / ASCII ribbon campaign   
 john.m.harrold _at_ gmail  |  X  against HTML mail       
 the most useful idiot      | / \                         
----------------------------------------------------------
 What difference does it make to the dead, the orphans, 
 and the homeless, whether the mad destruction is brought 
 under the name of totalitarianism or the holy name of 
 liberty and democracy?
 --Gandhi
----------------------------------------------------------
  gpg --keyserver pgp.mit.edu --recv-key B23241CB
----------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://listserver.themacintoshguy.com/pipermail/x-unix/attachments/20050831/2d4772cc/attachment.bin


More information about the X-Unix mailing list