Archive: How would I Back up one of my Drives?


How would I Back up one of my Drives?
I want to Make a Backup of one of my Drives.

I thought I could use this by Puttin the Script in my
D Drive.


File /r ..\Local Disk (D:)


Altho that Doesn't work... How would I do that?

-MichaelFlya-

This should probably work:

File /r D:\*.*
"Local Disk (D:)" is just a display name used in My Computer. It's not the real path.


Thanks Kichik That Starts to Back up my Drive.

It Does however Stop at this Folder in Which I Didn't
even know Existed till now,


D:\System Volume Information


My Computers way of Storing Information on that Drive for
Possible Recovery for that Drive. It Gives me an Error because
one of the Files are Tamper Proof. Anyways I thought I could
do this Code Below but it didn't Work, and it is so far the
only way I know of to Exclude something.


File /x D:\System Volume Information


Actually it Gives me this Error When I use that above.


File: "Volume" -> no files found.
Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] |
/oname=outfile one_file_only)


Can you tell me how to Exclude that Folder?




-MichaelFlya-

Try:
File /r D:\*.* /x "System Volume Information"

/x is for excluding files. D:\System Volume Information is a path.

-Stu


Unfortunately the Code.


File /r D:\*.* /x "System Volume Information"


Did not work... I was given the Same error...
Failed Opening File "D:\System Volume Information\& Rest of the Path"

The same Error as with just this.


File /r D:\*.*


-MichaelFlya-

Hmm perhaps the order has to be different:

File /r /x "System Volume Information" D:\*.*

-Stu




File /r /x "System Volume Information" D:\*.*


Yes that Last bit Worked.... Thanks Afrow UK.

It Went for 30 mins on Backing up... Until Some sort of
Problem.

Internal compiler error #12345: error mmapping file (2058179971, 33554432) is out of range.

It was Backing up a Folder with WMV Movies in it when it
Did that.

So to Exclude the Folder that it Gives that error on. I
need to Figure out how to do Two Folders at once within
that Code. Maybe even Three Folders at once...

Well I can't Test these things as Good as Other things. The
Compiler runs for a good 30 mins before it has an Error so
May I ask, How do I do Multiple Folders also?

-MichaelFlya-

This usually happens if you haven't got enough HDD space left.
http://forums.winamp.com/showthread....ighlight=12345

-Stu


Well To be as Clear as Possible.


Name "D_Drive_Backup"
OutFile "C:\Documents and Settings\Owner\Desktop\Desktop_D_Drive_Backup.exe"
InstallDir $Desktop\D_Drive_Backup

My Main Drive.
C Drive has 140GB of Free Space.

And the Drive I am Backing up.
D Drive has 4.68GB of Used Space.


It Backs it up from the C Drive Places it on the C Drive
and then When I run it it Will be Installed onto my C Drive
in one Folder on the Desktop.

Just as Big as a Dvd... In which with a Little Compresson
you would have it just a bit smaller. That Post seems to
State that The NSIS Uses a Portion of my C Drive to Do the
Temp Work and the Limit must be at 800MB. So I need to
Redirect the NSIS Compiler to Do the Work somewhere Else.


-MichaelFlya-

It was said that "NSIS uses the system temporary directory".
How do I change NSIS to Point to a Different Directory?

I use NTFS on my C Drive, But Fat32 on my D Drive. If that
Changes anything.

-MichaelFlya-


If you're D: drive contains over 4GB of data, the problem is not lack of free space. NSIS can't create installers that large.


Thanks !!!

OK good to know... How large can NSIS Create an Installer?

-MichaelFlya-


2gB because that is the maximum file size on Win9x (as far as I know).

-Stu


Well To know the Exact Limit is still Something I want to
know. I am reading through the Docs and I haven't Seen
the Limit yet.. Also how to Do Multiple Excludes on that
line of Code.

Thanks for any help all of you .....

-MichaelFlya-


2GB is the limit. If you use solid compression, it's the limit of uncompressed data size. If you don't use solid compression, it's the limit of compressed data.

Multiple exclude can be done with multiple /x's. It's shown in the examples in the documentation of File.


Thanks kichik and Afrow UK for all of your Help on this !!!

-MichaelFlya-