Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Manual Backup of a regular LGTO -Client 2

Status
Not open for further replies.

speedyx

Technical User
Dec 15, 2003
20
0
0
CH
Hi Folks
a simple question.

A customer needs to create client initiated backups... so far no problem, i will use networker user!

But wen i will to backup in a different pool, so i have to scripts some stuff.

Who knows, how i backup the hole system to pool "xy" ?


kind regards roger

 
Hi Roger,

$ save -?

usage: save [<options>] [path ...]

options: [-BEiLKVSnquvx] [-s server] [-c client-name] [-N name] [-e expiration time] [-w browse time] [-y retention time] [-f dirfile] [-b pool] [-F file] [-I input file] [-g group] [-l level] [-t date] [-m masquerade] [-W width]


The option "-b" seems to do what you want.

ok?
 
Hi norestore

thankx! yes, it was that... but i have forget to say, my client is an windows 2000 server :-(

sorry....

my temporary (not working) script is:

C:\Programme\Legato\nsr\bin\save.exe -s [SERVER] -b W_NT_MANUELL

___________________________________

I wanna create a BACKUP_Manuell.bat -File für my user....

any idea's ?

kind regards roger
 
why is not working? may be your pool doesn't meet the filters.

Cheers.

Chacal, Inc.[wavey]
 
Run the program with added verbosity (save -v) to receive more messages. However, if it is a server related issue, you will not see it here.

Maybe the server just waits for a media from this pool - check your pendig messages in the admin GUI.
 
ok i will inform you...

tnkx roger
 
%windir%\System32\runas.exe /user:[domain]\[username]
"C:\Programme\Legato\nsr\bin\save.exe -vvvvv -s [SERVERNAME] -g [GROUPNAME]"


After this script fire up, so i will recieve following error:

....
save: got prototype for /
save: got prototype for /
save: got prototype for /
save: got prototype for /
save: got prototype for /
save: got prototype for /
save: got prototype for /
save: got prototype for /
save: got prototype for /
save: got prototype for /
save: got prototype for /
save: got prototype for /
save: got prototype for /
save: got prototype for /
save: got prototype for /
save: got prototype for /
save: got prototype for C:\
save: got prototype for D:\
save: got prototype for C:\
save: got prototype for C:\WINNT\system32\config\
save: got prototype for C:\WINNT\system32\config\
save: got prototype for C:\WINNT\system32\config\
save: got prototype for C:\WINNT\system32\config\
save: got prototype for C:\WINNT\system32\config\
save: got prototype for C:\WINNT\system32\config\
save: got prototype for C:\WINNT\system32\wins\
save: got prototype for C:\WINNT\system32\dhcp\
save: got prototype for C:\WINNT\system32\
save: got prototype for C:\WINNT\CSC\
save: got prototype for C:\Dokumente und Einstellungen\Default User\
save: got prototype for C:\
save: got prototype for C:\WINNT\
save: got prototype for C:\
save: got prototype for C:\WINNT\
save: got prototype for C:\Temp\
save: got prototype for C:\WINNT\Debug\
save: got prototype for C:\WINNT\system32\DTCLog\
save: got prototype for C:\WINNT\Registration\
save: got prototype for C:\
save: got prototype for C:\Dokumente und Einstellungen\All Users\DRM\
save: got prototype for C:\WINNT\repair\
save: got prototype for C:\WINNT\system32\
save: got prototype for C:\WINNT\system32\config\
save: got prototype for C:\WINNT\system32\NtmsData\
save: got prototype for C:\WINNT\system32\dllcache\
save: got prototype for C:\WINNT\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04
FC295EE}\
save: got prototype for C:\
save: cannot stat C:\WINNT\SYSTEM32\: No such file or directory
save: RPC error: RPC cannot encode arguments
save: save of . to [SERVERNAME]failed

---

