Skip to content

Commit 418e2df

Browse files
authored
Update README.md
1 parent 975cf8c commit 418e2df

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ The aims of this module are to;
1111
Unlike a dedicated emoncms app, this module can be installed anywhere on your pi, and not necessarily within your emoncms directory.
1212
1) Install the module via git
1313
`git clone https://github.com/Paul-Reed/dropbox-archive.git`
14-
2) Make a copy of default.config.php and call it config.php
15-
`cd dropbox-archive && cp default.config.php config.php`
16-
3) Add your emoncms **Write** API key, your MYSQL database details, and other options to config.php
17-
`nano config.php`
14+
2) Make a copy of default.settings.conf and call it settings.conf
15+
`cd dropbox-archive && cp default.settings.conf settings.conf`
16+
3) Add your emoncms **Write** API key, your MYSQL database details, and other options to settings.conf
17+
`nano settings.conf`
1818
*Note* - ensure that the $emoncms-server setting contains your 'private' (local) IP address, as the module will use the emoncms API to replicate your data directories.
1919

2020
### Run the script
@@ -25,6 +25,6 @@ This only needs to be done once, and when completed, run the backup.php script a
2525

2626
Running the script subsequently, will add further archives to Dropbox, which can be done either manually, by Cron, by node-red, or by other means.
2727

28-
By default, the script will retain 7 days of backups, although that can be changed in the config file, archives older than that criteria are automatically deleted both locally and remotely in Dropbox when the script in run again.
28+
By default, the script will retain 7 days of backups, although that can be changed in the settings.conf file, archives older than that criteria are automatically deleted both locally and remotely in Dropbox when the script in run again.
2929

3030
*Many thanks to Andrea Fabrizi for his brilliant Dropbox_uploader script.*

0 commit comments

Comments
 (0)