LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 05-13-2008, 02:43 PM   #1
sir-lancealot
Member
 
Registered: Aug 2007
Posts: 336

Rep: Reputation: 31
postgres daily/weekly/ automated backups


Does anyone have, or know of an automated backup type app for postgres that does the above?

I have automake http://members.lycos.co.uk/wipe_out/automysqlbackup/ and the script is perfect. You simply give it the database(s) you want, location, etc. and then stick it in cron. Each day I get a backup (dbname.day.gz) for m-f, then it sticks fri in the weekly and starts overwriting the daily's, and once a month puts the last day of the month in a monthly for permanent archiving. It works flawless! Now I have a basic 3 line pgdumpall script that simply backs up the db, but I would like all the above bells/whistles, does any postgres dba's know of anything that compares?

Thanks
 
Old 05-13-2008, 07:00 PM   #2
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,251

Rep: Reputation: 2025Reputation: 2025Reputation: 2025Reputation: 2025Reputation: 2025Reputation: 2025Reputation: 2025Reputation: 2025Reputation: 2025Reputation: 2025Reputation: 2025
Well, according to that page, it's a shell script, so all you have to do is replace the MySQL specific cmds with the Pg equivalents ones. Just don't mess with the rest ie timing etc.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automated Backups of Windoze with rsync jimbo1954 General 3 02-26-2007 02:08 PM
LXer: Do Automated Cross-Platform Network Backups The Easy Way LXer Syndicated Linux News 0 06-11-2006 08:21 PM
Automated Backups Matir Linux - Software 2 06-28-2005 08:55 AM
Any automated scripts to run DVD Backups? bweiss Linux - Newbie 3 04-28-2005 09:52 AM


All times are GMT -5. The time now is 09:16 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration