Displaying 3 results from an estimated 3 matches for "backup_includ".
Did you mean:
backup_include
2011 Sep 22
8
Export variables into other classes
...to export variables from classes which would
be used by my bacula and nagios classes).
As an example, my bacula template for a client currently has:
FileSet {
Name = "FileSet-<%= hostname %>"
Include {
Options {
signature = MD5
compression = GZIP
}
<% backup_include.split(/, */).each do |file| -%> File = <%= file
%>
<% end -%>
# INC = <%= backup_include %>
}
Exclude {
File = /sys
File = /proc
File = /var/tmp
<% backup_exclude.split(/, */).each do |file| -%> File = <%=
file %>
<% end -%>...
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...
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 gett...