doc: Add google cloud storage

This commit is contained in:
Harshavardhana
2015-11-09 23:46:46 -08:00
parent b7dc5414d8
commit 08c90a2c03
7 changed files with 24 additions and 13 deletions
+3
View File
@@ -56,6 +56,9 @@ EXAMPLES:
4. Get bucket permissions.
$ mc {{.Name}} get https://s3.amazonaws.com/shared
5. Get bucket permissions.
$ mc {{.Name}} get https://storage.googleapis.com/miniocloud
`,
}
+7 -4
View File
@@ -42,15 +42,18 @@ USAGE:
OPERATION = add | list | remove
EXAMPLES:
1. Add aliases for a URL
1. Add aliases for Amazon S3.
$ mc config {{.Name}} add mcloud https://s3.amazonaws.com/miniocloud
$ mc ls mcloud
$ mc cp /bin/true mcloud/true
2. List all aliased URLs.
2. Add aliases for Google Cloud Storage.
$ mc config {{.Name}} add gcscloud https://storage.googleapis.com/miniocloud
$ mc ls gcscloud
3. List all aliased URLs.
$ mc config {{.Name}} list
3. Remove an alias
4. Remove an alias
$ mc config {{.Name}} remove zek
`,
+1 -1
View File
@@ -33,7 +33,7 @@ EXAMPLES:
2. Add host configuration for a URL, using s3 api v2. For security reasons turn off bash history
$ set +o history
$ mc config {{.Name}} add s3.amazonaws.com BKIKJAA5BMMU2RHO6IBB V7f1CwQqAcwo80UEIJEjc5gVQUSSx5ohQ9GSrr12 S3v2
$ mc config {{.Name}} add storage.googleapis.com BKIKJAA5BMMU2RHO6IBB V7f1CwQqAcwo80UEIJEjc5gVQUSSx5ohQ9GSrr12 S3v2
$ set -o history
3. List all hosts.
+3 -2
View File
@@ -44,9 +44,10 @@ EXAMPLES:
[2015-01-15 00:05:40 PST] 0B zek/
2. List buckets from Amazon S3 cloud storage and recursively list objects from Minio cloud storage.
$ mc {{.Name}} https://s3.amazonaws.com/ https://play.minio.io:9000/backup/...
$ mc {{.Name}} https://s3.amazonaws.com/ https://play.minio.io:9000/backup/... https://storage.googleapis.com
2015-01-15 00:05:40 PST 0B zek/
2015-03-31 14:46:33 PDT 55MiB 2006-Mar-1/backup.tar.gz
2015-03-31 14:46:33 PDT 55MiB backup.tar.gz
2015-04-15 20:11:22 PST 0B miniocloud
3. List files recursively on local filesystem on Windows.
$ mc {{.Name}} C:\Users\Worf\...
+4 -1
View File
@@ -41,11 +41,14 @@ EXAMPLES:
1. Create a bucket on Amazon S3 cloud storage.
$ mc {{.Name}} https://s3.amazonaws.com/public-document-store
3. Make a folder on local filesystem with space characters
2. Make a folder on local filesystem with space characters
$ mc {{.Name}} 'My Documents'
3. Create a bucket on Minio cloud storage.
$ mc {{.Name}} https://play.minio.io:9000/mongodb-backup
4. Create a bucket on Google Cloud Storage.
$ mc {{.Name}} https://storage.googleapis.com/miniocloud
`,
}
+2 -2
View File
@@ -48,8 +48,8 @@ EXAMPLES:
1. Mirror a bucket recursively from Minio cloud storage to a bucket on Amazon S3 cloud storage.
$ mc {{.Name}} https://play.minio.io:9000/photos/2014 https://s3.amazonaws.com/backup-photos
2. Mirror a local folder recursively to Minio cloud storage and Amazon S3 cloud storage.
$ mc {{.Name}} backup/ https://play.minio.io:9000/archive https://s3.amazonaws.com/archive
2. Mirror a local folder recursively to Minio cloud storage, Amazon S3 cloud storage and Google Cloud Storage.
$ mc {{.Name}} backup/ https://play.minio.io:9000/archive https://s3.amazonaws.com/archive https://storage.googleapis.com/miniocloud
3. Mirror a bucket from aliased Amazon S3 cloud storage to multiple folders on Windows.
$ mc {{.Name}} s3/documents/2014/ C:\backup\2014 C:\shared\volume\backup\2014
+4 -3
View File
@@ -39,14 +39,15 @@ EXAMPLES:
1. Write contents of stdin to an object on Amazon S3 cloud storage.
$ mc {{.Name}} https://s3.amazonaws.com/personalbuck/meeting-notes.txt
2. Concatinate part files to an object on Amazon S3 cloud storage.
$ cat part1.img part2.img | mc {{.Name}} https://s3.amazonaws.com/ferenginar/gnuos.iso
2. Concatinate part files to an object on Amazon S3 cloud storage and Google Cloud Storage.
$ cat part1.img part2.img | mc {{.Name}} https://s3.amazonaws.com/ferenginar/gnuos.iso https://storage.googleapis.com/miniocloud/gnuos.iso
3. Stream MySQL database dump to Amazon S3 directly.
$ mysqldump -u root -p ******* accountsdb | mc {{.Name}} https://s3.amazonaws.com/ferenginar/backups/accountsdb-oct-9-2015.sql
4. Stream a zip file to two object storage servers simultaneously.
$ cat ~/myphotos.zip | mc {{.Name}} https://s3.amazonaws.com/mybucket/photos.zip https://minio.mystartup.io:9000/backup/photos.zip
$ cat ~/myphotos.zip | mc {{.Name}} https://s3.amazonaws.com/mybucket/photos.zip https://minio.mystartup.io:9000/backup/photos.zip
`,
}