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
I definitely have tabs instead of spaces where needed.
When I run
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
|