~stub/charms/precise/postgresql/bug-1302494-fix-persistent-storage

« back to all changes in this revision

Viewing changes to config.yaml

  • Committer: Stuart Bishop
  • Date: 2014-01-22 07:23:51 UTC
  • mfrom: (46.8.34 use-swiftwal)
  • Revision ID: stuart@stuartbishop.net-20140122072351-g1ca14ouylgpkgur
Experimental SwiftWAL PITR support, per https://code.launchpad.net/~stub/charms/precise/postgresql/use-swiftwal/+merge/199942

Show diffs side-by-side

added added

removed removed

Lines of Context:
343
343
        An advisory lock key used internally by the charm. You do not need
344
344
        to change it unless it happens to conflict with an advisory lock key
345
345
        being used by your applications.
 
346
 
 
347
  # Swift backups and PITR via SwiftWAL
 
348
  swiftwal_container_prefix:
 
349
    type: string
 
350
    default: ""
 
351
    description: |
 
352
      EXPERIMENTAL.
 
353
      Swift container prefix for SwiftWAL to use. Must be set if any
 
354
      SwiftWAL features are enabled.
 
355
  swiftwal_backup_schedule:
 
356
    type: string
 
357
    default: ""
 
358
    description: |
 
359
      EXPERIMENTAL.
 
360
      Cron-formatted schedule for SwiftWAL database backups.
 
361
  swiftwal_backup_retention:
 
362
    type: int
 
363
    default: 2
 
364
    description: |
 
365
      EXPERIMENTAL.
 
366
      Number of recent base backups to retain. You need enough space in
 
367
      Swift for this many backups plus one more, as an old backup will only
 
368
      be removed after a new one has been successfully made to replace it.
 
369
  swiftwal_log_shipping:
 
370
    type: boolean
 
371
    default: false
 
372
    description: |
 
373
      EXPERIMENTAL.
 
374
      Archive WAL files into Swift. If swiftwal_backup_schedule is set,
 
375
      this allows point-in-time recovery and WAL files are removed
 
376
      automatically with old backups. If swiftwal_backup_schedule is not set
 
377
      then WAL files are never removed. Enabling this option will override
 
378
      the archive_mode and archive_command settings.
 
379
  streaming_replication:
 
380
    type: boolean
 
381
    default: true
 
382
    description: |
 
383
      EXPERIMENTAL.
 
384
      Enable streaming replication. Normally, streaming replication is
 
385
      always used, and any log shipping configured is used as a fallback.
 
386
      Turning this off without configuring log shipping is an error.
 
387
  os_username:
 
388
    type: string
 
389
    default: ""
 
390
    description: EXPERIMENTAL. OpenStack Swift username.
 
391
  os_password:
 
392
    type: string
 
393
    default: ""
 
394
    description: EXPERIMENTAL. OpenStack Swift password.
 
395
  os_auth_url:
 
396
    type: string
 
397
    default: ""
 
398
    description: EXPERIMENTAL. OpenStack Swift authentication URL.
 
399
  os_tenant_name:
 
400
    type: string
 
401
    default: ""
 
402
    description: EXPERIMENTAL. OpenStack Swift tenant name.