Gentoo Archives: gentoo-dev

From: "Aaron W. Swenson" <titanofold@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] News Item: GnuCash 2.7+ Breaking Change
Date: Wed, 10 Jan 2018 22:48:41
Message-Id: 20180110224832.GH15225@martineau.grandmasfridge.local
In Reply to: [gentoo-dev] News Item: GnuCash 2.7+ Breaking Change by "Aaron W. Swenson"
1 Modified a bit. This should show for anyone who has GnuCash installed.
2
3 The 2.7.3 ebuild I have in my overlay does have a postinst note about
4 this as well, but I think this is important enough to tell them as soon
5 as possible and on systems that may never have had GnuCash installed but
6 will be working with files/databases that are made by GnuCash 2.6.
7
8 Title: GnuCash 2.7+ Breaking Change
9 Author: Aaron W. Swenson <titanofold@g.o>
10 Posted: 2018-01-10
11 Revision: 1
12 News-Item-Format: 2.0
13 Display-If-Installed: app-office/gnucash
14
15 Along with changes to updates to use modern libraries, GnuCash 2.7+ has
16 changed the schema [1] it uses for both databases and files. GnuCash
17 will automatically modify the file or database in place upon open.
18
19 Therefore, it is imperative that you back up any files or databases
20 before using GnuCash 2.7 in case you run into an issue and want or need
21 to revert back to 2.6.
22
23 Instructions for backing up are as follows:
24
25 For XML (plain files):
26 $ cp /path/to/file.gnucash /path/to/file.gnucash.bak
27
28 For MySQL:
29 $ mysqldump gnucash_db | mysql gnucash_db_bak
30
31 For PostgreSQL:
32 $ createdb -U dbadmin -T gnucash_db -O gnucash_user gnucash_db_bak
33
34 For SQLite:
35 $ cp /path/to/gnucash/sqlite.file.gnucash /path/to/gnucash/sqlite.file.gnucash.bak
36
37 [1] https://github.com/Gnucash/gnucash/releases/tag/2.7.0a

Attachments

File name MIME type
2018-01-08-GnuCash-Breaking-Change.en.txt text/plain
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] News Item: GnuCash 2.7+ Breaking Change Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>