Displaying 3 results from an estimated 3 matches for "backup_includes".
Did you mean:
backup_include
2011 Sep 22
8
Export variables into other classes
Hi all
I have been pondering this for a while, but not yet seen a clean way
to do it
I have a few puppet classes (apache/ntp/mysql/bacula/nagios/etc)
I would like to generate part of my bacula and nagios configs for each
host based on which other classes that host belongs to (or to put it
another way, I would like to export variables from classes which would
be used by my bacula and nagios
2011 Sep 16
2
Cannot get the syntax of --include-from right
Here is part of my backup script:
nice -n 15 rsync -avl --exclude=".*" \
--include-from="/home/bob/backup_includes" \
"$fromdir" "$todir"
Here is the content of /home/bob/backup_includes
/home/bob/.vimrc
/home/bob/.gitconfig
My problem is that neither the .vimrc nor .gitconfig are copied to the
backup directory.
I have read the man page about --include-from but clearly I don't u...
2012 Feb 26
1
Problem with excludes and includes
Hi Folks,
I can't get the syntax of --include-from right, nothing at all gets
transferred.
The rsync command:
# do the backup
nice -n 15 rsync -av \
--include-from="/home/bob/backup_includes" \
--exclude-from="/home/bob/backup_excludes" \
$fromdir $todir
The excludes file:
.*
*~
Videos/
Downloads/
Dropbox/
The includes file:
.vimrc
.gitconfig
.bash_aliases
.bashrc
Videos/Music/Playlist/
Videos/Music/Originals/
Downloads/Iso/
I've spent hours on the man page gettin...