DevOps:Doc/PageSync/2-0/maintenance-script
m Text replacement - "{{Doc properties" to "{{Csp class properties" |
No edit summary |
||
| Line 17: | Line 17: | ||
; skip-if-page-is-changed-in-wiki | ; skip-if-page-is-changed-in-wiki | ||
: Will not overwrite a page in the wiki if this page has a different edit user. | : Will not overwrite a page in the wiki if this page has a different edit user. | ||
; analyze ( as off 2.6.6 | ; 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. | : 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 === | === ShareFile import options === | ||
Revision as of 10:21, 5 March 2026
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
- 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.
- 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.