Click here to Skip to main content
15,886,664 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have some data that must be stored inside a windows computer in order to allow the program that uses it to work.

That data must be copied in the backups.

I only have a tape device on the main linux server.

How would you solve that?

Being able to copy the data from the source windows xp machine to the destination linux server?

I need something that can be put inside a script and that doesn't need me to introduce manually the password in each operation. I want to execute that script automatically before executing the backup process (I already know how to execute that in that specific moment) and therefore it must be unattended.

Any idea?

As always thank you in advance! :thumbsup:
Posted

Tricky... I think I would share the Windows folder and mount it on the linux server using smbfs or cifs, maybe mounting and unmounting it before and after. In fact, I think I probably have done something like that in the past when I had to back up PCs to a FreeBSD server.

Here's a link that might help: http://linux.die.net/man/8/smbmount[^]
 
Share this answer
 
Comments
fjdiewornncalwe 4-Jan-12 14:34pm    
Sounds right. I was thinking that having the directory as a share would be the solution as well.
Could you use for example Samba to share a directory from the Linux box and copy the necessary data using that share? The copying could be perhaps automated at windows side using AT or Scheduled tasks. At the Unix server perhaps scheduling the actual backup script using crontab. Links:
- Samba[^]
- cron[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900