Solved

Rsync multiple directories

Posted on 2009-07-15
1
1,509 Views
Last Modified: 2013-12-01
I have a batch file that kicks of an rsync of 2 differnt source directories and 2 different destination directories - I am having issues with this .  Here is the script:

rsync -rlt -v --progress --stats --delete /cygdrive/F/groups/ /u/ /groups/ 1>>\\jaxback02\f$\backup_logs\%computername%_groups_rsync.log

rsync -rlt -v --progress --stats --delete /cygdrive/F/users/ /u/ /users/
1>>\\jaxback02\f$\backup_logs\%computername%_Users_rsync.log

I am getting this error:
Rsync error: change_dir "/u" failed, no such file or directory.

I do get the /cygdrive/f/groups to rsync, but the /cygdrive/f/users does not
0
Comment
Question by:Akostech
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
Akostech earned 0 total points
ID: 24863391
anyone???
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A quick step-by-step overview of installing and configuring Carbonite Server Backup.
Microservice architecture adoption brings many advantages, but can add intricacy. Selecting the right orchestration tool is most important for business specific needs.
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question