Changes

From SME Server
Jump to navigationJump to search
39 bytes added ,  04:30, 10 August 2012
m
New config format
Line 38: Line 38:  
  tar zxof ftpsync.tgz
 
  tar zxof ftpsync.tgz
 
</li><li>Change the ownership of the directories to the new user
 
</li><li>Change the ownership of the directories to the new user
  chown -R {user} bin etc log .ssh {/path/to/your/data/store/}
+
  chown -R {user} bin etc log locks .ssh {/path/to/your/data/store/}
 
</li><li>Now we have installed and set things up as is required but we will need to update the configuration file to point to the storage location of the data (TO) in the config file (etc/ftpsync.conf). Use your favorite text editor for it.</li></ol>
 
</li><li>Now we have installed and set things up as is required but we will need to update the configuration file to point to the storage location of the data (TO) in the config file (etc/ftpsync.conf). Use your favorite text editor for it.</li></ol>
   Line 44: Line 44:  
<ol><li>Now it is time to perform the initial sync (and test that script does what it needs to)
 
<ol><li>Now it is time to perform the initial sync (and test that script does what it needs to)
 
<pre>su - {user} -s /bin/bash
 
<pre>su - {user} -s /bin/bash
~/bin/ftpsync</pre>
+
~/bin/ftpsync sync:archive:smeserver</pre>
 
</li><li>Now check heck the logs to see if there are any errors. Since the initial sync will take a lot of time you can best do this in a second terminal window:
 
</li><li>Now check heck the logs to see if there are any errors. Since the initial sync will take a lot of time you can best do this in a second terminal window:
 
  cd ~/log
 
  cd ~/log
  cat rsync-ftpsync.error.0
+
  cat rsync-ftpsync-smeserver.error.0
 
</li></ol>
 
</li></ol>
  
board
414

edits

Navigation menu