Anna Hegedus
2007-04-12 21:02:30 UTC
Hello everyone,
This is really my first foray into backing up files with rsnapshot. I
inherited this system from a previous system administrator and
basically, he left in a hurry! I'm having two problems right now with
rsnapshot from what I can see...
The first problem - The daily backups are not running right now.
Whenever they are initiated by cron, the backup appears to start, then
stalls and dies with the following message in /var/log/rsnapshot:
"/usr/bin/rsnapshot daily: ERROR: Lockfile /var/run/rsnapshot.pid
exists, can not continue!"
Would it be all right for me to just remove this lockfile and continue
the backups as normal? Or is there something else I can do?
Problem number two is that the backups are becoming corrupted every once
in a while (Either by the issue above or something else that can't be
determined). The backups are not able to be removed from the directory
(probably because of broken links) with rm -f. I'm getting a bunch of
messages saying "access denied" when I try to take these out. I'm
guessing I need to take this drive, unmount it, then run a reiserfsck
over it, but I just wanted to double-check if anyone else has had this
same problem before I embark on a 9 day trek. Also, when these backups
become corrupt, I have been mv'ing them as follows:
mv daily.0 corrupted.0
mkdir daily.0
when I try to do this:
cp -r daily.1 daily.0
It won't let me. It just sits there for hours.
ANY help you can provide would be excellent. As I am used to doing
backups on an old S390 mainframe, this is a bit new for me ;)
Thanks again!
Sincerely,
Anna
This is really my first foray into backing up files with rsnapshot. I
inherited this system from a previous system administrator and
basically, he left in a hurry! I'm having two problems right now with
rsnapshot from what I can see...
The first problem - The daily backups are not running right now.
Whenever they are initiated by cron, the backup appears to start, then
stalls and dies with the following message in /var/log/rsnapshot:
"/usr/bin/rsnapshot daily: ERROR: Lockfile /var/run/rsnapshot.pid
exists, can not continue!"
Would it be all right for me to just remove this lockfile and continue
the backups as normal? Or is there something else I can do?
Problem number two is that the backups are becoming corrupted every once
in a while (Either by the issue above or something else that can't be
determined). The backups are not able to be removed from the directory
(probably because of broken links) with rm -f. I'm getting a bunch of
messages saying "access denied" when I try to take these out. I'm
guessing I need to take this drive, unmount it, then run a reiserfsck
over it, but I just wanted to double-check if anyone else has had this
same problem before I embark on a 9 day trek. Also, when these backups
become corrupt, I have been mv'ing them as follows:
mv daily.0 corrupted.0
mkdir daily.0
when I try to do this:
cp -r daily.1 daily.0
It won't let me. It just sits there for hours.
ANY help you can provide would be excellent. As I am used to doing
backups on an old S390 mainframe, this is a bit new for me ;)
Thanks again!
Sincerely,
Anna