From 42c2276ec95cc45d6e93b6edd7195ff0043020fb Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sun, 30 Aug 2020 15:21:33 -0700 Subject: [PATCH] Created UrBackup with SeaweedFS FUSE (markdown) --- UrBackup-with-SeaweedFS-FUSE.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 UrBackup-with-SeaweedFS-FUSE.md diff --git a/UrBackup-with-SeaweedFS-FUSE.md b/UrBackup-with-SeaweedFS-FUSE.md new file mode 100644 index 0000000..7fdf7ea --- /dev/null +++ b/UrBackup-with-SeaweedFS-FUSE.md @@ -0,0 +1,27 @@ +## Start SeaweedFS cluster and mount to a local directory + +First, start SeaweedFS master, volume server, and filer. Or just run `weed server -dir= -filer` + +Second, start SeaweedFS FUSE mount, `weed mount -dir= -filer=` + +## Prepare Folders + +``` +$ mkdir /urbackup +$ mkdir /urdatabase +``` +## Start the UrBackup service + +Here is an example of using docker to run the UrBackup server. + +``` +$ docker run -it \ +--name urbackup \ +-v /Users/chris/tmp/mm/urbackup:/backups \ +-v /Users/chris/tmp/mm/urdatabase:/var/urbackup \ +-p 55413-55415:55413-55415 \ +-p 35623:35623/udp \ +uroni/urbackup-server:latest +``` + +Now you can visit http://localhost:55414/ to continue the configuration.