rpcinfo -p [SERVERNAME]
program vers proto port
100000 2 tcp 7938
100000 2 udp 7938
390113 1 tcp 7937
390103 2 tcp 8069
390109 2 tcp 8069
390110 1 tcp 8069
390120 1 tcp 8069
390103 2 udp 9463
390109 2 udp 9463
390110 1 udp 9463
390120 1 udp 9463
390105 5 tcp 9463
390105 6 tcp 9463
390107 5 tcp 8088
390107 6 tcp 8088
390104 505 tcp 9423
390104 1005 tcp 8271
390104 4005 tcp 9605
390104 4105 tcp 9649
390104 4505 tcp 9178
390104 1905 tcp 9496
390104 2005 tcp 9446
390104 2105 tcp 7981
390104 2305 tcp 9763
390104 2405 tcp 8776
390104 2505 tcp 8421
390104 3505 tcp 8830
390104 3005 tcp 9752
390104 9605 tcp 8977
39010412305 tcp 8190
39010413205 tcp 8989
39010416305 tcp 7987
program vers proto port
100000 2 tcp 7938
100000 2 udp 7938
390113 1 tcp 7937
390103 2 tcp 8069
390109 2 tcp 8069
390110 1 tcp 8069
390120 1 tcp 8069
390103 2 udp 9463
390109 2 udp 9463
390110 1 udp 9463
390120 1 udp 9463
390105 5 tcp 9463
390105 6 tcp 9463
390107 5 tcp 8088
390107 6 tcp 8088
390104 505 tcp 9423
390104 1005 tcp 8271
390104 4005 tcp 9605
390104 4105 tcp 9649
390104 4505 tcp 9178
390104 1905 tcp 9496
390104 2005 tcp 9446
390104 2105 tcp 7981
390104 2305 tcp 9763
390104 2405 tcp 8776
390104 2505 tcp 8421
390104 3505 tcp 8830
390104 3005 tcp 9752
390104 9605 tcp 8977
39010412305 tcp 8190
39010413205 tcp 8989
39010416305 tcp 7987

C:\>

--- all seams fine..

any idea?

kind regard roger


 
.....
save: got prototype for C:\WINNT\repair\
save: got prototype for C:\WINNT\system32\
save: got prototype for C:\WINNT\system32\config\
save: got prototype for C:\WINNT\system32\NtmsData\
save: got prototype for C:\WINNT\system32\dllcache\
save: got prototype for C:\WINNT\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\
save: got prototype for C:\
save: cannot stat C:\WINNT\SYSTEM32\: No such file or directory
save: RPC error: RPC cannot encode arguments

This usually means that NW can not use the arguments you provided or which the software found by itself.


Can it be that your NW version is a bit picky? - It finds
C:\WINNT\system32\ but it wants to backup
C:\WINNT\SYSTEM32\

There were versions which made a difference in upper and lower cases. Just try and specify a sample directory like
save C:\bla_bla

Make sure the command runs by itself before you put it inside a script.

 
Dear Admins and Specialists
sorry the long time i not respond... but this problem is categorie 3 or 4...

so i have try again:

now we have success to backup files, but the settings for group / pool will not work correctly. also the level of backup not run correctly

any ideas?

kind regards and thank you verry mutch for your support!


save: D:\Downloads\Software\Windows" s-001-2161.sg.hcare.ch -vvvvv -p -l full -g W_MT_MANUELL -b WIN: No such file or directory

C:\Temp>save D:\Downloads\Software\Windows\ -s xx.yy.gaga.ch -vvvvv -p -l full -g W_MT_MANUELL -b WIN
save: Using s-001-2161.sg.hcare.ch as server
save: s-001-2161.sg.hcare.ch: No such file or directory
save: -vvvvv: No such file or directory
save: -p: No such file or directory
save: -l: No such file or directory
save: full: No such file or directory
save: -g: No such file or directory
save: W_MT_MANUELL: No such file or directory
save: -b: No such file or directory
save: WIN: No such file or directory
D:\Downloads\Software\Windows\Ethereal\WinPcap_3_0.exe
D:\Downloads\Software\Windows\Ethereal\
D:\Downloads\Software\Windows\freepdf.exe
....
D:\Downloads\Software\Windows\WebSoftWare\Setup for Album Express 260b.exe
D:\Downloads\Software\Windows\WebSoftWare\
D:\Downloads\Software\Windows\
D:\Downloads\Software\
D:\Downloads\
D:\
/

save: D:\Downloads\Software\Windows 275 MB 00:01:50 232 files
save completion time: 8-25-05 10:14a

C:\Temp>
 
Look up the manpages (command line reference) for the correct syntax - the files/directories should be the LAST parametere for a save command.
 
Hi 605

tnkx for your answer: now my script look like

save -s xx.yy.gaga.ch -vvvvv -p -l full -g W_MT_MANUELL -b ADV02 D:\Downloads\Software\Windows\

so the next challenge! how i can backup system, state system db, etc. into same pool/group... ?

Alle together in a backup.bat file (i take the runas-functionality)

tnkx for answering

 
Again, the answer is in the manpages - believe me, you will need to lok at it from time to time.

Just add the new save set (whatever it is) to this line, separated by a 'space'. If the save set itself contains a 'space' (like 'SYSTEM STATE'), enclose the name with parenthesis (like "SYSTEM STATE:").

Unfortunateley, i just verified that if you mix a 'normal' path with "SYSTEM STATE:", the last one will not be recognized properly any moer (NW 7.2).
 
605 Thankx for you answer (again!)
the manpages, under windwos are not existen. the help summary is not reflecting my questions...

do yo have a txt oder pdf from this manpage?

kind regard

roger

 
There is only this one set and in general it fits all OS. However, you have to be a bit flexible and translate the UNIX examples into Windows.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top