Page 1 of 1 1
Topic Options
#198821 - 2010-06-09 11:57 AM NTBackup script, modify BKS file
Jimay3677 Offline
Fresh Scripter

Registered: 2010-02-17
Posts: 9
Loc: Australia
Hi, I have created a simple NTBackup script which shuts down all running machines, copies all files to be backed up to hard disk then runs NTBackup and backs up to tape then sends the logs via email.

I currently have a folder on each users home drive that I don't backup, currently I stop this from being backed up by copying their home drive with robocopy and excluding the personal folder before it it saved to tape.

I'd like to have kixtart scan the home drive share for any folder called personal - no backup then add it to the NTBackup BKS file as a exclusion..

Does anyone know how to do this?

Thanks.

Top
#198832 - 2010-06-10 03:47 AM Re: NTBackup script, modify BKS file [Re: Jimay3677]
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11628
Loc: CA
It would be great and pretty easy to do except that KiX cannot create the file format required.
Microsoft NTBACKUP uses Unicode UTF-16LE NO BOM for creating and reading a .BKS file

Long post on different discussion that then brought up the idea of using NTBACKUP
http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=193773#Post193773

If you're willing to install KiXforms then you might be able to do it.

UDF for it is here: (not certain it will will write the file correctly now as MS has changed it)
createBKS() - create selections file for NTBackup
http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=120687#Post120687

Top
Page 1 of 1 1


Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Allen) and 1172 anonymous users online.
Newest Members
StuTheCoder, M_Moore, BeeEm, min_seow, Audio
17884 Registered Users

Generated in 0.132 seconds in which 0.109 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org