Return-Path: X-Original-To: apmail-db-derby-user-archive@www.apache.org Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F1F07D340 for ; Tue, 31 Jul 2012 20:49:59 +0000 (UTC) Received: (qmail 19798 invoked by uid 500); 31 Jul 2012 20:49:59 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 19778 invoked by uid 500); 31 Jul 2012 20:49:59 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 19770 invoked by uid 99); 31 Jul 2012 20:49:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jul 2012 20:49:59 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=FSL_RCVD_USER,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [93.17.128.81] (HELO smtp24.services.sfr.fr) (93.17.128.81) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jul 2012 20:49:50 +0000 Received: from filter.sfr.fr (localhost [127.0.0.1]) by msfrf2402.sfr.fr (SMTP Server) with ESMTP id A9E467000331 for ; Tue, 31 Jul 2012 22:49:28 +0200 (CEST) Received: from [192.168.1.47] (16.187.112.78.rev.sfr.net [78.112.187.16]) by msfrf2402.sfr.fr (SMTP Server) with ESMTP id 7E37C700004F for ; Tue, 31 Jul 2012 22:49:28 +0200 (CEST) X-SFR-UUID: 20120731204928517.7E37C700004F@msfrf2402.sfr.fr Message-ID: <501844D4.6020708@yahoo.fr> Date: Tue, 31 Jul 2012 22:49:24 +0200 From: Mo Maison User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.5) Gecko/20120624 Icedove/10.0.5 MIME-Version: 1.0 To: derby-user@db.apache.org Subject: Stopping network server & cold backup Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hello Derby users, I encounter sometimes a problem during cold backups : Derby is launched as a server (listening localhost only ) ; I stop the network server with standard command : java -cp ... \ org.apache.derby.drda.NetworkServerControl shutdown \ -h localhost -p 1527 Right after command has returned, I perform a tar of the database files. However, I have observed that, on a slow filesystem, somes files get deleted while tar is reading them. Which let me think that server is not fully stopped when process returns (and thus backup may be corrupted). Is that expected ? How can I be sure that everything is quiescent before performing the cold backup ? I use Derby 10.6.2 on 32 bits Linux. Thank you for your advices, M. Maison