From 871225b5261e125598857ca077d98a03c184f8d9 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Wed, 10 Apr 2024 03:14:43 -0700 Subject: [PATCH] Updated Setting Up Storage (markdown) --- Setting-Up-Storage.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Setting-Up-Storage.md b/Setting-Up-Storage.md index c6c04ea..bc7bdfe 100644 --- a/Setting-Up-Storage.md +++ b/Setting-Up-Storage.md @@ -188,7 +188,11 @@ region = us-east-1 See here for full instructions: https://rclone.org/commands/rclone_mount/ ```bash -# run this long-running command to mount the remote volume containing data/archive +# transfer any existing data to the remote mount +rclone sync --fast-list --transfers 20 --progress /opt/archivebox/data/archive archivebox-s3:/data/archive + +# then run this to mount the remote volume as local FUSE filesystem +mv /opt/archivebox/data/archive /opt/archivebox/data/archive.localbackup rclone mount --allow-other --uid 911 --gid 911 \ --vfs-cache-mode=full --transfers=16 --checkers=4 \ archivebox-s3/data/archive:/opt/archivebox/data/archive