Admin.BackupThings History

Hide minor edits - Show changes to output - Cancel

24 April 2014 by 124.170.39.56 -
23 April 2014 by 124.170.39.56 -
23 April 2014 by 124.170.39.56 -
Changed line 7 from:
The Attach:backup_pmwiki.txt script (rename it to php) adds an "?action=backup" which can be used to backup all the useful directories (and subdirectories). You can configure the directory where to place backups, set up the backup format and if you want, at the end of creation of backup file, show a link to download it.
to:
The backup_pmwiki.txt script (rename it to php) adds an "?action=backup" which can be used to backup all the useful directories (and subdirectories). You can configure the directory where to place backups, set up the backup format and if you want, at the end of creation of backup file, show a link to download it.
23 April 2014 by 124.170.39.56 -
Changed lines 1-28 from:
backup page using ?action=backup
to:
backup page using ?action=backup

http://meta-studies.net/pmwiki/pmwiki.php?n=Admin.BackupThings?action=backup

Documentation is at http://nicolas.raibaut.free.fr/wiki/Nico/BackupPmWiki

The Attach:backup_pmwiki.txt script (rename it to php) adds an "?action=backup" which can be used to backup all the useful directories (and subdirectories). You can configure the directory where to place backups, set up the backup format and if you want, at the end of creation of backup file, show a link to download it.
This script is inspired from BackupPages, but saves all directories mentioned at BackupAndRestore (and not only wiki.d).
It also fixes several bugs mentioned at BackupPages.
Backup directory might be created by hand and given 777 rights.
The variable redefining the backup directory can be set before the script inclusion, as well as other parameters (see script).
It is better that this script is set only for a dedicated page, and so, the include set in a file associated to this page like
 /local/Admin.BackupWiki.php
This file may content something like :
  <?php if (!defined('PmWiki')) exit();
  //$BackupDir = '/mybackupdirectory/';  // defaults to '/backup/'
  // other parameters : see backup_pmwiki.php
  include_once('cookbook/backup_pmwiki.php');
  ?>
Restrictions
This backup page can be read protected though ?action=backup is still possible on a read protected page. A cryptic name for the page and directory can help protection, or back_pmwiki.php can be edited to use an action name different from backup.
Anyone can download the backup archive file if they know or can guess its URL.

See also
BackupPages (original script)
Modified BackupPages script, adds ability to e-mail backup archive
BackupAndRestore
RestorePmWiki
23 April 2014 by 124.170.39.56 -
Changed line 1 from:
Attach:backup_pmwiki.php
to:
backup page using ?action=backup
23 April 2014 by 124.170.39.56 -
Added line 1:
Attach:backup_pmwiki.php


Page last modified on 24 April 2014