Save the original file as a “backup, Save an additional copy in another location, Backups of your work – Nisus Writer Pro User Manual

Page 389: Copy’s file name

Advertising
background image

Customizing & Automating Solutions

369

!

Nisus Writer Pro comes with this option set to save your files to a temporary backup every 10
minutes, as a safety measure. The backup file is only used in the unlikely incident of Nisus Writer Pro
crashing. If a crash occurs, the next time you start Nisus Writer Pro a dialog appears asking if you
would like to recover the backup of your autosaved file(s). It is likely that the recovered file has
additional changes to your document made since you had manually saved the file, and is, therefore,
more current.
The recovered files are listed in the Document Manager.
In the highly unlikely occurrence that a recovered backup has no original (perhaps you threw the
original away after the crash, or the even less likely case that you had moved a file into the Backups
folder and were working on that) the Document Manager will offer to open up the backup.

Have Nisus Writer Pro automatically create backups of your work

Every time you save a Nisus Writer Pro file the application can automatically rename the file on disk
to “File Name*” and then save the modified version of the file you had in memory. The process is as
follows:

1. User initiates a save.

!

All of what follows is done automatically by Nisus Writer Pro, without you having to pay any attention
to the procedure.

2. Nisus Writer Pro checks if the user has the “keep prior copy” option enabled. If so:
3. If the last prior copy already exists, delete it, eg: remove “file*”.
4. Make a copy of the current file on disk using the preferred suffix, eg: copy “file” to “file*”.
5. Save the in-memory document to disk using a temporary file name, let’s call it “temp”.
6. Swap the temporary file with the desired final location, eg: swap the file “temp” to be “file”.
7. Check if the user has the “keep additional copy” option enabled. If so:
8. If the last additional copy exists, delete it, eg: remove “/backups/file”.
9. Copy the just saved file to the secondary location, eg: copy “file” to “/backups/file”.

Steps 5 and 6 are handled largely by the Macintosh OS, which sets up the temporary location and
does the swapping. It (should be) implemented in such a way that the last copy of the file won't be
overwritten unless the current save operation is a complete success.

Save the original file as a “backup”

Check Keep prior copy of each file using the file name suffix: from the Backups section of
the Saving portion of the Preferences. Nisus Writer Pro comes set so that an asterisk “*

appears at the end of the file’s name.

!

If you do not check this option, once Nisus Writer Pro has saved the modified file to disk, it
removes the original file.

Set what Nisus Writer Pro appends to the previous copy’s file name

1. Check Keep prior copy of each file using the file name suffix: from the Backups section of

the Saving portion of the Preferences.

2. Type what you want appended (up to four characters) in the text box where the * appears.

Nisus Writer Pro does not limit you to the number or type of characters you can use in this
string.

If you do not check this option, once Nisus Writer Pro has saved the modified file to disk, it removes
the original file.

Save an additional copy in another location

1. Check Save duplicate copy of each file to another location from the Backups section of the

Saving portion of the Preferences.

2. Click Choose….
3. In the variant of the Open File dialog that appears, navigate to where you want to have the file

saved and then click Choose Folder.

You can choose a folder on any attached hard drive. If your hard drive is not connected at the time
of your save, Nisus Writer Pro alerts you. As illustrated in Figure 401 you can choose to either:

Don’t Backup at this time;

Use the moment to plug in the missing drive and Try Again;

Decide to click Choose Folder… to save the file in a different secondary location.

Advertising