public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Francesco Riosa <vivo75@gmail.com>
To: gentoo development <gentoo-dev@lists.gentoo.org>
Subject: Re: [gentoo-dev] News Item: GnuCash 2.7+ Breaking Change (v3)
Date: Thu, 11 Jan 2018 19:02:56 +0100	[thread overview]
Message-ID: <CAD6zcDwYu6ydsYHCnB4p=rveNrvWW7CqB5D7MUf=ruZVR-q9Gg@mail.gmail.com> (raw)
In-Reply-To: <20180111162743.GA6628@gengoff.grandmasfridge.local>

[-- Attachment #1: Type: text/plain, Size: 1548 bytes --]

2018-01-11 17:27 GMT+01:00 Aaron W. Swenson <titanofold@gentoo.org>:

> This time with a version constrain that should allow this to expire at
> some point in the future.
>
> Title: GnuCash 2.7+ Breaking Change
> Author: Aaron W. Swenson <titanofold@gentoo.org>
> Posted: 2018-01-11
> Revision: 1
> News-Item-Format: 2.0
> Display-If-Installed: <app-office/gnucash-4
>
> Along with changes to use modern libraries, GnuCash 2.7+ has changed the
> schema [1] it uses for both databases and files. GnuCash will
> automatically modify the file or database in place upon open.
>
> Therefore, it is imperative that you back up any files or databases
> before using GnuCash 2.7 in case you run into an issue and want or need
> to revert back to 2.6.
>
> Instructions for backing up are as follows:
>
> For XML (plain files):
> $ cp /path/to/file.gnucash /path/to/file.gnucash.bak
>
> For MySQL:
> $ mysqldump gnucash_db | mysql gnucash_db_bak
>
> For PostgreSQL:
> $ createdb -U dbadmin -T gnucash_db -O gnucash_user gnucash_db_bak
>
> For SQLite:
> $ cp /path/to/gnucash/sqlite.file.gnucash /path/to/gnucash/sqlite.file.
> gnucash.bak
>
> [1] https://github.com/Gnucash/gnucash/releases/tag/2.7.0a
>

It could be wise to close GnuCash before backup, also the choice of
creating a copy of the database is a bit unusual, an offline backup may be
more appropriated, example for mysql:
mysqldump gnucash_db | xz > gnucash-2.6.sql.xz

It's ok to leave restore instruction out, since those are usually easy to
find and spending more time with it does not hurt

[-- Attachment #2: Type: text/html, Size: 2225 bytes --]

  reply	other threads:[~2018-01-11 18:03 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-10 18:31 [gentoo-dev] News Item: GnuCash 2.7+ Breaking Change Aaron W. Swenson
2018-01-10 18:33 ` Kristian Fiskerstrand
2018-01-10 22:45   ` Aaron W. Swenson
2018-01-10 18:35 ` Kristian Fiskerstrand
2018-01-10 19:07   ` Ciaran McCreesh
2018-01-10 21:39     ` Aaron W. Swenson
2018-01-10 19:38 ` Peter Volkov
2018-01-10 20:46   ` Mart Raudsepp
2018-01-16 14:07     ` Róbert Čerňanský
2018-01-16 14:24       ` Kristian Fiskerstrand
2018-01-16 14:45       ` Aaron W. Swenson
2018-01-16 14:58         ` Kristian Fiskerstrand
2018-01-16 20:15           ` [gentoo-dev] " Duncan
2018-01-16 21:56           ` [gentoo-dev] " Róbert Čerňanský
2018-01-16 22:19             ` M. J. Everitt
2018-01-17  7:49               ` Róbert Čerňanský
2018-01-10 21:36   ` Aaron W. Swenson
2018-01-10 22:48 ` Aaron W. Swenson
2018-01-10 22:53   ` Ciaran McCreesh
2018-01-11  1:00     ` Aaron W. Swenson
2018-01-11  9:40       ` Mart Raudsepp
2018-01-11 16:27 ` [gentoo-dev] News Item: GnuCash 2.7+ Breaking Change (v3) Aaron W. Swenson
2018-01-11 18:02   ` Francesco Riosa [this message]
2018-01-11 21:18     ` Aaron W. Swenson
2018-01-11 22:09 ` [gentoo-dev] News Item: GnuCash 2.7+ Breaking Change (v4) Aaron W. Swenson
2018-01-11 22:30   ` Ulrich Mueller
2018-01-12 10:40     ` Aaron W. Swenson
2018-01-15  3:06 ` [gentoo-dev] News Item: GnuCash 2.7+ Breaking Change Aaron W. Swenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAD6zcDwYu6ydsYHCnB4p=rveNrvWW7CqB5D7MUf=ruZVR-q9Gg@mail.gmail.com' \
    --to=vivo75@gmail.com \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox