Loading...
 

TRIM make clone (mirror) and make cloneandupdate or cloneandupgrade (pre-dogfood server)

Status
Pending
Subject
TRIM make clone (mirror) and make cloneandupdate or cloneandupgrade (pre-dogfood server)
Category
  • Feature request
Feature
TRIM
Resolution status
New
Submitted by
Marc Laporte
Lastmod by
Marc Laporte
Rating
(0)
Description

Use case 1- mirror a site
Be able to provide on same server (different URL) or different server a fresh identical copy of Tiki with all data, including files that are not in DB.

a) Could be to offer a backup site on a different server in case main server is down. This backup site could be in the customer's office, so avoid any cloud lock-in: "You have a fully working instance with all data (less than x hours old) and all the FLOSS code on a computer you physically control" And this sticker can go on the box :-)
https://www.stickermule.com/marketplace/3442-there-is-no-cloud

b) Could be part of a dev/staging/prod routine. Ex. push data from prod to staging and/or dev to 'reset' and now we start developing again.
http://12factor.net/dev-prod-parity

c) Could conceivably be used to have several copies of a site and load balance via DNS but there would likely be better ways to achieve this... (ex. MariaDB Galera Cluster)

d) demos (OpenSourceCMS type demo to test/develop and show off profiles)

Perhaps:
make clone : a one-time copy
make mirror: setup automated recurring copy

This script should have access to system configuration and to run a profile. An example is $site_closed eq 'y' and $site_closed_msg="This is a copy of XYZ..."

Use case 2- pre-dogfood (test upgrade)
Like:


That script works but it's a manual configuration every time. TRIM can backup, deploy and upgrade so why not combine? :-)

a) Check at any time how an upgrade would impact.
Could be to the tip of same branch or to the tip of a future branch or trunk.

b) Could be part of a dev/staging/prod routine

And adding a conflict alert with this would be really nifty:
https://dev.tiki.org/Check+if+the+update+would+cause+conflicts

Especially combined to the automated updates:
https://doc.tiki.org/TRIM#To_setup_automated_updates

Perhaps:
make cloneandupdate (test minor update)
make cloneandupgrade (test minor upgrade)

This script should have access to system configuration and to run a profile. An example is $site_closed eq 'y' and $site_closed_msg="This is a copy of XYZ..."

Importance
3
Easy to solve?
2
Priority
6
Rating (deprecated)
(0)
Ticket ID
5937
Created
Thursday 19 May, 2016 06:59:57 GMT-0000
LastModif
Thursday 11 October, 2018 00:58:37 GMT-0000

Attachments

 filenamecreatedhitscommentversionfiletype 
No attachments for this item


Keywords

The following is a list of keywords that should serve as hubs for navigation within the Tiki development and should correspond to documentation keywords.

Each feature in Tiki has a wiki page which regroups all the bugs, requests for enhancements, etc. It is somewhat a form of wiki-based project management. You can also express your interest in a feature by adding it to your profile. You can also try out the Dynamic filter.

Accessibility (WAI & 508)
Accounting
Administration
Ajax
Articles & Submissions
Backlinks
Banner
Batch
BigBlueButton audio/video/chat/screensharing
Blog
Bookmark
Browser Compatibility
Calendar
Category
Chat
Comment
Communication Center
Consistency
Contacts Address book
Contact us
Content template
Contribution
Cookie
Copyright
Credits
Custom Home (and Group Home Page)
Database MySQL - MyISAM
Database MySQL - InnoDB
Date and Time
Debugger Console
Directory (of hyperlinks)
Documentation link from Tiki to doc.tiki.org (Help System)
Docs
DogFood
Draw
Dynamic Content
Preferences
Dynamic Variable
External Authentication
FAQ
Featured links
Feeds (RSS)
File Gallery
Forum
Friendship Network (Community)
Group
Help
History
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
jQuery
Kaltura video management
Karma
Live Support
Logs (system & action)
Lost edit protection
Mail-in
Map
Menu
Meta Tag
Missing features
Visual Mapping
Mobile
Mods
Modules
MultiTiki
MyTiki
Newsletter
Notepad
OS independence (Non-Linux, Windows/IIS, Mac, BSD)
Organic Groups (Self-managed Teams)
Packages
Payment
PDF
Performance Speed / Load / Compression / Cache
Permission
Poll
Profiles
Quiz
Rating
Realname
Report
Revision Approval
Scheduler
Score
Search engine optimization (SEO)
Search
Security
Semantic links
Share
Shopping Cart
Shoutbox
Site Identity
Slideshow
Smarty Template
Social Networking
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Staging and Approval
Stats
Survey
Syntax Highlighter (Codemirror)
Tablesorter
Tags
Task
Tell a Friend, alert + Social Bookmarking
Terms and Conditions
Theme
TikiTests
Timesheet
Token Access
Toolbar (Quicktags)
Tours
Trackers
TRIM
User Administration
User Files
User Menu
Watch
Webmail and Groupmail
WebServices
Wiki History, page rename, etc
Wiki plugins extends basic syntax
Wiki syntax text area, parser, etc
Wiki structure (book and table of content)
Workspace and perspectives
WYSIWTSN
WYSIWYCA
WYSIWYG
XMLRPC
XMPP




Useful Tools