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 (v4)
Date: Thu, 11 Jan 2018 22:09:21
Message-Id: 20180111220912.GD6628@gengoff.grandmasfridge.local
In Reply to: [gentoo-dev] News Item: GnuCash 2.7+ Breaking Change by "Aaron W. Swenson"
1 Revision number 4.
2
3 Title: GnuCash 2.7+ Breaking Change
4 Author: Aaron W. Swenson <titanofold@g.o>
5 Posted: 2018-01-11
6 Revision: 1
7 News-Item-Format: 2.0
8 Display-If-Installed: <app-office/gnucash-4
9
10 Along with changes to use modern libraries, GnuCash 2.7+ has changed the
11 schema [1] it uses for both databases and files. GnuCash will
12 automatically modify the file or database in place upon open.
13
14 Therefore, it is imperative that you back up any files or databases
15 before using GnuCash 2.7 in case you run into an issue and want or need
16 to revert back to 2.6.
17
18 Close any open session of GnuCash including remote sessions, then
19 follow the relevant backup instructions as follows:
20
21 For XML (plain files):
22 $ cp /path/to/file.gnucash /path/to/file.gnucash.bak
23
24 For MySQL:
25 $ mysqldump gnucash_db | xz > gnucash-2.6.sql.xz
26
27 For PostgreSQL:
28 $ pg_dump -U gnucash_user -Z 5 gnucash_db > gnucash-2.6.sql.gz
29
30 For SQLite:
31 $ cp /path/to/sqlite.file.gnucash /path/to/sqlite.file.gnucash.bak
32
33 [1] https://github.com/Gnucash/gnucash/releases/tag/2.7.0a

Attachments

File name MIME type
2018-01-11-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 (v4) Ulrich Mueller <ulm@g.o>