Hello.
Using SUSE LINUX 10.0 - rsnapshot 1.2.1 - rsync 2.6.6
Can someone tell me why I'm getting the following error when
backing up a windows share using smbclient?
/bin/cp: target `/work/.snapshots/hourly.0/InfoServices/' is not a directory: No such file or directory
----------------------------------------------------------------------------
rsnapshot encountered an error! The program was invoked with these options:
/usr/local/bin/rsnapshot hourly
----------------------------------------------------------------------------
ERROR: /bin/cp failed. Perhaps this is not GNU cp?
ERROR: Warning! cp_al("/work/.snapshots/hourly.1/InfoServices/", "/work/.snapshots/hourly.0/InfoServices//")
The pertinent line in the script is:
/usr/bin/smbclient //${SERVER}/${SHARE} -A ${AUTHFILE} -Tc - mgrau 2>/dev/null | tar xf -
and works fine. My configuration:
config_version 1.2
snapshot_root /work/.snapshots/
cmd_cp /bin/cp
cmd_rm /bin/rm
cmd_rsync /usr/bin/rsync
cmd_ssh /usr/bin/ssh
cmd_logger /bin/logger
cmd_du /usr/bin/du
interval hourly 6
interval daily 7
interval weekly 4
link_dest 1
verbose 2
loglevel 3
logfile /var/log/rsnapshot
du_args -csh
backup /srv/www localhost/
backup_script /root/bin/InfoServices.sh InfoServices/
backup root < at > host1.domain:/srv/www/ host1.domain/
backup root < at > host1.domain:/etc/ host1.domain/
backup root < at > host1.domain:/root/bin/ host1.domain/
backup root < at > host2.domain:/opt/oracle/scripts/ host2.domain/
backup root < at > host2.domain:/orabu/ host2.domain/
Thanks
-- Mike
-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss
