Update README.md

This commit is contained in:
Werner Beroux
2016-01-22 16:38:56 +01:00
parent 4db0210a18
commit 7f8eac7cf8

View File

@@ -2,14 +2,12 @@ Dockerize [duplicity](http://duplicity.nongnu.org/) backup tool.
### Usage ### Usage
#### Backup via rsync #### Backup via rsync Example
**TODO** **TODO**
#### Backup to Google Drive Example #### Backup to Google Drive Example
**WORK IN PROGRESS**
First follow notes [on Pydrive Backend](http://duplicity.nongnu.org/duplicity.1.html#sect20) to generate a P12 credential file (call it `pydriveprivatekey.p12`) and note also the associated service account email generated (e.g. `duplicity@developer.gserviceaccount.com`). First follow notes [on Pydrive Backend](http://duplicity.nongnu.org/duplicity.1.html#sect20) to generate a P12 credential file (call it `pydriveprivatekey.p12`) and note also the associated service account email generated (e.g. `duplicity@developer.gserviceaccount.com`).
$ docker run --rm -i --user $UID -v $PWD/pydriveprivatekey.p12:/pydriveprivatekey.p12:ro wernight/duplicity openssl pkcs12 -in /pydriveprivatekey.p12 -nodes -nocerts > pydriveprivatekey.pem $ docker run --rm -i --user $UID -v $PWD/pydriveprivatekey.p12:/pydriveprivatekey.p12:ro wernight/duplicity openssl pkcs12 -in /pydriveprivatekey.p12 -nodes -nocerts > pydriveprivatekey.pem