DokuWiki

It's better when it's simple

User Tools

Site Tools


tips:backup_script

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
tips:backup_script [2016-06-19 13:02] – Made rsync backup code a downloadable code block 122.57.80.61tips:backup_script [2022-10-18 22:34] – fixed typo 47.16.145.185
Line 193: Line 193:
     tar -cjf ${backupdir}/archive/${bkname}-${mydate}.tar.bz2 ./${bkname}-0     tar -cjf ${backupdir}/archive/${bkname}-${mydate}.tar.bz2 ./${bkname}-0
 fi fi
-</code+</file
-The script uses an //exclude// file, listing all file and dir "pattern name" you wish not to include in the backup. Here is a copy of my ''wwwbackup-exclude-list.txt'' file:+The script uses an //exclude// file, listing all file and dir "pattern name" you wish not to include in the backup.\\ 
 +Here is a copy of my ''wwwbackup-exclude-list.txt'' file:
 <file> <file>
 data/.cache/* data/.cache/*
Line 346: Line 347:
 ===== windows command line script ===== ===== windows command line script =====
  
-Although wndows "ms dos shell" is not powerful as Unix shells, it can handle a lot of problems with or without thirdy part programs ([[http://www.robvanderwoude.com/batchfiles.php|Some examples]]). For this script you must install (or unzip) the [[http://www.ncftp.com/ncftp/|ncftp client executables]], and then you can run the following script:+Although wndows "ms dos shell" is not powerful as Unix shells, it can handle a lot of problems with or without third party programs ([[http://www.robvanderwoude.com/batchfiles.php|Some examples]]). For this script you must install (or unzip) the [[http://www.ncftp.com/ncftp/|ncftp client executables]], and then you can run the following script:
  
 <code dos ncFtpGetDokuWikiBackup.bat> <code dos ncFtpGetDokuWikiBackup.bat>
tips/backup_script.txt · Last modified: 2024-01-08 13:29 by 84.136.35.186

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki