Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/WardCunningham/relocate-wiki
Use these scripts to move sites to a new host
https://github.com/WardCunningham/relocate-wiki
Last synced: 5 days ago
JSON representation
Use these scripts to move sites to a new host
- Host: GitHub
- URL: https://github.com/WardCunningham/relocate-wiki
- Owner: WardCunningham
- Created: 2017-02-20T22:38:21.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-03-18T13:31:27.000Z (over 7 years ago)
- Last Synced: 2024-08-02T12:50:48.884Z (3 months ago)
- Language: Shell
- Size: 1.95 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-starred - WardCunningham/relocate-wiki - Use these scripts to move sites to a new host (others)
README
# relocate-wiki
Use these scripts to move sites to a new host# usage
Edit the scripts to have your from and to addresses.
Setup ssh keys on both remote hosts.
Then run the get script to transfer a site from one host to your laptop and then to the other host.
```
sh get.sh
```
This will prompt for a site name that should be one in a farm served from .wiki on the first host.
The script pauses at each step. Interrupt it if it looks to be doing the wrong thing.You shoud now be able to revise your dns to point traffic for the site to the new host.
With my setup this takes a few minutes.The second script is meant to record that you have moved a site.
Run it when you are happy to not be serving it from the original host any more.
```
sh got.sh
```
It moves your local copy from data/get to data/got.
It then moves your original host version from .wiki to .wiki/old.