Kelly Anderson wrote:

> Why wouldn't you use NAnt to do backups? 

For what it's worth ... And depending on what kind of backup you mean
... I do.


If you mean "keeping a copy of the results of a build" ...

... In all my software build scripts, I have a "release" target that
does the whole build and then archives the full results into a
repository area on our network. This archive includes a full executable
image (all the files in their correct directories), release notes,
supporting scripts (e.g. SQL), installer etc etc.


If you mean "keeping a copy of the source that went into a build" ...

... The "deploy" target that I use to migrate my website from test into
production also checks the source into SubVersion and applies a label so
that I know exactly what went live when. (Technically, this is an Ant
script not a NAnt one, but I still feel it's a valid example).


If you mean "mirroring a file tree to a second location" ...

... I used to use the <copy> task to maintain a backup of key documents
and files across my home network on another machine. Worked very well at
the time, but I've since moved to a different approach.


Hope this helps,
Bevan.


******************************************************************************
"This message (and any files transmitted with it) are confidential and 
may be legally privileged. If you are not the intended recipient please
notify the sender immediately and delete this message from your system.

This message does not necessarily reflect the views of the
Reserve Bank of New Zealand. If the recipient has any concerns
about the content of this message they should seek alternative
confirmation from the Reserve Bank of New Zealand."
******************************************************************************





-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to