Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 09-26-2003, 07:21 PM   #1
Registered: Mar 2003
Location: Columbia, SC
Distribution: Mepis, Libranet, Vector, Slackware
Posts: 42

Rep: Reputation: 15
Backup script needed

I am currently running a debian server at work that I used to pull "Ghost" images when rebuilding PC's. The main Ghost server is a W2K box at our main site. It's in on an Active Directory domain, but I have no problems getting to it.

However if we pull an image from the main box, it takes 1.5 to 2 hrs to ghost a PC. From my little Debian Samba server, it takes 8-15 minutes. With our overkill on bandwidth, I don't know why it takes so long from the W2K box. It takes our techs 45 minutes at the same site the box is at to pull an image!

Anyway, I want to ensure the images stay up to date with the main box. I would like to know how to do this. Will rsync handle this? Do I need to create a script?

I would like it to compare the two files, if different, delete the one on my server and get a copy from the main server.
Old 09-27-2003, 08:50 AM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Rsync should be fine for this so long as you have mounted the share that the images are on from the remote box just run something like:
rsync -arz /mnt/imgs_on_remote/ /home/myimages/


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Server backup solution needed mikeheggy Linux - General 4 03-30-2005 03:40 PM
dvd backup advice needed countingbeans24 Linux - Newbie 4 11-15-2004 09:55 PM
simple backup script needed ferret_dude Programming 4 05-24-2004 08:45 AM
postfix as a backup MX-what is needed? bruce1271 Linux - General 0 03-16-2004 09:59 PM
cross network backup account needed alfy Linux - Security 1 06-01-2003 10:34 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:50 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration