Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 4th June 2008, 10:55
overdose overdose is offline
Junior Member
 
Join Date: Apr 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Question Scheduled Backups With Rsyncbackup On Debian Etch question

Greetings. I have been receiving a very frustrating error while following this tutorial. I was wondering if anyone who has gone through this tutorial has an inclination as to what is going on. I am stumped.

I am able to successfully test and execute both the manual and weekly backup sets, but not daily! Here is the error it spits at me when i attempt:
Code:
localhost:~#rsyncbackup -x /etc/rsyncbackup -vv -d -s daily
Code:
PATH DIR:/etc/rsyncbackup/
LOG DIR:/etc/rsyncbackup/logs
CONFIG_FILE:/etc/rsyncbackup/config.conf
SOURCE FILE:/etc/rsyncbackup/sources.conf
DESTS_FILE:/etc/rsyncbackup/destinations.conf
BACKUPSET_FILE:/etc/rsyncbackup/backupset.conf
BACKUPSET:daily

Backup set 1	logs		to		store_logs
Source          : logs
Source dir      : [local] /var/log
Source opts     : 
Source cond     : true
Destination     : store_logs
Destination dir : [ERROR]: Unknown destination type, should be file or local!
Destination opts: 
Destination cond: 
Config options  : --stats --progress --links --hard-links --times --recursive --perms --owner --group --compress --backup
Backupset opts  : true
All options     : --stats --progress --links --hard-links --times --recursive --perms --owner --group --compress --backup   
All conditions  :  true true

solarnix:/etc/rsyncbackup# nano config.conf 
solarnix:/etc/rsyncbackup# rsyncbackup -x /etc/rsyncbackup -vv -d -s daily
PATH DIR:/etc/rsyncbackup/
LOG DIR:/etc/rsyncbackup/logs
CONFIG_FILE:/etc/rsyncbackup/config.conf
SOURCE FILE:/etc/rsyncbackup/sources.conf
DESTS_FILE:/etc/rsyncbackup/destinations.conf
BACKUPSET_FILE:/etc/rsyncbackup/backupset.conf
BACKUPSET:daily

Backup set 1	logs		to		store_logs
Source          : logs
Source dir      : [local] /var/log
Source opts     : 
Source cond     : true
Destination     : store_logs
Destination dir : [ERROR]: Unknown destination type, should be file or local!
Destination opts: 
Destination cond: 
Config options  : --stats --progress --links --hard-links --times --recursive --perms --owner --group --compress --backup
Backupset opts  : true
All options     : --stats --progress --links --hard-links --times --recursive --perms --owner --group --compress --backup   
All conditions  :  true true
Here are my config files, exactly as they are at the time of error.

Code:
/etc/rsyncbackup/config.conf
Code:
--stats
--progress
--links
--hard-links
--times
--recursive
--perms
--owner
--group
--compress
--backup
Code:
/etc/rsyncbackup/sources.conf
Code:
configs|local:/etc|true|
logs|local:/var/log|true|
Code:
/etc/rsyncbackup/destinations.conf
Code:
store_configs|ssh[key=id_rsa,incremental=7,tag=increment]:root@192.168.0.3:/backups/configs/|/usr/bin/traceroute -m 2 192.168.0.3|--bwlimit=300 --de$
store_logs|ssh[key=id_rsa,incremental=7,tag=increment]root@192.168.0.3:/backups/logs/|/usr/bin/traceroute -m 2 192.168.0.3|--bwlimit=300 --delete
store_manual|ssh[key=id_rsa]:root@192.168.0.3:/backups/manual/|/usr/bin/traceroute -m 2 192.168.0.3|
Code:
/etc/rsyncbackup/backupset.conf
Code:
[manual]
configs,logs|store_manual|true|

[daily]
logs|store_logs|true|

[weekly]
configs|store_configs|true|
From what I can tell, the errors are telling me that the destination directory does not exist. I have checked and double checked and all destination directories are correct. Any suggestions are greatly appreciated!!
Reply With Quote
Sponsored Links
  #2  
Old 5th June 2008, 16:59
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Can you try
Code:
[daily]
configs,logs|store_logs|true|
instead?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 30th August 2008, 03:00
PolishFish PolishFish is offline
Junior Member
 
Join Date: Aug 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Just looking over your /etc/rsyncbackup/destinations.conf file, it looks like you missed a colon after the ssh[key=id_rsa,incremental=7,tag=increment] part (compare your first line to your second line).

After that, you should be good to go.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question on Virtual Users And Domains With Postfix, Courier And MySQL (Debian Etch) Horizon HOWTO-Related Questions 12 26th February 2008 20:22
Perfect setup Debian Etch ISPConfig - DNS Server kdclaver Installation/Configuration 16 28th December 2007 01:39
The Perfect Setup - Debian Etch (Debian 4.0) mysql question paul55 HOWTO-Related Questions 9 4th November 2007 11:28
Bind Failed christoph2k HOWTO-Related Questions 4 28th April 2007 00:57
e-mail problem!!! Debian 3.1 maroonworks Installation/Configuration 18 6th December 2005 14:42


All times are GMT +2. The time now is 01:54.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.