Go Back   TechArena Community > Technology > Networking & Security
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Rsync servers on Linux

Networking & Security


Reply
 
Thread Tools Search this Thread
  #1  
Old 25-12-2010
Member
 
Join Date: Nov 2010
Posts: 90
Rsync servers on Linux
  

For those who are working on Linux servers are aware about the Rsync backup process. I need some information on this. For the first time I am going to run a backup process on my network. Here I have a Linux server that hangs in my network. My colleagues says that this is even easier than you think and it is also possible to take the user of first-class Linux program to use rsync. Is this secure enough to backup the data properly. I want to backup my directory which is the home directory. Basically In the directory two directories of Windows desktop should be secured.

Reply With Quote
  #2  
Old 25-12-2010
Member
 
Join Date: Jun 2009
Posts: 1,108
Re: Rsync servers on Linux

Rsync command very handy for making backups because it transfers only the differences between the source folder and target folder, several options are possible by this. This is the one which I try on my system - sync-avb - delete. / source /. / target. I explain you about the command which can provide more highlight on the same. It was a shortcut that replaces the options-rlptgoD basically mean that we want recursion and preserve everything as rights, owners, groups etc. Rsync-v Specifies that you want to inform us of what it does, it will display the files and sent to the console, without this option rsync works silently. If you have any doubt in your command line you can add the -n, this way rsync will show you what he would do without it.
Reply With Quote
  #3  
Old 25-12-2010
Member
 
Join Date: May 2008
Posts: 945
Re: Rsync servers on Linux

Do not use invoke-rc.d rsync stop / start because it does not work. Remember to create the file / etc / rsync /, the message file for login / etc / rsyncd.motd and of course the files you wish to use here / root / backup / home / public. Rsync is an effective method to implement a backup with rsync that allows, as its name suggests to set up a remote synchronization, which we will make periodic. The advantage of the synchronization can develop systems more regular backup because only the amended information will be replaced on the backup job. To enable synchronization with rsync, go change the line in / etc / default / rsync here - RSYNC_ENABLE = true. After that you have to create the configuration file / etc / rsyncd.conf.
Reply With Quote
  #4  
Old 25-12-2010
Member
 
Join Date: Nov 2009
Posts: 854
Re: Rsync servers on Linux

You must ensure that the same user is used on both sides of linux and Windows. This means the user has nothing to do with an actual user of the Windows side but must exist on the Linux side. Does user is mentioned in the line auth users = backup-bw. If not then change everywhere if it is not mentioned on the backup-pc. Also this must include the file / etc / rsyncd. secrets which is to have the form userID: userPW userPW where password is the same as that recorded in the file pointed to by the parameter-password-file = c: \ secret. That the file / etc / rsyncd.secrets does the right reading and writing as root. For the first execution, do not use the parameter -delete or better yet use the parameter -n which is used to tell rsync that it is a dry run.
Reply With Quote
  #5  
Old 30-12-2010
Member
 
Join Date: Nov 2008
Posts: 1,066
Re: Rsync servers on Linux

Rsync uses by default to a block-check algorithm. This files are divided into blocks which are compared using a checksum in accordance blocks are not copied. This can be files, which are written only to the end and can be beneficial. The files that are used are log files or sequential mailboxes for example. With other file types such as Dbase files or Word files can block the testing effort required to exceed the potential savings at a distance, then rsync is very slow. Rsync is a safe program, although it has been discussed in the mailing lists cases in which Rsync individual is said to have ignored directories. It is definitely generate a good idea with a script with 'find' in the destination and source directory file lists and compare them with diff.
Reply With Quote
  #6  
Old 05-01-2011
Member
 
Join Date: May 2009
Posts: 1,080
Re: Rsync servers on Linux

There are some bugs which you must also be aware about Rsync. Like for example the left out file even though they existed in the source, they were not on target to locate. Sometime the file are not updated even though they were in the source is newer than the destination, they were not updated at the Target. Rsync builds an internal file list before being copied. If a very large number of files to be copied, is not enough if the RAM memory. It is right to say that rsync actually really not sync but replicated the files which is quiet possible. A new files to add or modify files and file tree B with these changes to keep up to date.
Reply With Quote
Reply

  TechArena Community > Technology > Networking & Security
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Rsync servers on Linux"
Thread Thread Starter Forum Replies Last Post
HP servers Migration from UNIX to Linux Pony Networking & Security 5 04-03-2011 10:47 PM
Physical to Virtual Conversion of Linux Servers with VMware Converter BootCD fumble Guides & Tutorials 2 11-09-2010 02:13 AM
Pros & Cons for Linux servers Chhaya Operating Systems 2 28-08-2009 05:43 PM
rsync problem Jagdish Gada Operating Systems 3 19-02-2009 08:37 AM


All times are GMT +5.5. The time now is 09:11 PM.