backups

BACKUPS

OFF-SITE BACKUPS

disk/mkfs(8) can help prepare off-site backups. Before doing so, make sure to unmount /mnt/term if you are connected via drawterm, to avoid backing up your local disk:

; unmount /mnt/term

; disk/mkfs -avpU -s /root /sys/lib/sysconfig/proto/allproto > /tmp/bkup

-a writes the archive to standard output -v displays filenames, to show progress -p sets file permissions -U sets GID and UID of files

The archive can also be compressed:

; disk/mkfs -avpU -s /root /sys/lib/sysconfig/proto/allproto | bzip -1 > /tmp/bkup.bz2

See gzip(1) for gzip and bzip compression options.

It's recommended to first backup to a local disk, then using fcp(1) to copy the archive to remote storage. This can be combined with cpu(1)

CWFS

See copyworm in fsconfig(8).

To automate backups, one might consider mirroring the WORM to a remote disk (but test, the latency may be unacceptable)


Last modified Thu Feb 26 18:25:26 PST 2026 [ Top | Edit | History | Changelog | Create a new page ] About the server | Powered by Plan 9