LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices



Reply
 
Search this Thread
Old 02-26-2007, 04:23 AM   #1
jimbo1954
Member
 
Registered: Oct 2006
Location: High Wycombe, Bucks, UK.
Distribution: Debian and Fedora Core in equal measure
Posts: 258

Rep: Reputation: 33
Automated Backups of Windoze with rsync


I have a server running rsync (daemon), and a bunch of Windoze laptops and desktops on the same network. The server has massive, RAID1 capacity. I have set up the Windoze systems so they can back up specific directories to the rsync server, each user being password-protected from interfering with other's backups (the users have identity only as far as the rsync system is concerned, they have no linux log-in identity).

This all works very well, except for the human component . They regularly "forget" to fire up cygwin and issue the backup command, so their backups are often out-of-date.

I would like to automate the process, and eliminate the users from the process!!!(heard that before?)I can fire up cygwin at windoze startup (put it in the "startup" folder), but I have no idea how to go about passing the rsync initiation command to Cygwin once it is started. If I could do that, I could get an automated backup session happening at boot time. Can anyone tell me how/if it is possible to pass the rsync command "automagically" to the Cygwin subsystem at start-time?

Alternatively, is there a way to hijack the cygwin shut-down process, so that the auto-backup is forced at shut-down, and collects everything from the latest session, rather than starting at system startup, when it will collect everything from the startup before the current one...I would guess not, but I have to ask!

Gimme a Clue!

Jimbo
 
Old 02-26-2007, 01:04 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
As this is really a Windows question, I have moved it to General
 
Old 02-26-2007, 01:07 PM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
Could you not create a scheduled task in Windows to do the back up? Maybe with a script...?
 
Old 02-26-2007, 03:08 PM   #4
jimbo1954
Member
 
Registered: Oct 2006
Location: High Wycombe, Bucks, UK.
Distribution: Debian and Fedora Core in equal measure
Posts: 258

Original Poster
Rep: Reputation: 33
Thanks for moving it Xavier, I wasn't sure where to put it, it seemed to combine both windoze and linux/unix

Quote:
Could you not create a scheduled task in Windows to do the back up? Maybe with a script...?
That's the thing, I probably could, I'm a reasonable scripter in *NIX, and I know the individual commands and that they work, but I have a problem of ignorance with starting a program in windoze, then getting the windoze batch file that just started that application to issue a linux-like command into the application.

I'm googling hard, but getting no progress

Any help gratefully received, I really am THICK in this area, so make it simple
 
  


Reply


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
LXer: Do Automated Cross-Platform Network Backups The Easy Way (Part 3) LXer Syndicated Linux News 0 06-14-2006 09:33 PM
LXer: Do Automated Cross-Platform Network Backups The Easy Way (Part 2) LXer Syndicated Linux News 0 06-11-2006 11:21 PM
LXer: Do Automated Cross-Platform Network Backups The Easy Way LXer Syndicated Linux News 0 06-11-2006 09:21 PM
Automated Backups Matir Linux - Software 2 06-28-2005 09:55 AM
Any automated scripts to run DVD Backups? bweiss Linux - Newbie 3 04-28-2005 10:52 AM


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

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