One category disappeared

D

dbartosic

I had some issues with a damaged database yesterday and tried to
rebuild. Everything seems fine now, I think, but I did get a message
saying some data may have been lost. Just now I found that one of the
categories I use the most has disappeared, the one that I use to pull
up all of our members who get our newsletter electronically. After I
picked my jaw up from the floor, I realized I still have a recently-
created group of these contacts, but the "newsletter" category is
missing from each one individually. Is there any automated way to
reassign "Newsletter" category to them without going through 700
contacts and doing it by hand?

Why oh why did have to choose THAT one to vaporize?
 
D

Diane Ross

I had some issues with a damaged database yesterday and tried to
rebuild. Everything seems fine now, I think, but I did get a message
saying some data may have been lost. Just now I found that one of the
categories I use the most has disappeared, the one that I use to pull
up all of our members who get our newsletter electronically. After I
picked my jaw up from the floor, I realized I still have a recently-
created group of these contacts, but the "newsletter" category is
missing from each one individually. Is there any automated way to
reassign "Newsletter" category to them without going through 700
contacts and doing it by hand?

Why oh why did have to choose THAT one to vaporize?

When Entourage rebuilds your database, it creates a backup copy. You can use
switch Identity and open the original database that contains the correct
info.

I would make a copy of this Identity so you can work in it and not worry
about it going belly up during the process. As long as you have a database
that will open you can salvage data.

I would be sure all of these contacts are in the Address Book and not just
the group. I would assign category to each. You should be able to sort by
None category to add these. This assumes all contacts have a category
assigned. If not, assign a category like "sort" to all Address Book entries
so when you do add the group contact it will show up as none. You can go
back and delete the "sort" category later.

You can then export as Entourage archive (.rge) for contacts in category
"newsletter". This can be imported into your new Identity that does not have
these contacts.

If you continue to have problems, please include which version of Entourage
and what version of the OS you have.

Hope this helps!
 
D

dbartosic

When Entourage rebuilds your database, it creates a backup copy. You can use
switch Identity and open the original database that contains the correct
info.

I would make a copy of this Identity so you can work in it and not worry
about it going belly up during the process. As long as you have a database
that will open you can salvage data.

I would be sure all of these contacts are in the Address Book and not just
the group. I would assign category to each. You should be able to sort by
None category to add these. This assumes all contacts have a category
assigned. If not, assign a category like "sort" to all Address Book entries
so when you do add the group contact it will show up as none. You can go
back and delete the "sort" category later.

You can then export as Entourage archive (.rge) for contacts in category
"newsletter". This can be imported into your new Identity that does not have
these contacts.

If you continue to have problems, please include which version of Entourage
and what version of the OS you have.

Hope this helps!

Thanks Diane, but I'm still a tad clueless. When I went to Switch
Identities, the dialog box that opened gave me two choices (Main
Identity and Main Identity Backed Up 10/7/2008). The Main Identity is
the list that was created when the database was "rebuilt". If I
switch to the one that says "backed up", there's only my email address
in the contacts list. Where did the original one go? And how can I
access it?
 
D

dbartosic

Thanks Diane, but I'm still a tad clueless.  When I went to Switch
Identities, the dialog box that opened gave me two choices (Main
Identity and Main Identity Backed Up 10/7/2008).  The Main Identity is
the list that was created when the database was "rebuilt".  If I
switch to the one that says "backed up", there's only my email address
in the contacts list.  Where did the original one go?  And how can I
access it?

I'm sorry, it's Entourage version 11.2.0 on a Mac G5 running 10.4.11
 
D

Diane Ross

I'm sorry, it's Entourage version 11.2.0 on a Mac G5 running 10.4.11

This is an example of why I always have users make a copy before running the
rebuild. When your have severe database problems the rebuild Entourage
performs can often lead to lost data. Do you not have any other backups?

You really do need to update Entourage. You are way behind! The current
update is 11.5.1. See this page for the link to the 11.5 combo, then the
11.5.1 updater.

<http://www.entourage.mvps.org/downloads/mactopia_dl.html>

