Changes

Jump to navigation Jump to search
580 bytes added ,  10:07, 27 February 2008
Line 550: Line 550:  
  rsync -av /var/affa/prodserv/weekly.1/$RFILE 10.204.48.1:$RFILE
 
  rsync -av /var/affa/prodserv/weekly.1/$RFILE 10.204.48.1:$RFILE
 
</li></ol>
 
</li></ol>
 +
 +
'''Example 3:''' Restoring a file with special characters in the path
 +
 +
Do not use shell variables to shorten the command. It would complicate things more than it would help.
 +
Quote the source and destination path. In the destination path escape blank characters with a double backslash and brackets with a single backslash.
 +
rsync -av "/var/affa/fileshare/daily.4/home/e-smith/files/ibays/mechfiles/files/Valve Control (Design Gr)/VALVE LIST FOR ISSUED.xls" "192.168.1.7:/home/e-smith/files/ibays/mechfiles/files/Valve\\ Control\\ \(Design\\ Gr\)/VALVE\\ LIST\\ FOR\\ ISSUED.xls"
    
==== Full restore ====
 
==== Full restore ====
501

edits

Navigation menu