idea for a backup system...

Started by Robert Booneabout 23 years ago4 messagesgeneral
Jump to latest
#1Robert Boone
robert@rlb3.com

Hello,
I'm new to the list ,but I have a question on a use of postgresql. I
need to know if this is dumb idea.

I want to use postgresql to backup a web server. I could do a lo_import
on each and every file in the document root by writing a perl script.
Then when I wanted a file I can grab it with an sql statement. Is this
even close to a good idea? Of course, other things would need to be
worked out like backing up the database to tape. I think it would be a
pretty good idea, but I have been wrong before. Thanks for the help.

Robert

#2Shridhar Daithankar
shridhar_daithankar@persistent.co.in
In reply to: Robert Boone (#1)
Re: idea for a backup system...

On 26 Jan 2003 at 21:01, Robert Boone wrote:

I want to use postgresql to backup a web server. I could do a lo_import
on each and every file in the document root by writing a perl script.
Then when I wanted a file I can grab it with an sql statement. Is this
even close to a good idea? Of course, other things would need to be
worked out like backing up the database to tape. I think it would be a
pretty good idea, but I have been wrong before. Thanks for the help.

I would say this is not the best of available solutions. If you can afford
another backup machine, rsync+tar->tape/CD-R would be a better backup solution.

Just my opinion..

Bye
Shridhar

--
patent: A method of publicizing inventions so others can copy them.

#3frbn
frbn@efbs-seafrigo.fr
In reply to: Robert Boone (#1)
Re: backup system

You should definitely look at "cvs" or at "subversion"
which would backup your site and would keep the history
off all the modifications.
(the wheel exists)

franck.

Robert Boone wrote:

Show quoted text

Hello,
I'm new to the list ,but I have a question on a use of postgresql. I
need to know if this is dumb idea.

I want to use postgresql to backup a web server. I could do a lo_import
on each and every file in the document root by writing a perl script.
Then when I wanted a file I can grab it with an sql statement. Is this
even close to a good idea? Of course, other things would need to be
worked out like backing up the database to tape. I think it would be a
pretty good idea, but I have been wrong before. Thanks for the help.

Robert

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org

#4frbn
frbn@efbs-seafrigo.fr
In reply to: Robert Boone (#1)
Re: idea for a backup system...

http://www.daemonnews.org/199903/websites.html

Robert Boone wrote:

Show quoted text

Hello,
I'm new to the list ,but I have a question on a use of postgresql. I
need to know if this is dumb idea.

I want to use postgresql to backup a web server. I could do a lo_import
on each and every file in the document root by writing a perl script.
Then when I wanted a file I can grab it with an sql statement. Is this
even close to a good idea? Of course, other things would need to be
worked out like backing up the database to tape. I think it would be a
pretty good idea, but I have been wrong before. Thanks for the help.

Robert

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org