Change to the directory you want to hold the fileconveyor files, then run:
1sudo apt install git python-setuptools && sudo easy_install pip && sudo pip install -e git+https://github.com/wimleers/fileconveyor@master#egg=fileconveyor
1sudo nano src/fileconveyor/fileconveyor/config.xml
1<?xml version="1.0" encoding="UTF-8"?>
2<config>
3 <!-- Sources -->
4 <sources ignoredDirs="">
5 <source name="test" scanPath="/var/www/html/test" />
6 </sources>
7
8 <!-- Servers -->
9 <servers>
10 <server name="Rackspace Cloud Files" transporter="cloudfiles">
11 <username>USERNAME</username>
12 <api_key>APIKEY</api_key>
13 <container>CONTAINER</container>
14 </server>
15 </servers>
16 <!-- Rules -->
17 <rules>
18 <rule for="test" label="Test">
19 <destinations>
20 <destination server="Rackspace Cloud Files" path="test" />
21 </destinations>
22 </rule>
23 </rules>
24</config>
Add this to /etc/rc.local
/usr/bin/python/db_backups/fileconveyor/fileconveyer/arbitrator.py