Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i want to make incremntal backup for repository by the following command :- svnadmin dump myrepos --revision 1001:2000 --incremental > dumpfile2 but i want to copy the output on windows box as following :- svnadmin dump myrepos --revision 1001:2000 --incremental > file_in_windows_box

how i can do it ??? i can copy directly to window or may be i must creat batch file in windows to read it from stream ... how i can do it ???? i want to copy the output of svnadmin to windows directly without store it in unix because i have a limit size in linux server

share|improve this question
up vote 1 down vote accepted

Use Samba to mount the Windows disk on your Unix filesystem. First, share the disk or folder you want to use in Windows (right-click on it). Then as root on Linux:

mkdir /windows
mount -t smbfs -o username=username,password=password //windowspc/sharename /windows

Use your Windows username, password, the name of your Windows PC and the share name you created. Then you could quite literally do

svnadmin dump myrepos --revision 1001:2000 --incremental > /windows/file_in_windows_box 
share|improve this answer
how i can install it to my unix server .... i can do it by command line ? what is the command i can by it install samba to unix – Mohammad AL-Rawabdeh Oct 31 '10 at 9:25
It will depend on exactly which Unix you are using. For example on my Debian Linux, the command is "apt-get install samba". – Gaius Oct 31 '10 at 9:49
Can you see the Windows PC from the Linux box? Is there a firewall or anything between them? Do you have DNS properly configured? You will need to speak to your sysadmin. – Gaius Oct 31 '10 at 12:16
Wait, you need to put in YOUR OWN username, password, the name of your actual Windows PC etc etc. Like if my username is gaius I would say username=gaius – Gaius Oct 31 '10 at 12:19
ok thanks i do it and it is share the folder but when i execute svnadmin dump myrepos --revision 1001:2000 --incremental > /windows/file_in_wind the following error appear /windows/file_in_wind : Permission denied – Mohammad AL-Rawabdeh Oct 31 '10 at 13:20

The redirection works on the same machine.

If you want to copy the file over the network to another machine, you need to have some server installed on the windows (destination) machine.

For example, you need to have an FTP server. Then, you can use an ftp client to copy the file.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.