| Version 1 (modified by , 21 years ago) ( diff ) |
|---|
backups for jupiter
backups for jupiter are done via regular rsync to an LVM volume on removable media.
preparing the removable media
in inserted an external iomega USB disk, and it showed up as /dev/sdd. I prepared it (as root) with the following:
pvcreate /dev/sdd
vgcreate vgbackup0_jupiter /dev/sdd
lvcreate --name backup0 vgbackup0_jupiter
MAXEXTENTS=$(vgdisplay vgbackup0_jupiter | grep '^ Total PE' | awk '{print $3}')
lvcreate --name backup0 --size $MAXEXTENTS vgbackup0_jupiter
if this needs to become bigger, you can just insert another disk, pvcreate it, add it to the volume group, and extend the backup0 volume.
since we should be rotating media, i expect that each volume group/logical volume will have an incrementing integer ID. e.g., the next one should be vgbackup1_jupiter/backup1
Note:
See TracWiki
for help on using the wiki.
