top

The camtool binary is a collection of commands to help with the use of a camlistore server. Notably, it can initialize a database for the indexer, and it can sync blobs between blobservers.

Usage:

camtool [globalopts] <mode> [commandopts] [commandargs]

Modes:

env: Return Camlistore environment information
googinit: Init Google Drive or Google Cloud Storage.
list: List blobs on a server.
claims: Ask the search system to list the claims that modify a permanode.
dumpconfig: Dump the low-level server config from its simple config.
describe: Ask the search system to describe one or more blobs.
discovery: Perform configuration discovery against a server.
reindex-diskpacked: Rebuild the index of the diskpacked blob store
index: Synchronize blobs for all discovered blobs storage - indexer pairs.
sync: Synchronize blobs from a source to a destination.
dbinit: Set up the database for the indexer.
debug: Show misc meta-info from the given file.

Examples:

camtool sync --all
camtool sync --src http://localhost:3179/bs/ --dest http://localhost:3179/index-mem/

camtool dbinit -user root -password root -host localhost -dbname camliprod -wipe

For mode-specific help:

camtool <mode> -help

Global options:

-help=false: print usage
-verbose=false: extra debug logging
-version=false: show version

Imports 30 package(s) ΒΆ

  1. camlistore.org/pkg/blobserver
  2. camlistore.org/pkg/rollsum
  3. go4.org/jsonconfig
  4. golang.org/x/net/context
  5. camlistore.org/pkg/schema
  6. camlistore.org/pkg/magic
  7. camlistore.org/pkg/blobserver/localdisk
  8. camlistore.org/pkg/sorted/mysql
  9. camlistore.org/pkg/blobserver/google/drive
  10. github.com/go-sql-driver/mysql
  11. camlistore.org/pkg/client
  12. go4.org/oauthutil
  13. camlistore.org/pkg/osutil
  14. github.com/rwcarlsen/goexif/exif
  15. cloud.google.com/go/storage
  16. golang.org/x/oauth2
  17. camlistore.org/pkg/osutil/gce
  18. go4.org/strutil
  19. golang.org/x/oauth2/google
  20. camlistore.org/pkg/sorted/postgres
  21. camlistore.org/pkg/sorted/mongo
  22. labix.org/v2/mgo
  23. go4.org/types
  24. github.com/lib/pq
  25. camlistore.org/pkg/search
  26. camlistore.org/pkg/blobserver/diskpacked
  27. camlistore.org/pkg/cmdmain
  28. camlistore.org/pkg/serverinit
  29. camlistore.org/pkg/sorted/sqlite
  30. camlistore.org/pkg/blob