Backups mkf ABSTRACT In this article we disscus methods of backing up and restoring data in Plan 9 Off-site backups To take a off-site (archived) backup, you may use disk/mkfs , for example: ; disk/mkfs -avpU -s /root /sys/lib/sysconfig/proto/allproto Flag a means writing the archive to the output, making it suitable to pass the archive to a compress utility such as bzip2. U and p means setting GID and UID of files as well as their premissions. And finally, v means show every file that is copied, it can be useful as a progress meter. To reduce archive file, we use bzip2 since it offers a better balance compression ratio than gzip or other formats: ; disk/mkfs -avpU -s /root /sys/lib/sysconfig/proto/allproto | bzip -9 > /tmp/bkup.bz2 taking backups to a local disk is usually faster than send- ing them to a remote storage ( sshfs for example), because of reduced rtt, you may copy the archive later with fcp. cwfs backups(?) Consult copyworm as described in fsconfig(8) To automate backups, one might consider mirroring the WORM to a remote disk (but test, the latency may be unacceptable) November 23, 2024