Results 1 to 6 of 6

Thread: Rsync servers on Linux

  1. #1
    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.

  2. #2
    Join Date
    Jun 2009
    Posts
    1,112

    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.

  3. #3
    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.

  4. #4
    Join Date
    Nov 2009
    Posts
    857

    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.

  5. #5
    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.

  6. #6
    Join Date
    May 2009
    Posts
    1,084

    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.

Similar Threads

  1. HP servers Migration from UNIX to Linux
    By Pony in forum Networking & Security
    Replies: 5
    Last Post: 04-03-2011, 10:47 PM
  2. Replies: 2
    Last Post: 11-09-2010, 02:13 AM
  3. Pros & Cons for Linux servers
    By Chhaya in forum Operating Systems
    Replies: 2
    Last Post: 28-08-2009, 05:43 PM
  4. rsync problem
    By Jagdish Gada in forum Operating Systems
    Replies: 3
    Last Post: 19-02-2009, 08:37 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,489,698.09768 seconds with 17 queries