Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t3hK6-00E9eh-BL for pgsql-general@arkaria.postgresql.org; Wed, 23 Oct 2024 19:47:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1t3hK3-00CcCO-0j for pgsql-general@arkaria.postgresql.org; Wed, 23 Oct 2024 19:47:11 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t3hK1-00CcCF-O3 for pgsql-general@lists.postgresql.org; Wed, 23 Oct 2024 19:47:11 +0000 Received: from fhigh-b6-smtp.messagingengine.com ([202.12.124.157]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t3hJy-002cEu-5m for pgsql-general@postgresql.org; Wed, 23 Oct 2024 19:47:09 +0000 Received: from phl-compute-04.internal (phl-compute-04.phl.internal [10.202.2.44]) by mailfhigh.stl.internal (Postfix) with ESMTP id 62FA825400BB; Wed, 23 Oct 2024 15:47:03 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-04.internal (MEProxy); Wed, 23 Oct 2024 15:47:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1729712823; x=1729799223; bh=WA4vFNZ2ijGEbY2xwNJvy6Cn/bFQ4t3472O4XbAlGMQ=; b= tH4CmrDk3Xojx/uNdHnBGOwS1boAAnFBNBxoQn/XyjJAawlIHdu0YvkulBf3YBhQ UzkpdmF5rXFrvGB7ei4dHSJpGo1a13EIkQaXKKuGWDux5SxZqUW00WJdx2hO5NtD svBg292hX06GCfL6Ejaa3fj/KYa49GJayxAX1Gi4Wxj6BybYcsmi4QWZDcdEI2mW rZDJoyrvKTC7YVjrLpG0CQtgkmi/wu4BoTI9MWYNLhnKPT+xB7WxVSIuTbj2avxh w9zPrkzYJc4TGvVXvFQKhvYiL3t+2/q4PECh5bs0hixmjY7Mz6F1FZ6vyvQibTrF ZYtfejih8KRn9z/KgIPe0w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1729712823; x= 1729799223; bh=WA4vFNZ2ijGEbY2xwNJvy6Cn/bFQ4t3472O4XbAlGMQ=; b=b u/iuWn9ggAS6cBMO+n+pDhbBOteA5zyky3brxtTFW6fp9xx1/vXgo7sfMni4Ko+H hI8kccFF05qFXSKdR1q56/KtL5GZLPwl8vPQ064VN6ZsMecr9owsYIQ579iAfrtC WxW8ue7u/56Uj3Bi0xq4GblscYZQyi+BuO6cQVUiq5sm4YNiJXYhfWvjhAXMCWeh uRn+gvRnuEi60146chWxHPXRbPgVLykoYyNgiMKLQjORUCjQIytJ8L+zQPzDBh1y cVr0nzfSDYTBQNWtaSwehus3lUu4UqC2i2tDOqn5Z32HaGzs51aH7lVNjTPXkNlk 5zWVXEXq3+Kw8//zn85qg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdeijedgudegtdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpefkffggfgfuvfevfhfhjggtgfesthekredttddv jeenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvg hrsegrkhhlrghvvghrrdgtohhmqeenucggtffrrghtthgvrhhnpeefgeefieeutdfggfet gefgheekjeehteeileeigfetieekjedvieeviefgheevtdenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegr khhlrghvvghrrdgtohhmpdhnsggprhgtphhtthhopedvpdhmohguvgepshhmthhpohhuth dprhgtphhtthhopehhrghrthhmrghniedthhhomhgvsehgmhgrihhlrdgtohhmpdhrtghp thhtohepphhgshhqlhdqghgvnhgvrhgrlhesphhoshhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 23 Oct 2024 15:47:02 -0400 (EDT) Message-ID: Date: Wed, 23 Oct 2024 12:47:01 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Backup To: Andy Hartman Cc: pgsql-general References: <1be444fc-e613-4489-aa19-b02ca16d4e30@aklaver.com> <17c9eeb9-f8a9-4ab3-b177-0c11dd345b6e@aklaver.com> <2895baa9-abe7-4ff9-a7d5-03d3ae500df2@aklaver.com> Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 10/23/24 10:43, Andy Hartman wrote: > I'm using the DB as a History repository... I'm pulling info from a > Mssql db using a P/S script to a csv file then Import that to Postgres I > only keep 6 months live on the mssql db and roll everything else to > Postgres Arch DB. > >   After I load this latest month to Postgres I just need to backup, or > should I just retain my .csv files as a Backup... I have 2 tables that I > load to Hist and one table holds the images... Your choice, though the factors I would consider would be: 1) The process you use to load the CSV files into Postgres and whether that is faster then loading the data from the dump file? 2) Loading from the CSV files directly would be month by month steps versus loading from the dump file which would be cumulative to the last backup. Also, what format are the image files in and are they part of the CSV files or separate? > > THanks . > -- Adrian Klaver adrian.klaver@aklaver.com