Entourage and Time-Machine-like backup (creates chronological backup of
Identity can be used by both Tiger and Leopard allowing you to roll back to
previous dated backups. Folder action can only be used on an internal drive.

<http://blog.entourage.mvps.org/2008/01/entourage_and_time_machine.html>
 
D

dbartosic

This is an example of why I always have users make a copy before running the
rebuild. When your have severe database problems the rebuild Entourage
performs can often lead to lost data. Do you not have any other backups?

You really do need to update Entourage. You are way behind! The current
update is 11.5.1. See this page for the link to the 11.5 combo, then the
11.5.1 updater.

<http://www.entourage.mvps.org/downloads/mactopia_dl.html>

Entourage and Time-Machine-like backup (creates chronological backup of
Identity can be used by both Tiger and Leopard allowing you to roll back to
previous dated backups. Folder action can only be used on an internal drive.

<http://blog.entourage.mvps.org/2008/01/entourage_and_time_machine.html>

Thanks again Diane. I'm all updated now and won't keep putting it off
every time I'm notified. I think I've been able to fix the database
and got all the newsletter category folks back where they belong, even
though the category name is black instead of red as I'd chosen. And I
just bought an external HD and ProSoft Data Backup 3 so now my whole
system is backed up (another thing I've been putting off). Your help
has been valuable. Have a great weekend!

Dave
 
D

Diane Ross

Thanks again Diane. I'm all updated now and won't keep putting it off
every time I'm notified. I think I've been able to fix the database
and got all the newsletter category folks back where they belong, even
though the category name is black instead of red as I'd chosen. And I
just bought an external HD and ProSoft Data Backup 3 so now my whole
system is backed up (another thing I've been putting off). Your help
has been valuable. Have a great weekend!

I suggest exporting your contacts as an Entourage archive (.rge) file. This
includes the categories. It's easy to do in Entourage 2008 with the new
Automator actions for Entourage 2008. I would set a task to remind you to do
this weekly. The files are very small and this way you never loose your
contacts. Keep snapshots (older versions) You might find you deleted a
contact that your last backup did not include.

Just remember when you backup your Entourage data, Quit Entourage AND the
Microsoft Database daemon.
 
B

Barry Wainwright

I had some issues with a damaged database yesterday and tried to
rebuild. Everything seems fine now, I think, but I did get a message
saying some data may have been lost. Just now I found that one of the
categories I use the most has disappeared, the one that I use to pull
up all of our members who get our newsletter electronically. After I
picked my jaw up from the floor, I realized I still have a recently-
created group of these contacts, but the "newsletter" category is
missing from each one individually. Is there any automated way to
reassign "Newsletter" category to them without going through 700
contacts and doing it by hand?

Why oh why did have to choose THAT one to vaporize?

there wasn't, but there is now :)

this script will assign the category you choose to the members of a
group you select.

for a one-off use, you can just paste it into the window of Apple's
Script Editor and press the 'Run' button. Save it if you think oyu may
need it again.

oh, and watch out for line-wraps - some of the long lines will probably
break in the forum message and will need to be re-joined before the
scrpt will compile correctly.

post back here if you are having trouble.


-- Set Category of Group Members v1.0 (2008-10-11)
-- an applescript by Barry Wainwright <mailto:[email protected]>
-- Adds a user-selected category to the members of the selected group
-- This script released under a Creative Commons Attribution,
NonCommercial, ShareAlike 2.0 England & Wales License.
-- see <http://creativecommons.org/licenses/by-nc-sa/2.0/uk/> for full
details


tell application "Microsoft Entourage"
-- select or create a category
set chosenCategoryName to choose from list (get name of categories)
with title "Category Selection" with prompt "Select a category to be
applied to Group Members..." OK button name "Select" cancel button name
"New..." without multiple selections allowed and empty selection allowed
try
set chosenCategory to category (item 1 of chosenCategoryName)
on error
-- user pressed "New"
set catCreated to false
repeat until catCreated
set creationResult to display dialog "Name for new category..."
default answer "Enter Category Name" buttons {"Abort", "Create"} default
button 2 with title "Category Creation"
if button returned of creationResult is "Abort" then
-- user pressed abort
return
else
set catName to text returned of creationResult
try
set chosenCategory to (make new category with properties
{name:catName})
set catCreated to true
on error
-- couldn't make category
set repeatResult to button returned of (display dialog "I Couldn't
create a category of that name (one may already exist)." buttons
{"Abort", "Try Again..."} default button 2)
if repeatResult is "Abort" then return
end try
end if
end repeat
return
end try

-- Select the Group
if class of default mail account is Exchange account then
set addressBook to last address book
else
set addressBook to address book 1
end if

set theGroups to name of every group of addressBook

set groupName to first item of (choose from list theGroups with title
"Group Selection" with prompt "Select a group to operate on..." OK
button name "Select" cancel button name "Abort" without multiple
selections allowed and empty selection allowed)
set theGroup to group groupName

-- process the contacts of this group
repeat with thisGroupEntry in every group entry of theGroup
set entryAddress to address of content of thisGroupEntry
set foundContacts to find entryAddress
repeat with aContact in foundContacts
set contactCats to category of aContact
if {chosenCategory} is not in contactCats then set category of
aContact to (contactCats & {chosenCategory})
end repeat
end repeat
end tell
 
D

Diane Ross

Barry Wainwright said:
for a one-off use, you can just paste it into the window of Apple's
Script Editor and press the 'Run' button. Save it if you think oyu may
need it again.

oh, and watch out for line-wraps - some of the long lines will probably
break in the forum message and will need to be re-joined before the
scrpt will compile correctly.

You can download script here:

<http://www.entourage.mvps.org/downloads/scripts/barry/set_cat_group.zip>

<http://tinyurl.com/3m2p4d>
 
Top