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 1t3fOB-00Dxw3-7Z for pgsql-general@arkaria.postgresql.org; Wed, 23 Oct 2024 17:43:19 +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 1t3fO9-00Bv3s-H9 for pgsql-general@arkaria.postgresql.org; Wed, 23 Oct 2024 17:43:17 +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 1t3fO9-00Bv3j-6K for pgsql-general@lists.postgresql.org; Wed, 23 Oct 2024 17:43:17 +0000 Received: from mail-yb1-xb31.google.com ([2607:f8b0:4864:20::b31]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1t3fO7-002bNp-6l for pgsql-general@postgresql.org; Wed, 23 Oct 2024 17:43:16 +0000 Received: by mail-yb1-xb31.google.com with SMTP id 3f1490d57ef6-e2908e8d45eso62138276.2 for ; Wed, 23 Oct 2024 10:43:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729705393; x=1730310193; 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=qLuWVoOsRXwRoWuahCxAOyHL4m04DVbES9yp3i5hDRk=; b=ioXBW3px87+m34VD4M1l3wjGcOIw8ePnF/FiAWKK/TjZVh1lNCir89lep/+x5d4miN MET57XNLXKBrdLX0iahfodmRvOQQ+2lHqsrqzjZ9vwqCi2Hwd1vOpyIH1OVHNEFHJQbb 0fVAHKMP3ne0NUJFpq/Tt8Q5Pb3QSlOmeYimms0X9CwFvbVdTEDxhA2mJl0v6RZYYhvl a7T/1s8HsXkZB5GR7GX7CRp2OgMGn94VjN40aPbHjv1he4snC5CPmGYRDWvkcrvrjUoP Xzb/dd5ayWXcW6twmx1dTy3OB6BTmaYL/7qOMLj2GzQ5J/iFmgGaxqjULTY7ZbRLMHvP 1L/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729705393; x=1730310193; 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=qLuWVoOsRXwRoWuahCxAOyHL4m04DVbES9yp3i5hDRk=; b=fiIWIOLwcizZBqBFS2+W5JI+8ReVGukaCRIcQGF0RXoeFqLBwkXw1uHwxc6iaBlIe5 dnyLK+TVACqF3OekYcGGMBzuRhAqWGJO+I3P2EH4QJKuBgyLcHGmZjuXZNUXEnoY+6ix nUqQTU3GYHo6zFdRYQVOyoXwNHfFE6bfXAZIXsVucqLVsnJUQ4lv0T6HQB03nxQPz4A8 RzhUJnR9qlyXfG7wO8ZBQL4zqq3spiWPDh1T2pWLIx4hRHzNFJN/XKVCYQbHH4oFzyiR 0stpcJO2dBeSwPhdn4nbULmO/JJiGjtjjz4FQNeCSifnxC80D0Pnd4qoQGqVnwRsYMJY CYWg== X-Gm-Message-State: AOJu0YyGIzXdFm/hF7+1lVhCFdoeLJ/vni47xSCUxcQWMXm9LDuOJty/ DUNCtCpKHXs03hEkOpJcUp6itdC9a8/KLlghQjuP8gqdwVTkgp1st6gEkRK7dRIA2uHe+S/9/ET tCMQgiz56rUR/1wdhZuvLpy7pwDaxnw== X-Google-Smtp-Source: AGHT+IH60waOOUbqJadtehM5jmOG7j5TkW078IbcqPC6Ufq8jXZoBJtvAQ0hUnrbgFOsrmeFhvTBNO0pvkoEu5+4l50= X-Received: by 2002:a05:6902:1284:b0:e29:32fb:b4c with SMTP id 3f1490d57ef6-e2e3a67feb8mr3712990276.32.1729705393606; Wed, 23 Oct 2024 10:43:13 -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: <2895baa9-abe7-4ff9-a7d5-03d3ae500df2@aklaver.com> From: Andy Hartman Date: Wed, 23 Oct 2024 13:43:02 -0400 Message-ID: Subject: Re: Backup To: Adrian Klaver Cc: pgsql-general Content-Type: multipart/alternative; boundary="0000000000008d574c0625286b9b" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000008d574c0625286b9b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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... THanks . On Wed, Oct 23, 2024 at 11:50=E2=80=AFAM Adrian Klaver wrote: > On 10/23/24 07:07, Andy Hartman wrote: > > I have been testing different backup methods suggested and wonder if I > > have all my files used to load the DB .. could that be considered a > > backup... obviously need to have schema backup in case of problem, but > > that seems to be easily re-created > > > > Thoughts? > > Did you actually read the information at the links provided? > > By default pg_dump and pg_dumpall will dump both the schema definitions > as well as the data. > > Yes it is a backup of the database(s) at the point in time you initiate > the dump. If you want something different then you are probably looking > for one of the replication methods. You still have not answered: > > " You also need to provide a more detailed description of what you want > the backup to do?" > > so it is hard to say what method is best for your situation. > > > > > > -- > Adrian Klaver > adrian.klaver@aklaver.com > > --0000000000008d574c0625286b9b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I'm using the DB as a History repository... I'm pu= lling info from a Mssql db using a P/S script to a csv file then Import tha= t to Postgres I only keep 6 months live on the mssql db and roll everything= else to Postgres Arch DB.

=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 image= s...

THanks .

--0000000000008d574c0625286b9b--