| 1 |
1.0.5 important note upgrade information |
| 2 |
======================================== |
| 3 |
|
| 4 |
If you are upgrading from previous versions of note, you |
| 5 |
will need to create a new config file, since the format of |
| 6 |
that file has completely changed! |
| 7 |
|
| 8 |
Take a look at the sample in config/noterc for details. |
| 9 |
|
| 10 |
note will NOT work with an existing database and an old config. |
| 11 |
You have to create a new config based on your old settings. |
| 12 |
|
| 13 |
|
| 14 |
Please don't forget to make a backup of your database before |
| 15 |
upgrading! I am not responsible for data loss! |
| 16 |
|
| 17 |
I told ya... |
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
Thomas Linden <[email protected]> |
| 24 |
READ THIS FILE, IF YOU ARE UPGRADING FROM 0.9 TO 1.0.x |
| 25 |
====================================================== |
| 26 |
|
| 27 |
|
| 28 |
In any case: BACKUP your existing note database!!!!!!! |
| 29 |
The format has not changed, but some default values |
| 30 |
(see the new config file-sample). Use this command |
| 31 |
to save your note database with your *old* version |
| 32 |
of note: |
| 33 |
"note -D" |
| 34 |
This works with both the mysql and the binary version. |
| 35 |
|
| 36 |
You need to reedit your configfile. Please refer to the |
| 37 |
sample config in config/noterc. |
| 38 |
|
| 39 |
====================================================== |
| 40 |
|
| 41 |
This version of note has now encryption support build in. |
| 42 |
If you decide to use it, you need to re-initialize your |
| 43 |
note database. That's why, because your current database |
| 44 |
is unencrypted and *if* you want to secure your data, you |
| 45 |
need to secure everything. That means, your existing data |
| 46 |
must be encrypted before you can use this new capability! |
| 47 |
|
| 48 |
Follow this steps: |
| 49 |
o backup existing db: |
| 50 |
$ note -D |
| 51 |
o backup the db: |
| 52 |
$ cp .notedb .notedb.save |
| 53 |
or (for mysql users!): |
| 54 |
$ cp -r /usr/local/mysql/data/notedb ~/notedb.mysql.save |
| 55 |
o go into note and delete all existing notes: |
| 56 |
$ note -d 1-20 (or however) |
| 57 |
o now upgrade your note installation: |
| 58 |
$ perl Makefile.PL; make install |
| 59 |
o re-configure note. Turn $USE_CRYPT on by setting it |
| 60 |
to "YES". |
| 61 |
o re-initialize your database: |
| 62 |
$ note -I note.dump.2323 (or whatever) |
| 63 |
note will prompt you for a passphrase. It will be used |
| 64 |
by Crypt::CBC for encrypting your data. |
| 65 |
From now on, your data is encrypted. You will need the passphrase |
| 66 |
you set above for decrypting it! So - don't forget it! |
| 67 |
|
| 68 |
====================================================== |
| 69 |
|
| 70 |
AGAIN: YOU HAVE BEEN WARNED! DO NOT UPGRADE WITHOUT MADE A |
| 71 |
BACKUP OF YOUR DATABASE! I AM NOT RESPONSIBLE IF YOU |
| 72 |
LOOSE DATA! |
| 73 |
|