root@debian-braincase:~# ls /home/test/.dokuwiki/data.current/pages
logs start_me.txt
Do a backup by running braincase-backup.
Checking the available backups:
root@debian-braincase:~# braincase-recall test
2012.10.30.22.23.20 2012.10.30.23.43.48 2012.10.30.23.46.41 2012.10.31.04.25.08
2012.10.31.04.25.08 is the latest... lets check the listing:
root@debian-braincase:~# braincase-recall test 2012.10.31.04.25.08
tar: Removing leading `/' from member names
/home/test/
/home/test/.bashrc
/home/test/logs/
/home/test/logs/backup.log
/home/test/logs/restore.log
/home/test/.dokuwiki/
/home/test/.bash_history
/home/test/memories.list
/home/test/public_html/
/home/test/public_html/.gitkeep
/home/test/mbox
/home/test/.profile
/home/test/test.git.mirror/
...
/home/test/test.git.mirror/branches/
/home/test/.braincase/
/home/test/.braincase/config
/home/test/.bash_logout
Checking the backup script shows that an exclude file may be to blame:
a.add "#{$user.home}"
a.exclude $user.repo # don't backup the main repo
a.exclude "#{$user.home}/.git" # don't backup the working git dir
a.exclude $user.dirs[:dropbox] # don't include dropbox folder
a.exclude "#{$user.home}/*dropbox*" # don't include dropbox install dirs
a.exclude "#{$user.home}/Backup" # temporary backup data is in here! don't need it!
--> a.exclude "#{$user.dirs[:doku]}/data.*" # only include current dokuwiki stuff
a.add "#{$user.dirs[:doku]}/data.current" # only include current dokuwiki stuff
a.exclude $user.dirs[:backups] # don't include stuff thats already backed up
Have files in dokuwiki:
Do a backup by running
braincase-backup
.Checking the available backups:
2012.10.31.04.25.08 is the latest... lets check the listing:
Checking the backup script shows that an exclude file may be to blame: