discuss: Thread: Linux Network Backup Mini-HOWTO Needed?


[<<] [<] Page 1 of 1 [>] [>>]
Subject: Linux Network Backup Mini-HOWTO Needed?
From: Salvador Peralta ####@####.####
Date: 10 Sep 2003 19:36:50 -0000
Message-Id: <3F5F7D50.5080608@willamette.edu>

Hi Folks,

I was going through the Linux Howto documentation on system backup and 
recovery and noticed that the only Howto which relates to backup is for 
taped backups. 

I have a document in Linuxdoc format that I have been using for simple 
backup and recovery routines here in-house.  It deals with system to 
system backup and archiving of Mysql data and user files using cron, 
rdist and various compression and archival methods.

Does anyone else see a need to add this type of document to the 
collection?  If so

-- 
Salvador Peralta
Systems Administrator
Mark O. Hatfield Library
http://www.willamette.edu/~speralta




Subject: Re: Linux Network Backup Mini-HOWTO Needed?
From: Machtelt Garrels ####@####.####
Date: 11 Sep 2003 05:00:14 -0000
Message-Id: <Pine.LNX.4.44.0309102359340.9489-100000@server1.us.soti.org>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Wed, 10 Sep 2003, Salvador Peralta wrote:

> Hi Folks,
> 
> I was going through the Linux Howto documentation on system backup and 
> recovery and noticed that the only Howto which relates to backup is for 
> taped backups. 
> 
> I have a document in Linuxdoc format that I have been using for simple 
> backup and recovery routines here in-house.  It deals with system to 
> system backup and archiving of Mysql data and user files using cron, 
> rdist and various compression and archival methods.

Can you send it in, so as we can have a look at it?  Or is it somewhere 
on-line?

Tille.

- -- 

My Penguin, my freedom.		http://tille.soti.org

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/YAFbsIIUbMXbBA8RApCDAJ4go4DEBNEqH0hb1ZuuBJNYNX9EGgCfbxxr
e4XSV7P5t7mFZzC6asa8kkM=
=M/DD
-----END PGP SIGNATURE-----

Subject: Re: Linux Network Backup Mini-HOWTO Needed?
From: David Lawyer ####@####.####
Date: 11 Sep 2003 05:21:35 -0000
Message-Id: <20030911051921.GA480@lafn.org>

On Wed, Sep 10, 2003 at 12:36:48PM -0700, Salvador Peralta wrote:
> Hi Folks,
> 
> I was going through the Linux Howto documentation on system backup and 
> recovery and noticed that the only Howto which relates to backup is for 
> taped backups. 
> 
> I have a document in Linuxdoc format that I have been using for simple 
> backup and recovery routines here in-house.  It deals with system to 
> system backup and archiving of Mysql data and user files using cron, 
> rdist and various compression and archival methods.

There are a number of other programs for backup to hard-disk: cpbk,
rsync, and unison.  Another way to backup is to store backups on ones
website using say sitecopy.  I use both sitecopy and cpbk.  Both run
automatically by anacron and backup the most important files to my
website and other stuff to another hard-drive.

> Does anyone else see a need to add this type of document to the 
> collection?  If so

I would like to see a comparison of the various ways to do hard-disk
backups, both on the same machine and remotely, including over the
Internet.  Just covering rdist is better than no HOWTO at all on the
topic but I think that at least some mention should be made of the other
alternatives.

There's still another point to cover and that's recovery after a hard-
drive crash.  If one has another bootable harddrive with the backups on
it, then one can just plug in the backup drive and recovery is complete
(except for getting another backup drive).

			David Lawyer
Subject: Re: Linux Network Backup Mini-HOWTO Needed?
From: Charles Curley ####@####.####
Date: 11 Sep 2003 14:01:20 -0000
Message-Id: <20030911140056.GI1829@charlescurley.com>

On Wed, Sep 10, 2003 at 12:36:48PM -0700, Salvador Peralta wrote:
> Hi Folks,
> 
> I was going through the Linux Howto documentation on system backup and 
> recovery and noticed that the only Howto which relates to backup is for 
> taped backups. 

There are four documents listed at
http://www.tldp.org/HOWTO/HOWTO-INDEX/admin.html#ADMBACKUP. I haven't
looked at the three I didn't write. A general backup HOWTO might be
useful. Particularly one that deals with levels of backups, general
strategies, etc.

You may find the Linux Complete Backup and Recovery HOWTO useful as
well, as it discusses backups over the network using tar, including
tar over
SSH.
(http://www.tldp.org/HOWTO/Linux-Complete-Backup-and-Recovery-HOWTO/index.html)

You may also find the resources in that HOWTO useful, particularly
W. Curtis Preston's excellent "Unix Backup &
Recovery". http://www.tldp.org/HOWTO/Linux-Complete-Backup-and-Recovery-HOWTO/resources.html

> 
> I have a document in Linuxdoc format that I have been using for simple 
> backup and recovery routines here in-house.  It deals with system to 
> system backup and archiving of Mysql data and user files using cron, 
> rdist and various compression and archival methods.
> 
> Does anyone else see a need to add this type of document to the 
> collection?  If so

It sounds useful. Is it on-line where I can read it?


-- 

Charles Curley                  /"\    ASCII Ribbon Campaign
Looking for fine software       \ /    Respect for open standards
and/or writing?                  X     No HTML/RTF in email
http://www.charlescurley.com    / \    No M$ Word docs in email

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB

--> -->
 
 
<type 'exceptions.IOError'>
Python 2.5.2: /usr/bin/python
Wed Jul 3 17:42:31 2024

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /opt/ezmlm-browse-0.20/<string> in ()
 /opt/ezmlm-browse-0.20/main.py in main()
  424 
  425         if path is not None:
  426                 main_path(path)
  427         else:
  428                 main_form()
global main_form = <function main_form at 0x9f6dc6c>
 /opt/ezmlm-browse-0.20/main.py in main_form()
  378         except ImportError:
  379                 die(ctxt, "Invalid command")
  380         module.do(ctxt)
  381 
  382 def main():
module = <module 'commands.showthread' from '/opt/ezmlm-browse-0.20/commands/showthread.pyc'>, module.do = <function do at 0x9f758b4>, global ctxt = {'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}
 /opt/ezmlm-browse-0.20/commands/showthread.py in do(ctxt={'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'})
    9         ctxt.update(ezmlm.thread(ctxt[THREADID]))
   10         header(ctxt, 'Thread: ' + ctxt[SUBJECT], 'showthread')
   11         do_list(ctxt, 'msgs', ctxt[MSGSPERPAGE], ctxt[MESSAGES],
   12                         lambda:sub_showmsg(ctxt, ctxt[MSGNUM]))
   13         footer(ctxt)
global sub_showmsg = <function sub_showmsg at 0x9f6d1ec>, ctxt = {'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, global MSGNUM = 'msgnum'
 /opt/ezmlm-browse-0.20/globalfns.py in do_list(ctxt={'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, name='msgs', perpage=10, values=[{'author': u'Salvador Peralta', 'authorid': 'iodjaldppaomdmbbpppn', 'date': '10 Sep 2003 19:36:50 -0000', 'month': 200309, 'msgnum': 4988, 'subject': u'Linux Network Backup Mini-HOWTO Needed?', 'threadid': 'caelkcldohehhfmimjnd', 'timestamp': 1063222610.0}, {'author': u'Machtelt Garrels', 'authorid': 'ceejnklaecengajdijnf', 'date': '11 Sep 2003 05:00:14 -0000', 'month': 200309, 'msgnum': 4989, 'subject': u'Re: Linux Network Backup Mini-HOWTO Needed?', 'threadid': 'caelkcldohehhfmimjnd', 'timestamp': 1063256414.0}, {'author': u'David Lawyer', 'authorid': 'claiepedajakajhoajgg', 'date': '11 Sep 2003 05:21:35 -0000', 'month': 200309, 'msgnum': 4990, 'subject': u'Re: Linux Network Backup Mini-HOWTO Needed?', 'threadid': 'caelkcldohehhfmimjnd', 'timestamp': 1063257695.0}, {'author': u'Charles Curley', 'authorid': 'fbacfjfdkmpbdhgmbbhp', 'date': '11 Sep 2003 14:01:20 -0000', 'month': 200309, 'msgnum': 4998, 'subject': u'Re: Linux Network Backup Mini-HOWTO Needed?', 'threadid': 'caelkcldohehhfmimjnd', 'timestamp': 1063288880.0}], peritem=<function <lambda> at 0x9f75a3c>)
  128                 write(template % ctxt)
  129                 if peritem:
  130                         peritem()
  131                 ctxt[ROW] += 1
  132 
peritem = <function <lambda> at 0x9f75a3c>
 /opt/ezmlm-browse-0.20/commands/showthread.py in ()
    9         ctxt.update(ezmlm.thread(ctxt[THREADID]))
   10         header(ctxt, 'Thread: ' + ctxt[SUBJECT], 'showthread')
   11         do_list(ctxt, 'msgs', ctxt[MSGSPERPAGE], ctxt[MESSAGES],
   12                         lambda:sub_showmsg(ctxt, ctxt[MSGNUM]))
   13         footer(ctxt)
global sub_showmsg = <function sub_showmsg at 0x9f6d1ec>, ctxt = {'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, global MSGNUM = 'msgnum'
 /opt/ezmlm-browse-0.20/globalfns.py in sub_showmsg(ctxt={'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, msgnum=4998)
  229         format_timestamp(ctxt, ctxt)
  230         write(html('msg-header') % ctxt)
  231         rec_showpart(ctxt, msg, 0)
  232         write(html('msg-footer') % ctxt)
  233         ctxt.pop()
global rec_showpart = <function rec_showpart at 0x9f6d1b4>, ctxt = {'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, msg = <email.message.Message instance at 0x9fd03ec>
 /opt/ezmlm-browse-0.20/globalfns.py in rec_showpart(ctxt={'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, part=<email.message.Message instance at 0x9fd03ec>, partnum=1)
  205                 else:
  206                         for p in part.get_payload():
  207                                 partnum = rec_showpart(ctxt, p, partnum+1)
  208         else:
  209                 write(html('msg-sep') % ctxt)
partnum = 1, global rec_showpart = <function rec_showpart at 0x9f6d1b4>, ctxt = {'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, p = <email.message.Message instance at 0x9fd048c>
 /opt/ezmlm-browse-0.20/globalfns.py in rec_showpart(ctxt={'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, part=<email.message.Message instance at 0x9fd048c>, partnum=2)
  208         else:
  209                 write(html('msg-sep') % ctxt)
  210                 sub_showpart(ctxt, part)
  211         return partnum
  212 
global sub_showpart = <function sub_showpart at 0x9f6d144>, ctxt = {'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, part = <email.message.Message instance at 0x9fd048c>
 /opt/ezmlm-browse-0.20/globalfns.py in sub_showpart(ctxt={'HTTP_X_FORWARDED_SERVER': 'glitch', 'HTTP_REFE...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, part=<email.message.Message instance at 0x9fd048c>)
  164         type = ctxt[TYPE] = part.get_content_type()
  165         ctxt[FILENAME] = part.get_filename()
  166         template = html('msg-' + type.replace('/', '-'))
  167         if not template:
  168                 template = html('msg-' + type[:type.find('/')])
global template = <function template at 0x9f65e9c>, global html = <function html at 0x9f65ed4>, type = 'application/pgp-signature', type.replace = <built-in method replace of str object at 0x9fcede8>
 /opt/ezmlm-browse-0.20/globalfns.py in html(name='msg-application-pgp-signature')
   40 
   41 def html(name):
   42         return template(name + '.html')
   43 
   44 def xml(name):
global template = <function template at 0x9f65e9c>, name = 'msg-application-pgp-signature'
 /opt/ezmlm-browse-0.20/globalfns.py in template(filename='msg-application-pgp-signature.html')
   31         except IOError:
   32                 if not _template_zipfile:
   33                         _template_zipfile = zipfile.ZipFile(sys.argv[0])
   34                 try:
   35                         f = _template_zipfile.open(n).read()
global _template_zipfile = None, global zipfile = <module 'zipfile' from '/usr/lib/python2.5/zipfile.pyc'>, zipfile.ZipFile = <class zipfile.ZipFile at 0x9efea7c>, global sys = <module 'sys' (built-in)>, sys.argv = ['-c', '/opt/ezmlm-browse-0.20']
 /usr/lib/python2.5/zipfile.py in __init__(self=<zipfile.ZipFile instance at 0x9fc9f2c>, file='-c', mode='r', compression=0, allowZip64=False)
  337             self.filename = file
  338             modeDict = {'r' : 'rb', 'w': 'wb', 'a' : 'r+b'}
  339             self.fp = open(file, modeDict[mode])
  340         else:
  341             self._filePassed = 1
self = <zipfile.ZipFile instance at 0x9fc9f2c>, self.fp = None, builtin open = <built-in function open>, file = '-c', modeDict = {'a': 'r+b', 'r': 'rb', 'w': 'wb'}, mode = 'r'

<type 'exceptions.IOError'>: [Errno 2] No such file or directory: '-c'
      args = (2, 'No such file or directory')
      errno = 2
      filename = '-c'
      message = ''
      strerror = 'No such file or directory'