Adam Chlipala <[EMAIL PROTECTED]> writes:

> Adam Chlipala wrote:
>> I think it probably makes sense now to create an archive of all
>> non-restorable disk contents (e.g., /home, parts of /etc and /var)
>> and have an admin download it.
>
> Actually, it's probably better to transfer that data to Abulafia,
> whose failures should have low correlation with fyodor, while still
> having its own RAID.  But I'm still looking for advice on all of the
> details of this transfer, still including what to back up.

The following probably need to be backed up:

/boot
/etc
/home
/root
/usr/local

A fyodor admin should double-check the list.

A simple tar invocation like the following ought to be sufficient to
accomplish this, assuming you've put a newline-delimited list of paths
into /root/backuplist.  Since the data is piped through gzip rather
than saved and then compressed, it ought to fit.

mkdir /home/tmp ; cd / ; \
tar -czf /home/tmp/backup.tar.gz --files-from /root/backuplist \
    --exclude=/home/tmp

This will create /home/backup.tar.gz, which can then be transferred to
Abulafia.

It also might be a good idea to make a backup of the list of packages
that we have installed, and keep around a script which is capable of
restoring that list.  I've attached two scripts which save and restore
said list that I made and tested at work.

A simple example:

get packages:
debian-packages-get > /root/debian-packages

restore packages:
debian-packages-install /root/debian-packages

Attachment: pgpn70jBZHUfd.pgp
Description: PGP signature

Attachment: debian-packages-get
Description: Binary data

Attachment: debian-packages-install
Description: Binary data

-- 
Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/
Interests: Lisp, text markup, protocols -- Jabber: mwolson_at_hcoop.net
  /` |\ | | | Projects: Emacs, Muse, ERC, EMMS, Planner, ErBot, DVC
 |_] | \| |_| Reclaim your digital rights by eliminating DRM.
      See http://www.defectivebydesign.org/what_is_drm for details.
_______________________________________________
HCoop-SysAdmin mailing list
[email protected]
http://hcoop.net/cgi-bin/mailman/listinfo/hcoop-sysadmin

Reply via email to