שלום לכולם, זקוק לעזרה

Unicorn98

New member
שלום לכולם, זקוק לעזרה ../images/Emo13.gif

-- פרסמתי הודעה זו בפורום "חומרה ותוכנה", אבל נדמה לי שכאן מקום לא פחות מתאים, והם לא ממש עזרו.. -- אני מנהל שני מחשבים ברשת מקומית, ששייכים לאותה Workgroup (אחד win2k, השני XP). אחד מהם הוא שולחני שדולק כל הזמן, והשני נייד שלעתים כבוי. אני מחזיק קבצים קריטיים על השולחני שמתעדכנים באופן תדיר (לעתים רציף, לעתים כל כמה שעות), ואני רוצה למצוא דרך לגבות אותם על הנייד, בלא התערבות. הדרך שחשבתי עליה היא רפליקציה פשוטה בפולדר גיבוי שייוחד לכך על הנייד, אבל נתקלתי בכמה בעיות - 1. הרפליקציה צריכה לגשת לנייד ולבדוק אם הוא דולק, רק אז לבצע את הגיבוי. 2. ישנו מעבר דרך FW, צריך להתחשב בכך. 3. אם יש אפשרות לנהל מספר קבצים של גיבויים אחרונים, זה עדיף. 4. נושא של הרשאות win2k-xp, אני לא רוצה לפתוח share מוחלט (במ"מ).. אני אשמח אם יהיו למישהו תובנות והוא יכול לספר לי עליהן
תודה
 

lionBSD

New member
sorry...

the keyboard jumped.... 1. in order to copy files from a place to another place you need to open the firewall between them, if its ftp or file sharing... 2. "bamam" shmabam, the most secured is unplugged and deleted. if you want you can do it as secure as it gets but much more complex. and now for the easyest way i can think of. a batch file can check weather the laptop is connected or not and then copy the files you need from one place to another share, if you have a trusted connection you dont need to supply username and password, if its not that way, you'll have to supply username and password in the script. if its stil not secure enough you can convert the batch file to binary with all kind of batch2exec tools. the batch file: ---------------------------------------------------------------------- set v_response=none FOR /F "tokens=1" %%i IN ('ping -n 1 10.50.44.51') DO IF %%i==Reply set v_response=alive IF %v_response%==alive ( xcopy c:\backup_folder \\laptop\share\ /E /I /Y exit;)else ( echo laptop is dead exit; ) ---------------------------------------------------------------------- you can scheduel it with windows scheduler to run whenever you want. thanks LionBSD​
 

blueeye

New member
באותו הקשר...

נהנתי לקרוא את הסקריפט והשתמשתי בו בעצמי, השתמשתי בסקריפט כדי לבצע גיבוי של קובץ PST של האאוטלוק, רציתי לדעת האם יש פקודה שניתן להוסיף שתסגור את ה outlook במידה והוא פעיל.... כי אחרת אי אפשרת לבצע העתקה של ה PST .... בברכה, רועי
 
למעלה