Skip to content

Core for Terminal Tools server sync modules (SilverStripe, Wordpress...)

License

Notifications You must be signed in to change notification settings

titledk/ttools-sitesync-core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Terminal Tools Site Sync Core

Core for

  • syncing site assets and databases between environments
  • dumping a site for backups - can be used together with ttools-backups

You'll need to add (or write) an additional framework specific module to make this work with your framework.

Available modules:

Installation

  • run git submodule add https://github.com/titledk/ttools-sitesync-core.git ttools/sitesync-core

  • Add the following to your ttools-config.yml (setting the framework module you're using):

    Sitesync: FrameworkModule: 'ttools/sitesync-silverstripe'

Configuration options

Configuration options have been added only as needed this far.

Environment specific

Environments:
  Live:
    Sitesync:
      BackupPath: "/backups/mysite"

Global

Sitesync:
  FrameworkModule: 'ttools/sitesync-silverstripe'
  DumpBackupKeep: 2
  #don't run backups before overwriting a site (on large sites this can become tedious)
  SkipBackups: true
  #don't sync files - this may be beneficial on sites with huge amounts of assets - NEEDS TO BE IMPLEMENTED BY EACH MODULE SEPARATELY
  SkipFiles: true

These settings can also be environment specific, in that case create a config_local.yml file which you'll place next to the config.yml file, it could e.g. look like this:

Sitesync:
  SkipBackups: true

About

Core for Terminal Tools server sync modules (SilverStripe, Wordpress...)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages