Ok, so when running it manually, I get the following error:
root < at > serrano:/home/itai/.offlineimap# rsnapshot daily
/bin/cp: cannot stat
`/media/backup/daily.0/home/home/itai/.offlineimap/lock': No such file
or directory
/bin/cp: cannot stat
`/media/backup/daily.0/home/home/itai/.offlineimap/pid': No such file or
directory
/bin/cp: cannot stat
`/media/backup/daily.0/home/home/itai/.offlineimap/Repository-Florida/FolderValidity/Auto-Train.Ham':
No such file or directory
/bin/cp: cannot stat
`/media/backup/daily.0/home/home/itai/.offlineimap/Repository-Florida/FolderValidity/Auto-Train.Spam':
No such file or directory
/bin/cp: cannot stat
`/media/backup/daily.0/home/home/itai/.offlineimap/Repository-Florida/FolderValidity/Auto-Train.Report':
No such file or directory
/bin/cp: cannot stat
`/media/backup/daily.0/home/home/itai/.offlineimap/Repository-Florida/FolderValidity/Discard':
No such file or directory
/bin/cp: cannot stat
`/media/backup/daily.0/home/home/itai/.offlineimap/Repository-Florida/FolderValidity/Junkmail':
No such file or directory
----------------------------------------------------------------------------
rsnapshot encountered an error! The program was invoked with these options:
/usr/bin/rsnapshot daily
----------------------------------------------------------------------------
ERROR: /bin/cp failed. Perhaps this is not GNU cp?
ERROR: Error! cp_al("/media/backup/daily.0/", "/media/backup/daily.1/")
When I check in the backup folder specified, I see this:
/media/backup/daily.0/home/home/itai/.offlineimap/Repository-Florida/FolderValidity#
ls -all
ls: cannot access Auto-Train.Ham: No such file or directory
ls: cannot access Auto-Train.Spam: No such file or directory
ls: cannot access Auto-Train.Report: No such file or directory
ls: cannot access Discard: No such file or directory
ls: cannot access Junkmail: No such file or directory
total 8
drwx------ 2 itai bluecube 4096 2011-06-23 09:50 .
drwx------ 3 itai bluecube 4096 2011-06-23 09:50 ..
-????????? ? ? ? ? ? Auto-Train.Ham
-????????? ? ? ? ? ? Auto-Train.Report
-????????? ? ? ? ? ? Auto-Train.Spam
-????????? ? ? ? ? ? Discard
-????????? ? ? ? ? ? Junkmail
So something has gone wrong somewhere. When I look in the original
folder, I see this
/home/itai/.offlineimap/Repository-Florida/FolderValidity# ls -all
total 44
drwx------ 2 itai bluecube 4096 2011-06-23 09:46 .
drwx------ 4 itai bluecube 4096 2010-06-10 16:18 ..
-rw-r--r-- 1 itai bluecube 11 2010-06-10 16:28 Auto-Train
-rw-r--r-- 1 itai bluecube 11 2011-06-23 09:46 Auto-Train.Ham
-rw-r--r-- 1 itai bluecube 11 2011-06-23 09:46 Auto-Train.Report
-rw-r--r-- 1 itai bluecube 11 2011-06-23 09:46 Auto-Train.Spam
-rw-r--r-- 1 itai bluecube 11 2011-06-23 09:46 Discard
-rw-r--r-- 1 itai bluecube 11 2010-11-29 14:45 Drafts
-rw-r--r-- 1 itai bluecube 11 2010-06-10 16:28 INBOX
-rw-r--r-- 1 itai bluecube 11 2011-06-23 09:46 Junkmail
-rw-r--r-- 1 itai bluecube 11 2010-09-29 14:45 Sent
I can't delete the folder and nor can I chown or chmod the files. What I
really don't get is why this would happen. Looking back at daily.2 and
further, the file ownerships and permissions are correct.
Joakim Kargaard
SYSTEMS ADMINISTRATOR
Blue Cube Systems (Pty) Ltd
P.O. Box 751, Stellenbosch, 7599, South Africa
Unit G.2, Neutron House, 3 Neutron Street, Techno Park, Stellenbosch,7600
Office: +27 (0) 21-880-1036 Fax: +27 (0) 21-880-0688
Mobile: +27 (0) 79-774-2505 Web:
www.bluecubesystems.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
NOTICE - Proprietary Warning and Disclaimer: This, without praejudicium
e-mail and attachment/s contain information confidential to the intended
recipient that is subject to legal privilege and the reservation of
rights. If you are not the intended recipient, you may not disclose,
distribute, copy, print, or act, or rely on it in any manner, and in
which event of unintended receipt please delete it and please notify the
sender. The sender hereby distances itself from and accepts no liability
for the unauthorised use of its e-mail facility and/or the sending of
unauthorised e-mail communications.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
On 06/23/2011 08:49 AM, David Keegel wrote:
Have a look at the stderr output from rsnapshot.
If you are running rsnapshot manually it should just come up on your
terminal. (Even if you don't normally run rsnapshot manually you can
run it once manually from a shell.)
If you are running rsnapshot from cron, the stdout and stderr output
is normally emailled to root (or whatever user you are running as).
There will probably be a error visible there, for example disk full.
On Thu, Jun 23, 2011 at 08:24:17AM +0200, Joakim Kargaard wrote:
Hi all,
We have been using rsnapshot for the last three months and it has been
working really well. We have an ubuntu 8.04 server that we are backing
up via a cifs mount to a Seagate Blackarmor NAS. For the last few days
the backups have not been working and I am seeing the following in the
error logs:
/bin/cp -al /media/backup/daily.0 /media/backup/daily.1
[22/Jun/2011:18:52:17] /usr/bin/rsnapshot daily: ERROR: /bin/cp failed.
Perhaps this is not GNU cp?
[22/Jun/2011:18:52:18] /usr/bin/rsnapshot daily: ERROR: Error!
cp_al("/media/backup/daily.0/", "/media/backup/daily.1/")
[22/Jun/2011:18:52:18] rm -f /var/olma/rsnapshot.pid
I have done a google search but can't find much there.
The config file has not changed at all. We are running rsnapshot 1.2.9-1.
Anyone who can suggest what the problem might be?
Thanks
Regards
Joakim
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss