Am Mittwoch, 12. September 2012, 07:22:02 schrieb Lud Antonie:
Hello,
Which filesystems needs to be dumped to backup the OBS software i.e. in which directories is OBS installed?
The backend data in /srv/obs and the mysql database content.
Thanks in advance.
Best regards, Lud
-----Original Message----- From: Claudio Freire [mailto:klaussfreire@gmail.com] Sent: Tuesday, September 11, 2012 6:00 PM To: Jan Engelhardt Cc: Lud Antonie; opensuse-buildservice@opensuse.org Subject: Re: [opensuse-buildservice] OBS backup
On Tue, Sep 11, 2012 at 12:55 PM, Jan Engelhardt <jengelh@inai.de> wrote:
We are using OBS already for some time but haven't made any backups yet. Is there a way to backup an OBS system, OBS mysql database and filesystems?
Anything wrong with rsync and mysqldump?
Well, usually you don't "rsync" online databases (mysql or svn), as that would result in inconsistencies. You have to snapshot the filesystem, which may not be that easy (depending on the filesystem).
So, for mysql it should be mysqldump, and for svn it should be "svnadmin dump".
-- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org