Author Topic: Back-up via rsync results in change ownership errors?  (Read 2061 times)

Cyrus22

  • Calf
  • *
  • Posts: 1
Back-up via rsync results in change ownership errors?
« on: May 29, 2009, 12:43:36 pm »
   

Hi,

We are running linux open SuSE on several machines which collect real time data.  I have put a .php in the crontab that executes an rsync command to backup data files from the linux machine to a Terrastation pro (mirrored configuration) which is mounted to the linux box over a local area network.  I can execute this script from the command line, and get:

"rsync: chown "/dir/file.xxx" failed Permission denied <13>."

though an error is shown, the files are transferred.

But this will not run from the crontab (root crontab).  Messages in mail indicate the script runs, but the data is not transferred.  Are there change ownership issues, or some configuration to allow this for the terastation?

Thanks very much in advance. 

 


Dustrega

  • Big Bull
  • *****
  • Posts: 1394
Re: Back-up via rsync results in change ownership errors?
« Reply #1 on: May 31, 2009, 03:57:01 am »
Scripting and custom scripts meant to interface with RSYNC on the NAS is not something that would be troubleshot here.