Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'd like to know if there is a way to back up folders located on a linux server to a NT server? what could be the possibilities available ? I want to tar and transfer the files to my NT server. Is there any free/opensource software that could enable me to do that ? I wish could found a solution which allows me from the NT server to do all those backup operations.
Thanks in advance for your advices and suggestions
Just use samba to mount any NT shares. So long as you have an account on the NT machine and can authenticate, you can move files back and forth transparently.
You could use rsynch protocol to do it.
write a script which tars and backs up your files on to Linux itself. Include rsynch in the script itself to backup and send files to the NT server.
Let me know how you get on...
i can help u with the command for rsynch if this idea appeals to you.
Thanks for your replies, rohitsarin18 could you please tell me a bit more about the rsynch protocol? It means with the use of this protocol I won't need to use Samba ? Do you have examples of Bash scripts where rsynch is included?
Rsynch can be used both on windows and Unix. It is available for download online.
Following are the commands you can use
1. Sending files from one machine to another
a. Login to the server and go to the directory where the folder to be backed up is kept.
b Type the following command by filing in values for < >.
/usr/local/bin/rsync --rsh='ssh -p 22' -av <Enter Your Folder to be backed up> <usernameof the destination server>@<IP address of the destination server>:<Destination directory>
E.g. /usr/local/bin/rsync --rsh='ssh -p 2122' -av xyz admin@201.92.103.111:/opt1/abc
Above command will copy folder xyz from host machine to the location /opt1/abc on the target machine.
2. Receiving files using rsynch
a. Login to the destination machine and go to the directory where the folder to be backed up will be kept.
b Type the following command by filing in values for < >.
/usr/local/bin/rsync --rsh='ssh -p 2122' -av adm@201.92.103.111:/opt/xyz .
Above command will bring the folder xyz from the directory on the target machine to the local directory of the destination machine. Please do not ignore "." at the end.
Please make sure that you mention the complete path of rsynch as mentioned above. You can incorporate above command in your script.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.