Jump to content

cpjitservices

Members
  • Posts

    3,591
  • Joined

  • Last visited

Blog Entries posted by cpjitservices

  1. cpjitservices
    Just A quick blog about Rsync on A CentOS 5.6 box, currently I'm using Rsync to backup our Samba Server - all 500 Gigs of it!!
     
    It's going to take a few days but it will have an exact replica of the Samba Server on the Rsync Server and you don't have to have any clients installed on other machines for Rsync to work all you need is Administrative credentials on the machine you are going to Rsync with.
     
    Once I've figured all of this out I will be setting my Rsync box to start backing up automatically every night (full backup) and also when a file is changed on the Samba Server, I'm going to try and figure out the latter as I havem't figured out how Rsync will be able to detect that A file has changed or been removed etc and so to backup accordingly, once I have done so though I'm sure it's going to be very handy, also I'll be setting the Rsync box to backup all of the the user areas and profiles held on the DC's and also the Users folder on the PC's.
     
    First create a folder on your Centos box in which you can mount the drive you want to backup, for example I created the folder mount_tmp and mounted our Samba share onto this folder.
     
    The commands I have been using so far are:
     
    mount -t cifs \\\\<ip address>\\sharename /mount_tmp -o user=<username on remote machine>%<password>
     
    That command will mount the remote drive onto the backup folder, make sure you have administrative rights on the remote machine and use the correct username and password, to start to Rsync you'll want to create another folder on your CentOS box to actually back upto so I created A folder called Backup. To Rsync I sue the following command.
     
    rsync --progress --stats -v -r /mount_tmp/* /backup
     
    this will start backing up the mount on the mount_tmp folder, you can read the Rsync Man pages to find out what the switches are but from memory -v enables verbosity and -r means recursive directories << you must use -r to backup folders & directories, and don't forget to use --progress and --stats as this will show you the percentage of files copied to the Backup folder.
     
    After all that is done I will us the df -h commnad to check drive space.
     
    I hope this blog helps you, it has been an interesting journey with Rsync this is the first time I've used it.
     
    Thanks for looking.
  2. cpjitservices
    I don't know maybe I think wrong but it's ridiculous that the NM has a plan to roll out Win 2008 and Win 7 Pro in the next 3 years.... seems a bit too long to me! by then arn't we going to have another version of Server and another version of Windows I bet we will. I know it takes time to vigorously test a new OS ready for full site roll outs but we've already been testing it for 3 months, although now we are apparently out of Licenses for 7 Enterprise.
     
    At the moment we are running Netware 6.5 which to be honest the network is running Dog slow, partly due to all the servers nearly at full capacity, we have no support at all now for Netware and it is now that we are running into problems. Our client machines at the moment are all XP which isnt a problem because they work fine and students and staff are happy with that. To give an example of how slow our servers are getting we got a boat load of new Stone PC's the other day so that we can start decommissioning the old ones, we use Zen and ENGL for imaging, we had 40 machines to be imaged and I could only do 5 at a time using the Zen / ENGL imaging process, I switched to FOG and tried to rollout the new image but when the machines loaded up the Novell clients and Zenworks would crash and make the OS unusable so I had to use Zen for imaging whatever.
     
    It's going to be a big job rolling out the new Images and the new Domain across all of our remote sites in which I think it's 15 we have in total, we are all ready for it and to be honest we all cant wait because it'll be so much more reliable being a vanilla network.
     
    On another note, I'm desperately still trying to find a full time job in IT in East Yorkshire but it doesn't look promising!.
×
×
  • Create New...