Skip to content

Commit

Permalink
Fix typos in README.
Browse files Browse the repository at this point in the history
  • Loading branch information
shahinam committed Mar 21, 2017
1 parent e5070a6 commit 58b15a4
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
# Acquia Site factory local import

A small utility to import databases for ACSF for local setup.
A small utility to import ACSF databases for local setup.

## About
Download all the backups from a particular day. You can either download them one by one or rsync all of the once filtering based the date. Acquia adds a suffix to backup like 2017-03-21.

Create a mapping file, lets call is config.json - with name and id tuples. The name is the name of local DB and ID is the ACSF DB name. You can see the this ID is part of backup you have downloaded from the cloud.

```
{
"name": "sitefactory_site1",
"id": "testsub01ldb100001"
},
{
"name": "sitefactory_site2",
"id": "testsub01ldb100002"
}
[
{
"name": "sitefactory_site1",
"id": "testsub01ldb100001"
},
{
"name": "sitefactory_site2",
"id": "testsub01ldb100002"
}
]
```

## Usage
Expand All @@ -33,7 +35,7 @@ Create a mapping file, lets call is config.json - with name and id tuples. The n
## Import Databases
Import all databases. You will have to create target databases manually.
```
./acsfdbimport -source-dir=some/dir -config-file=some/file/config.json
./acsfimport -source-dir=some/dir -config-file=some/file/config.json
```
## TODO
* Add better error handling and messages.
Expand Down

0 comments on commit 58b15a4

Please sign in to comment.