LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 07-14-2007, 12:46 PM   #1
Mehmet Karatay
LQ Newbie
 
Registered: Nov 2006
Location: Edinburgh
Distribution: Red Had Enterprise Edition (work) , Fedora Core 6 (home), PCLinuxOS (laptop)
Posts: 4

Rep: Reputation: 0
problem setting up rsnapshot


I'm having trouble setting up rsnapshot to backup my files. I think I've done everything I need to but no backup seems to be created, although the log file claims the backup has been "completed successfully". Is there something obvious that I've missed? I've been following the rsnapshot HOWTO.

I've placed a copy of my rsnapshot.conf file and a log file at the end of this message. I'm doing this as root and definitely have write privileges to the snapshot root directory. When I run rsnapshot rsync appears when I look at top.

I am using Fedora 7 on an i686. I installed rsnapshot from the repository today so it should be a recent version, although I can't seem to find the actual version number. If there is any further information I should provide please let me know.

Thank you for any help/advice. :-)

Mehmet


When I run
Code:
rsnapshot configtest
I get
Quote:
Syntax OK
I definitely have tabs instead of spaces where needed.

When I run
Code:
rsnapshot -t daily
I get
Quote:
mv /backedup/files_backup/daily.1/ /backedup/files_backup/daily.2/
/bin/cp -al /backedup/files_backup/daily.0 /backedup/files_backup/daily.1
/usr/bin/rsync -a --delete --numeric-ids --relative --delete-excluded \
/home/lion/home/files /backedup/files_backup/daily.0/files_backup
touch /backedup/files_backup/daily.0/
Here is my rsnapshot.config:
Quote:
config_version 1.2
snapshot_root /backedup/files_backup
cmd_cp /bin/cp
cmd_rm /bin/rm
cmd_rsync /usr/bin/rsync
cmd_logger /usr/bin/logger
cmd_du /usr/bin/du
interval daily 7
interval weekly 4
interval monthly 3
verbose 2
loglevel 3
logfile /var/log/rsnapshot
lockfile /var/run/rsnapshot.pid
backup /home/lion/home/files files_backup
Finally here is the log message from a run
Quote:
[14/Jul/2007:17:14:45] /usr/bin/rsnapshot daily: started
[14/Jul/2007:17:14:45] echo 5102 > /var/run/rsnapshot.pid
[14/Jul/2007:17:14:45] /bin/cp -al /backedup/files_backup/daily.0 /backedup/file
s_backup/daily.1
[14/Jul/2007:17:14:47] /usr/bin/rsync -a --delete --numeric-ids --relative --del
ete-excluded /home/lion/home/files /backedup/files_backup/daily.0/files_backup
[14/Jul/2007:17:14:50] touch /backedup/files_backup/daily.0/
[14/Jul/2007:17:14:50] rm -f /var/run/rsnapshot.pid
[14/Jul/2007:17:14:50] /usr/bin/rsnapshot daily: completed successfully
 
Old 01-31-2008, 04:53 AM   #2
eoo
LQ Newbie
 
Registered: Nov 2003
Distribution: SuSE 8.1
Posts: 2

Rep: Reputation: 0
Ok, this has been sitting here for a while - but anyway: Shouldn't you just run
rsnapshot daily
or you could say
rsnapshot -v daily
to see what's happening. Looks to me like this should work.

Cheers, Einar
 
  


Reply

Tags
backup, rsnapshot


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
rsnapshot require Lchown ok4life Linux - Software 3 01-11-2008 08:22 PM
Problem setting up new firewall hazmatt20 Linux - Networking 1 07-09-2007 11:03 PM
rsync and rsnapshot madman100 Linux - Newbie 4 10-10-2006 10:33 AM
rsnapshot rotating incorrectly section31 Linux - Software 0 09-17-2006 02:41 PM
Using rsnapshot to make a system backup Transition Slackware 1 03-21-2005 10:23 PM


All times are GMT -5. The time now is 12:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration