[H-GEN] Fixed for the VM backup procedure
Russell Stuart
russell-humbug at stuart.id.au
Wed Jun 17 07:21:45 EDT 2009
This link below contains changes to the backup system we did Saturday.
http://www.stuart.id.au/russell/files/pub/humbug-vm-backup-fix.tar.bz2
The changes are:
/etc/image-backup/image-backup.sh
* A new option, "filter" has been added. This allows files to be
munged by a filter before they are backed up.
* gpg encryption has changed. Keys are now stored in a directory,
not a key ring. In the volatile-config the directory has been
set to /etc/image-backup/gpg-keydir. Doing it this way means
the keys can be managed by the version control system.
* The encrypt-dir option has become encrypted-backup, and is now
the file name.
* Comments at the top have been updated and spell checked.
/etc/image-backup/volatile-config
* Fixed a bug which caused it to create a 1.6G image :(.
* It no longer uses "add" to replace encrypted files. Instead
it uses the new "filter" option to make every password "x".
* Add various mailman config files to the encrypted list.
* gpg-keydir is set to /etc/image-backup/gog-keydir.
/etc/image-backup/cron.sh
* This produces new backup images in the www image
directory. Also produces sha1 sums for the
resulting images.
/etc/image-backup/skel
* Not used any more. Probably should be deleted.
/var/spool/cron/crontabs/root
* Runs /etc/image-backup/cron.sh every two hours. This is
the one thing that hasn't been tested.
The size of the resulting images are:
237M base-config
308M volatile-config
I am planning to document how to use all this on the wiki. However one
point I will mention now. I think it is a good idea if we don't
publicly reveal the URL's to download the images. Any humbug member can
just ask. It is not a secret. It just isn't public.
Please let me know when you have this so I can remove it from my web
site and start testing. A copy of your gpg key would be handy.
More information about the General
mailing list