Feeding and Watering
Food and Water
The TTC website documents the same tasks used for the WCG website, see the links below.
The preferred method it to automatically backup changed files nightly. See the above link for details.
The simplest method of backing up the website is to upload it to a PC using ftp software. FileZilla is recommended for this purpose.
- Currently a backup is held by the webmaster.
- Backup regularly somewhere between monthly and annually
- backup the pmwiki pages and installation, and the uploaded files
- using an ftp client transfer everything in the pmwiki directory and below from the WCG server to local storage
- using an ftp client transfer everything in the pmwikiuploads directory and below from the WCG server to local storage
- if required archive this data to a CD or DVD, compressing if necessary.
The PmWiki content management software needs to be kept updated by the webmaster.
- Update once or twice a year
- Current version is pmwiki-2.2.109
The process is straight forward:
- download the software
- review the release notes and change log
- check the installation instructions
- unzip the downloaded archive, this will greate a folder with a number of subfolders and files
- upload by ftp the contents of the pmwiki folder to the
pmwikifolder on the KiwiWiki server
- download the most recent version of the recipe
- review its installation instructions
- upload by ftp to the cookbook folder and other folders as required by the recipe's installation instructions
New file directories
The file structure of the website is illustrated to the left. Each group of pages, and each page of attached (uploaded) files has its own directory.
To create a new directory use the FileZilla create directory option.
Then change the directory permissions to 777, as shown.
Normally there is no need to delete files from the server. If it is absolutely necessary to delete files such as photos or uploaded documents from storage rather than not displaying them on a page this is done using FTP (file transfer protocol).
The philosophy for the website is not to delete stuff. A page of older 'archival' files or photos can be maintained if you want to keep them available.
Photos are retained for ever, just add new trip pages using a naming convention, eg "2008-12-13 Trip-X"