Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
compose.libre.sh
Manage
Activity
Members
Labels
Plan
Issues
1
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ecobytes
compose.libre.sh
Commits
fa921557
Commit
fa921557
authored
10 years ago
by
Michiel de Jong
Browse files
Options
Downloads
Plain Diff
Merge branch 'migration-format-0.3'
parents
0acbfcba
1f2ef1ab
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/migration-format.md
+37
-5
37 additions, 5 deletions
doc/migration-format.md
with
37 additions
and
5 deletions
doc/migration-format.md
+
37
−
5
View file @
fa921557
# IndieHosters migration format, version 0.2.2
# IndieHosters migration format
# Version 0.3
### General
An IndieHosters migration archive is a directory structure (probably packaged up as a tar file or zip file).
There should be an 'indiehosters.json' file in the root of the archive. It should contain at least the following fields:
*
format: the URL of this spec (probably https://indiehosters.net/spec/0.3)
*
application: a string, which determines what the rest of the folder contents should be imported into.
## Known
When migrating a Known application, the 'indiehosters.json' file should furthermore contain the following fields:
*
application: 'known'
*
version: the version of Known as a string, for instance '0.6.5'
*
database:
*
engine: the database engine used, either 'mysql' or 'mongodb'
*
name: the database name inside the dump file, for instance 'known'
*
file: the database dump file inside the archive, for instance 'dump.sql'
*
uploads: the uploads folder name inside the archive, for instance 'uploads/'
*
plugins: the folder with any non-standard plugins for instance 'plugins/'
## WordPress
(to be determined)
## Version 0.2.2 (deprecated)
When a user exports their data for domain.com, they get a zip or tar file that contains different files, depending on which application is
When a user exports their data for domain.com, they get a zip or tar file that contains different files, depending on which application is
running on their domain:
running on their domain:
## If using the 'static' application
##
#
If using the 'static' application
*
TLS/domain.com.pem - Concatenation of the unencrypted private and public key of the TLS certificate, and intermediate CA cert if applicable.
*
TLS/domain.com.pem - Concatenation of the unencrypted private and public key of the TLS certificate, and intermediate CA cert if applicable.
*
static/www-content - static content to be placed in the web root
*
static/www-content - static content to be placed in the web root
## If using the 'static-git' application
##
#
If using the 'static-git' application
*
TLS/domain.com.pem - Concatenation of the unencrypted private and public key of the TLS certificate, and intermediate CA cert if applicable.
*
TLS/domain.com.pem - Concatenation of the unencrypted private and public key of the TLS certificate, and intermediate CA cert if applicable.
*
static-git/GITURL - git url to pull the static website content from
*
static-git/GITURL - git url to pull the static website content from
## If using the 'WordPress' application
##
#
If using the 'WordPress' application
*
TLS/domain.com.pem - Concatenation of the unencrypted private and public key of the TLS certificate, and intermediate CA cert if applicable.
*
TLS/domain.com.pem - Concatenation of the unencrypted private and public key of the TLS certificate, and intermediate CA cert if applicable.
*
mysql/dump.sql - the dump of all their MySQL databases
*
mysql/dump.sql - the dump of all their MySQL databases
...
@@ -23,7 +55,7 @@ running on their domain:
...
@@ -23,7 +55,7 @@ running on their domain:
*
wordpress/.htaccess - htaccess file for WordPress
*
wordpress/.htaccess - htaccess file for WordPress
*
wordpress/wp-content - php files to be placed in the web root
*
wordpress/wp-content - php files to be placed in the web root
## If using the 'Known' application
##
#
If using the 'Known' application
*
TLS/domain.com.pem - Concatenation of the unencrypted private and public key of the TLS certificate, and intermediate CA cert if applicable.
*
TLS/domain.com.pem - Concatenation of the unencrypted private and public key of the TLS certificate, and intermediate CA cert if applicable.
*
mysql/dump.sql - the dump of all their MySQL databases
*
mysql/dump.sql - the dump of all their MySQL databases
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment