logo       

include_conf doesn't work: msg#00042

sysutils.backup.rsnapshot.general

Subject: include_conf doesn't work

What am I missing?

I have a base config, that I want all my rsnapshot configs to include.
The only thing I want in my actual rsnapshot configs is the snapshot
root, and the backup points. I have a rsnapshot-base.conf that has
everything in it, except for a snapshot root path and backup points. My
actual config looks something like this (I'm using 1.2.9):

cat /usr/local/etc/rsnapshot-san-a.conf:

####
include_conf /usr/local/etc/rsnapshot-base.conf

# All snapshots will be stored under this root directory.
snapshot_root /vol1/

#### FILE SERVERS ####
backup root@servername:/ san/root/
backup root@servername:/fs38 san/
backup root@servername:/fs47 san/
backup root@servername:/fs48 san/
####

Here's what a test looks like:
# rsnapshot -vt -c /usr/local/etc/rsnapshot-san-a.conf daily
----------------------------------------------------------------------------
rsnapshot encountered an error! The program was invoked with these options:
/usr/local/bin/rsnapshot -vt -c /usr/local/etc/rsnapshot-san-a.conf daily
----------------------------------------------------------------------------
ERROR: snapshot_root was not defined. rsnapshot can not continue.

Seems as though there is no place to actually insert the include_conf
directive for it to work correctly..

Eric




--
------------------------------------------------------------------------
Eric Anderson Sr. Systems Administrator Centaur Technology
Anything that works is better than anything that doesn't.
------------------------------------------------------------------------

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise