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 1t3lGW-00EUTH-Hh for pgsql-general@arkaria.postgresql.org; Wed, 23 Oct 2024 23:59:48 +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 1t3lGT-00Em92-W1 for pgsql-general@arkaria.postgresql.org; Wed, 23 Oct 2024 23:59:46 +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 1t3lGT-00Em4H-Gk for pgsql-general@lists.postgresql.org; Wed, 23 Oct 2024 23:59:45 +0000 Received: from mail-yb1-xb2a.google.com ([2607:f8b0:4864:20::b2a]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1t3lGN-002dxe-M1 for pgsql-general@postgresql.org; Wed, 23 Oct 2024 23:59:45 +0000 Received: by mail-yb1-xb2a.google.com with SMTP id 3f1490d57ef6-e28e4451e0bso403858276.0 for ; Wed, 23 Oct 2024 16:59:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729727978; x=1730332778; darn=postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=wPokVDnvW1WeEOwHPgb7XcxXitsmTnRJ2cEjR5MRMYo=; b=FJYDgPG9ogGyE02RS7MfgjgkcqC+l60e9XreP13TvFyiZ9KK+LbV81EXn90E+SvhX/ jMkfpI0ipdTAKGf/aOpRGYngw59hCfbZQw6AniH2lPxmoOxgb5RQjvkSUNf24KNPftxM rQqKDqdjO6+WhCVJ4MugKcqxS6Ph69uDPL/L0aIHLYV5n69r8X7IPGQSzLVkerLNmqUZ 1CBN178ZVdw4A1a2pJFYYpm/a1qqN42t5jVAfwTbehGUzCo82FSP+Hz+fARhRrP3MQo8 abtoGzy2Tv5Q06goA53yAdYVWuHSA8W16h3Kn9m6Yy9koHr69FEVwi5jBhGG5Ih1Yvf6 PvLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729727978; x=1730332778; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=wPokVDnvW1WeEOwHPgb7XcxXitsmTnRJ2cEjR5MRMYo=; b=OiLIc2Enx3RTi8vOgvvictHnD537pV2TZKUtBimomWafPfr1PrjG8zPFQqZXG4umU2 kbzhXbCSAYqEPYN74+8I5t5rhuzHS7DQnVhzWEi8fyi+3cO/egVKqgT/jcBPRt3CtG50 ftp1ZZM6J8Pd1ThVsI8L0l7BZ3X7K6w9axIcYFArIzjlGCITqmvMqNGeLp9PIUpzdHVZ OKFt/Be5W57yDgZWnIlq9H2co1q5s+mfF1+6CZMxNPjqeSoadTA+Eb81BHiGdFtKFuUI w2P1ow2d7KnuokxKjlCNW/XWv3HrZz3LZFAQTfgRSPeeDTAntl0B70YBl5DZObWvJtvp wpyg== X-Gm-Message-State: AOJu0YwNmIiTBXUxKLPkpHQ5EAgQ0q7SGcm0vConnGZiDgir8oXSiujF C9GDgECAQu5AmlvxIYXZGuVXdRibtJxhmR777DC2xEfFh6OPT/VIP5gKCZdkfw9xPkjvHnSw8jI 2clq8oWYb5Bhme6B1jvz0vzBDESk= X-Google-Smtp-Source: AGHT+IH6odaJHNJK6XqrjghFjVwef9RXLlHF5/nzq1313ssxP08fZa8XATBvF1lhTYZ/iwTQnczf3xJyu89fmKWoOp4= X-Received: by 2002:a05:6902:2843:b0:e29:2339:ebf5 with SMTP id 3f1490d57ef6-e2f230422bdmr95435276.32.1729727977936; Wed, 23 Oct 2024 16:59:37 -0700 (PDT) MIME-Version: 1.0 References: <1be444fc-e613-4489-aa19-b02ca16d4e30@aklaver.com> <17c9eeb9-f8a9-4ab3-b177-0c11dd345b6e@aklaver.com> <2895baa9-abe7-4ff9-a7d5-03d3ae500df2@aklaver.com> In-Reply-To: From: Andy Hartman Date: Wed, 23 Oct 2024 19:59:26 -0400 Message-ID: Subject: Re: Backup To: Adrian Klaver Cc: pgsql-general Content-Type: multipart/alternative; boundary="000000000000aee61e06252dad3d" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000aee61e06252dad3d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable The images are part of the csv file... On Wed, Oct 23, 2024 at 3:47=E2=80=AFPM Adrian Klaver wrote: > 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 > > --000000000000aee61e06252dad3d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The images are part of the csv file...

On Wed, Oct 23, 2024= at 3:47=E2=80=AFPM Adrian Klaver <adrian.klaver@aklaver.com> wrote:
On 10/23/24 10:43, Andy Hartman wrote:
> I'm using the DB as a History repository... I'm pulling info f= rom 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.
>
>=C2=A0 =C2=A0 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.klave= r@aklaver.com

--000000000000aee61e06252dad3d--