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 revision Previous revision
tips:backup_script [2016-06-19 13:02]
122.57.80.61 Made rsync backup code a downloadable code block
tips:backup_script [2020-01-03 17:43]
yair [An rsync alternative] formating
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/*
tips/backup_script.txt · Last modified: 2020-01-03 17:43 by yair