We currently migrate to MediaWiki from our old installation, but not all content has been migrated yet. Take a look at the Wiki Team page for instructions how to help or browse through our new wiki at wiki.linux-vserver.org to find the information already migrated.
We have been talking on IRC about creating snapshots and letting users download it. I've created a small script that creates and sync snapshots. It is not well tested. Let me know if it worked with you or if you have ideas.
-- vserver_snapshot_create.sh -- cut here
echo 1>&2 Usage: $0 vserver_name size_in_megabytes
exit 0
fi
VSERVER=$1
VSERVER_SIZE=$2
SNAPSHOT_FILE=$SNAPSHOT_DIR/$1.img
then
echo "SNAPSHOT_MOUNT_DIR $SNAPSHOT_MOUNT_DIR does not exist"
exit 1
fi
if [ ! -d $SNAPSHOT_DIR ]
then
echo "SNAPSHOT_DIR $SNAPSHOT_DIR does not exist"
exit 1
fi
then
echo "Creating image file $SNAPSHOT_FILE with $VSERVER_SIZE megabytes."
dd if=/dev/zero of=$SNAPSHOT_FILE bs=1048576 count=$VSERVER_SIZE
echo "Formating Image"
mkfs.ext2 $SNAPSHOT_FILE
fi
mount -t ext2 $SNAPSHOT_FILE $SNAPSHOT_MOUNT_DIR/$1 -o loop
rsync -avz --delete $VSERVER_DIR/$1/ $SNAPSHOT_MOUNT_DIR/$1
umount $SNAPSHOT_MOUNT_DIR/$1
echo "If there were not any errors, your snapshot is probrably ready at $SNAPSHOT_FILE"
-- vserver_snapshot_create.sh -- cut here