Sha256: 11ca6369fd25dfffa091a0d6ba8f14f9b3b6a190e891e2b6591358b47c66cd37

Contents?: true

Size: 799 Bytes

Versions: 1

Compression:

Stored size: 799 Bytes

Contents

  ##
  # Dropbox [Storage]
  #
  # Your initial backup must be performed manually to authorize
  # this machine with your Dropbox account. This authorized session
  # will be stored in `cache_path` and used for subsequent backups.
  #
  store_with Dropbox do |db|
    db.api_key     = "my_api_key"
    db.api_secret  = "my_api_secret"
    # Sets the path where the cached authorized session will be stored.
    # Relative paths will be relative to ~/Backup, unless the --root-path
    # is set on the command line or within your configuration file.
    db.cache_path  = ".cache"
    # :app_folder (default) or :dropbox
    db.access_type = :app_folder
    db.path        = "/path/to/my/backups"
    db.keep        = 25
    # db.keep        = 1.year.ago # Remove all backups older than 1 year.
  end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
backup_zh-4.2.0 templates/cli/storages/dropbox