Revision as of 09:51, 11 March 2026 by Charlot Cobben (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

DevOps:Doc/PageSync/2-0/maintenance-script

PageSync also comes with a maintenance script, in order to import previous exported pages.

Options

summary
Additional text that will be added to the files imported History.
user
Your username. Will be added to the import log. [mandatory]
rebuild-index
Rebuild the index file from existing files in export folder
force-rebuild-index
Used with 'rebuild-index' to suppress confirmation
rebuild-files
Will take the index file and re-create all files from the database
rebuild-files-clean
since version 2.7.0 REL1_43 only : Same as rebuild-files, but will now also physically unused files from the server
force-rebuild-files
Used with rebuild-files. This forces rebuild-files without prompting for user interaction
skip-if-page-is-changed-in-wiki
Will not overwrite a page in the wiki if this page has a different edit user.
analyze ( as off 2.6.6 REL1_43 only! )
Will check file status and consistency. Should discover any inconsistency between the Pages in the Wiki and stored within PageSync.
continue-on-error ( as off 2.6.8. REL1_43 only! )
When rebuilding files, do not stop on error, but continue and show a list of errors when finished.

ShareFile import options

install-shared-file
Url or path on the server to a PageSync share file
install-shared-file-from-temp
Name of the PageSync Share file already in the PageSync TempPath
silent
Will show no output in the terminal until it is finished.